-
Notifications
You must be signed in to change notification settings - Fork 51
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
java.lang.Throwable: The driver is not executable: /var/task/lib/chromedriver #35
Comments
Hello, the package in the release isn't quite synced up to master and the latest tutorial. The instructions on https://blackboard.github.io/lambda-selenium/java-tutorial.html don't require the release, if you just run those commands it should get you up and running. |
Hi Cloning into 'lambda-selenium'... Please make sure you have the correct access rights Cloning using the URL in github seemed to go through fine but as reported in the issue I get the 'The driver is not executable' error. java.lang.RuntimeException: java.lang.Throwable: The driver is not executable: /var/task/lib/chromedriver Has anyone got this working following the java tutorial instructions on windows? |
@BanjoFromCurlwaa, this wasn't designed to ever run on windows, you can checkout my comments here regarding windows setup that worked for someone else #32 |
Hi thanks, I will move to following the instructions in Ubuntu once the IT team have created an environment for me. |
Hi, could the error: |
Hello, looks like this issue is still open, I am getting "The driver is not executable: /var/task/lib/chromedriver" exactly same as above. I have tried this from both Windows and mac...no luck. Any solution available ? Please help me, overall this framework shows promising, want to get the solution for this chromedriver issue. |
Hi! |
#19
In regards to zipping ^. Sorry, have been out of the Selenium biz, but
still can't believe nobody is integrating Lambda/Selenium in a better way.
Will try to find some time to support this more.
…On Fri, Aug 23, 2019 at 8:09 AM sashagam ***@***.***> wrote:
Hi!
Faced same issue with The driver is not executable:
/var/task/lib/chromedriver
Found the root cause in windows zip/unzip. In my case when I unzip and zip
on windows the permissions on chromedriver where empty. But if you unzip
and zip on linux permissions remained alright.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#35?email_source=notifications&email_token=AGBNECVINDZ7F4DIIIM4CC3QF7HQPA5CNFSM4FGV2KQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5AA2EI#issuecomment-524291345>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGBNECSMCBZVKJ6V4X6H3A3QF7HQPANCNFSM4FGV2KQQ>
.
|
This issue is about permissions set to chromedriver during shadowJar gradle task, I am still searching for a solution. Thanks, |
Hi, I am facing the same issue, was trying to recreate running the Selenium Tests on AWS Lambda and followed the instruction as in https://aws.amazon.com/blogs/devops/ui-testing-at-scale-with-aws-lambda/ One doubt on the above documentation is I am unable to find libgconf-2.so.4 and libORBit-2.so.0 from the AWS Linux AMI in order to place them in the java/resources/lib folder of the project. Can you let know what has changed since the article was published? @wesmcouch Getting below error |
Hi,
I cloned the project locally and I tried the below steps:
2, CD into lambda-selenium-java
gradle clean unzipLibs shadowJar
Note: I did not use gradle task deploy in the above command since it wasn't working on windows.
serverless deploy --force
java.lang.IllegalStateException: The driver is not executable: /var/task/lib/chromedriver
at com.google.common.base.Preconditions.checkState(Preconditions.java:534)
at org.openqa.selenium.remote.service.DriverService.checkExecutable(DriverService.java:140)
at org.openqa.selenium.remote.service.DriverService.findExecutable(DriverService.java:131)
at org.openqa.selenium.chrome.ChromeDriverService.access$000(ChromeDriverService.java:32)
at org.openqa.selenium.chrome.ChromeDriverService$Builder.findDefaultExecutable(ChromeDriverService.java:
Note: I downloaded the latest release(Alpha 0.13) from the project, uploaded to S3 and pointed Lambda to the uploaded release version after which I am able to successfully run the tests. Not sure what is different from the release version on github and locally building and deploying the jar files using serverless.
Thank you for your help.
The text was updated successfully, but these errors were encountered: