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
[Docs]: trouble with the mvn exec install webkit
command
#1542
Comments
Hm, works fine for me, which playwright version do you use? I just tried with our examples and playwright, 1.43.0:
|
I've tried 1.20 -> 1.43. None of them worked.
|
This command is different from |
Closing as part of the triage process since it seemed stale. Please create a new issue with a detailed reproducible or feature request if you still face issues. |
Page(s)
https://playwright.dev/java/docs/browsers
Description
The docs recommends to use
mvn exec:java -e -D exec.mainClass=com.microsoft.playwright.CLI -D exec.args="install webkit"
. It doesn't work for me. The console throws:error: unknown command ''install webkit''
, which from the node.js commander.After a line by line debug, I suppose the problem is: the argv
install webkit
is passed as aString -> "install webkit"
to node.js, notString[] -> ["install", "webkit"]
.And the modified command works:
mvn exec:java -e -D exec.mainClass=com.microsoft.playwright.CLI -D exec.arguments=install,webkit
.I'm on a Mac / IDEA, Java 11 / Maven 3.
I'm not sure if it's a bug. Could anyone help to figure out?
The text was updated successfully, but these errors were encountered: