question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is there a way to add timeout, when Google browser popup is closed?

See original GitHub issue

Right 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:closed
  • Created 3 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
kuzmoyevcommented, Feb 27, 2021

Thanks, updated

1reaction
kuzmoyevcommented, Nov 12, 2020

That looks perfect. Thank you! I’ll try to incorporate it into the library

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found