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

[Feature] Better output from failure with headless=false #1997

Closed
thernstig opened this issue Apr 27, 2020 · 2 comments
Closed

[Feature] Better output from failure with headless=false #1997

thernstig opened this issue Apr 27, 2020 · 2 comments

Comments

@thernstig
Copy link
Contributor

Let's say you ssh to a remote host and run Playwright there. Then if you run with headless=false you get this error:

    Protocol error (Target.setAutoAttach): Target closed.

It would be nice if it gives an error message that is understandable in this scenario.

@thernstig thernstig changed the title [Feature] Better output from failure with headless=false [Feature] Better output from failure with headless=false Apr 27, 2020
@hoIIer
Copy link

hoIIer commented May 5, 2020

just ran into this when doing await chromium.launch({ headless: false }) inside a docker container (goal being to be able to debug from host browser when needed e.g. docker run -p 9229:9229 )

@pavelfeldman
Copy link
Member

Ok, I think we are doing a much better job now explaining the exact errors that occurred during the launch. Please give it a try!

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