You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Taking a screenshot could lead to Timed out receiving message from renderer: 10.000 if there are multiple tabs open, (when not on the first tab), if using Chromium's new headless mode.
It's a very specific edge case that requires a lot of things to be in place to happen, but then the issue is consistent when all those things are in place.
Full message from the exception:
TimeoutException: Message: timeout: Timed out receiving message from renderer: 10.000
(Session info: chrome=107.0.5304.110)
The new headless mode is triggered by:
options.add_argument("--headless=chrome")
SeleniumBase has a command-line option: --headless2, which triggers the new headless mode from pytest.