microsoft / playwright-java

Java version of the Playwright testing and automation library
https://playwright.dev/java/
Apache License 2.0
1.07k stars 195 forks source link

Get "Failed to launch: Error: spawn ../chromium-1028/chrome-linux/chrome EACCES when try run tests in TS #1602

Closed Vanyaaa333 closed 1 week ago

Vanyaaa333 commented 2 weeks ago

Please do not submit this issue.

Vanyaaa333 commented 2 weeks ago

Good afternoon, please tell me, we are trying to run playwright tests in team city, however, due to restricted access to the network, the only possible option is to download the browser driver manually -> unzip it into the project resources and turn off browser loading. However, when I try to run tests in CI, I get the error indicated in the description, am I doing everything correctly?

Full error text: name='Error [Step 2/5] stack='Error: Failed to launch: Error: spawn ../src/test/resources/chromium-1028/chrome-linux/chrome EACCES

yury-s commented 1 week ago

Check that the file at the specified path exists and has right permissions.

This doesn't sound like a bug or feature request, please use our community resources for general questions. If you think this is a bug in Playwright, please open a new issue and follow the bug template.