MicrosoftEdge / EdgeWebDriver

Feedback and discussions about WebDriver for Microsoft Edge
MIT License
55 stars 7 forks source link

Edge 128.0.2739.42 Timeout renderer #165

Open aeiplatform opened 1 month ago

aeiplatform commented 1 month ago

After updating Edge to version 128.0.2739.42 or 128.0.2739.54 over the weekend, selenium started failing at taking screenshots.

File "selenium\webdriver\remote\webelement.py", line 347, in screenshot
  File "selenium\webdriver\remote\webelement.py", line 326, in screenshot_as_png
  File "selenium\webdriver\remote\webelement.py", line 315, in screenshot_as_base64
  File "selenium\webdriver\remote\webelement.py", line 395, in _execute
  File "selenium\webdriver\remote\webdriver.py", line 354, in execute
  File "selenium\webdriver\remote\errorhandler.py", line 229, in check_response
selenium.common.exceptions.TimeoutException: Message: timeout: Timed out receiving message from renderer: 10.000
  (Session info: MicrosoftEdge=128.0.2739.42)
Stacktrace:
    GetHandleVerifier [0x00007FF6AFAE3A12+10594]
    Microsoft::Applications::Events::ILogConfiguration::operator* [0x00007FF6AFA80439+323321]
    (No symbol) [0x00007FF6AF89F16E]
    (No symbol) [0x00007FF6AF88ACA3]
    (No symbol) [0x00007FF6AF88AA2E]
    (No symbol) [0x00007FF6AF888C84]
    (No symbol) [0x00007FF6AF8892BF]
    (No symbol) [0x00007FF6AF8ABB90]
    (No symbol) [0x00007FF6AF8E3EDB]
    (No symbol) [0x00007FF6AF907B7A]
    (No symbol) [0x00007FF6AF8DBEDD]
    (No symbol) [0x00007FF6AF8DBDAD]
    (No symbol) [0x00007FF6AF907E60]
    (No symbol) [0x00007FF6AF8DBEDD]
    (No symbol) [0x00007FF6AF921B07]
    (No symbol) [0x00007FF6AF9077E3]
    (No symbol) [0x00007FF6AF8DB3EC]
    (No symbol) [0x00007FF6AF8DA8CD]
    (No symbol) [0x00007FF6AF8DAFB1]
    Microsoft::Applications::Events::EventProperty::empty [0x00007FF6AFC6E4B4+918756]
    Microsoft::Applications::Events::EventProperty::~EventProperty [0x00007FF6AFA0C9BF+54575]
    Microsoft::Applications::Events::EventProperty::~EventProperty [0x00007FF6AF9FF557+199]
    Microsoft::Applications::Events::EventProperty::empty [0x00007FF6AFC6D23D+914029]
    Microsoft::Applications::Events::ILogConfiguration::operator* [0x00007FF6AFA87EC1+354689]
    Microsoft::Applications::Events::ILogConfiguration::operator* [0x00007FF6AFA84374+339508]
    Microsoft::Applications::Events::ILogConfiguration::operator* [0x00007FF6AFA844A9+339817]
    Microsoft::Applications::Events::ILogConfiguration::operator* [0x00007FF6AFA7AD6C+301100]
    BaseThreadInitThunk [0x00007FFF34207374+20]
    RtlUserThreadStart [0x00007FFF351FCC91+33]

Is there a way to increase that renderer timeout?

BTW this is still also problem #124

aeiplatform commented 1 month ago

Same code worked with selenium on version 127.0.2651.105.

aeiplatform commented 3 weeks ago

Fixed by adding --headless=old default --headless was causing this issue. Might be generic problem with chromium.