Skip to content
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

PDF printing does not work on 128.0.2739.42 as service #162

Open
rasmusrim opened this issue Aug 27, 2024 · 2 comments
Open

PDF printing does not work on 128.0.2739.42 as service #162

rasmusrim opened this issue Aug 27, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@rasmusrim
Copy link

rasmusrim commented Aug 27, 2024

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:

  1. Clone the minimal reproduction repo: https://github.com/rasmusrim/msedgedriver-bug-minimal-reproduction
  2. Build the project
  3. Download the most recent msedgedriver.exe file and put it into bin/Debug/net7.0
  4. Create a local user account (mine is called svcft)
  5. 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"

  1. Make the service run as the local user account you created.
  2. Start the service
  3. See error message in log.txt:
    image
@rasmusrim rasmusrim added the bug Something isn't working label Aug 27, 2024
@rasmusrim
Copy link
Author

rasmusrim commented Aug 27, 2024

Seems to also be a problem with Chrome. Will create issue there: https://issues.chromium.org/issues/362277536

@rasmusrim
Copy link
Author

It seems as if adding no-sandbox solves the problem:

options.AddArgument("no-sandbox");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant