-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pop up processing sometimes fails #600
Comments
A personnel file entry procedure. |
Please ignore the syntax indentation in the problem description. The indentation is correct in the program. |
@zhonghai9967 I might have a possible idea what's causing the issue. I'm not sure what the best way to handle this is yet, but I do know a workaround: |
I used your method, and there is no longer the previous problem of being unable to close the popup window. |
I forgot to close this ticket when I released https://github.com/seleniumbase/SeleniumBase/releases/tag/v1.50.3 a few months ago. |
try:
self.wait_for_and_accept_alert()
except: pass
In most cases, it is normal, but sometimes, the pop-up window cannot be closed and the browser is stopped.
Manually click "OK" in the pop-up window, wait a few seconds, the program runs normally.
The company's intranet cannot reproduce the problem.
Using chrome.
The text was updated successfully, but these errors were encountered: