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

Not working on WSL 2 #67

Closed
davixcky opened this issue Dec 25, 2020 · 5 comments
Closed

Not working on WSL 2 #67

davixcky opened this issue Dec 25, 2020 · 5 comments
Labels

Comments

@davixcky
Copy link

davixcky commented Dec 25, 2020

Hi,

I'm using playwright on this project hippokampe specifically in the api module. This app is already tested in vagrant and linux pc, with positive results, but in the case of WSL 2, it's not working properly.

I debugged the project, and I can conclude that the problem it's raised right here. I don't receive an error but blocks the execution, like an infinite loop.

Thanks

@mxschmitt
Copy link
Member

Would be great if you could set the environment variable DEBUG to * and provide me the output which gets send to the stderr then. Like e.g. DEBUG=* go run main.go thanks!

@davixcky
Copy link
Author

Okay, this is the output.
image
`

hippokampe_error_pw-2020-12-26_17.55.46.mp4

`

@mxschmitt
Copy link
Member

Hi, I unfortunately have no Windows environment yet, will create one, to give you feedback until tomorrow on that. Thats for reporting.

@mxschmitt
Copy link
Member

Unfortunately WSL2 is not compatible with VirtualBox, so its hard for me to reproduce :/

Helpful things would be:

  • Could you try the latest version (go get -u github.com/mxschmitt/playwright-go) - I changed quite a bit
  • Could you try the minimal example like this one, to check if the issue is there also persistent: https://github.com/mxschmitt/playwright-go#example

Thanks and sorry for the inconvience!

@davixcky
Copy link
Author

I'm gonna close the issue because I'm changing the logic on the app side so it will not require installation over WSL, but once I make some version, I will test again to give you some feedback. Thanks for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants