Skip to content

i wanna use playwright with playwright,but sth stop me #607

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

Closed
xueneymar opened this issue Apr 1, 2021 · 2 comments
Closed

i wanna use playwright with playwright,but sth stop me #607

xueneymar opened this issue Apr 1, 2021 · 2 comments

Comments

@xueneymar
Copy link

image

@mxschmitt
Copy link
Member

mxschmitt commented Apr 1, 2021

For the CI or environments without an visual interface you have two option available:

a) run tests headed/headful by using xvfb-run see here for docs: https://playwright.dev/docs/ci#running-headful
b) run tests headless without the headless=False parameter

If you run tests headed without a visual interface, this will cause that exception.

@dgozman
Copy link
Contributor

dgozman commented Apr 15, 2021

Closing in favor of upstream documentation issue.

@dgozman dgozman closed this as completed Apr 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants