Is there a way to add timeout, when Google browser popup is closed?
See original GitHub issueRight now, if you close the browser window, the script will hang, waiting for user permission.
Is there a way to add a timeout?
For example, the local server:
credentials = flow.run_local_server()
If there are no credentials returned for 1 minute, close local server, and return error.
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
How to increase the time needed before "Page(s ... - Super User
Is there a way to make the "Page(s) Unresponsive" popup show after a very long delay, for example after a page has hanged...
Read more >setTimeout not delaying self.close() in Chrome - Stack Overflow
The popup is closing with the following code but there is no delay at all. The code is included in a function that...
Read more >Block or allow pop-ups in Chrome - Computer - Google Support
On your computer, open Chrome Chrome . · Go to a page where pop-ups are blocked. · In the address bar, click Pop-up...
Read more >Popups and window methods - Modern JavaScript Eğitimi
Popups exist from really ancient times. The initial idea was to show another content without closing the main window. As of now, there...
Read more >Not able to close popup appears in web applications - Help
Try Element Exisits with below selector with a specified timeout. If exisits, pass the same selector into Click activtiy. <ctrl name='* says:' ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks, updated
That looks perfect. Thank you! I’ll try to incorporate it into the library