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
It is not because xvbf hasn't been installed. For my case, I can run browser = webkit.launch(headless=False) successfully but fail in browser = webkit.launch(headless=False, env={"a": "b"}).
I just figured out the root cause. env argument will overwrite the parent's env, while xvbf use DISPLAY env var to tell process where to display. So be careful to deal with env inheritance. the following code works.
Playwright version
1.13.1
Operating system
Linux
What browsers are you seeing the problem on?
WebKit
Other information
python 3.8
ubuntu 20.04
What happened? / Describe the bug
When running the following code
Playwright report Protocol Error:
Found this bug in all three browsers. It seems that
headless=False
is incompatible withenv
argument.Code snippet to reproduce your bug
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: