[🐛 Bug]: Message KeyError 'width' while trying to get_window_size() does not provide detailed information #15503
Labels
A-needs-triaging
A Selenium member will evaluate this soon!
I-defect
Something is not working as intended
What happened?
So from the user's point of view, it is not clear on which side is the error, the webdriver itself or the remote web server.
How can we reproduce the issue?
As requested in the comment:
https://github.com/aikfiend/python-selenium-browserstack/tree/get-window-size-key-error
Please note, the code of test provided is not reproducing the issue in 100% cases, as the issue itself reproduces from time to time depending on a remote web server. You may require hundreds or more retries, as I am capturing such exceptions sometimes when running test sessions infinitely in 24x7 mode. Here are details of remote device geoip:
Relevant log output
Let the sentry speak for itself
Operating System
Any
Selenium version
4.31.0 (trunk)
What are the browser(s) and version(s) where you see this issue?
Any
What are the browser driver(s) and version(s) where you see this issue?
Any
Are you using Selenium Grid?
No response
The text was updated successfully, but these errors were encountered: