EdgeWebDriver
EdgeWebDriver copied to clipboard
PDF printing does not work on 128.0.2739.42 as service
PDF-printing through msedgedriver seems to have stopped working after the last update (we think). It times out:
OpenQA.Selenium.WebDriverTimeoutException: timeout: Timed out receiving message from renderer: 10.000
How to reproduce:
- Clone the minimal reproduction repo: https://github.com/rasmusrim/msedgedriver-bug-minimal-reproduction
- Build the project
- Download the most recent msedgedriver.exe file and put it into bin/Debug/net7.0
- Create a local user account (mine is called svcft)
- Add the minimal reproduction as a service:
New-Service -Name "Minimal reproduction" -BinaryPathName "D:\repos\minimal-reproduction\minimal-reproduction\bin\Debug\net7.0\minimal-reproduction.exe"
- Make the service run as the local user account you created.
- Start the service
- See error message in log.txt:
Seems to also be a problem with Chrome. Will create issue there: https://issues.chromium.org/issues/362277536
It seems as if adding no-sandbox solves the problem:
options.AddArgument("no-sandbox");