Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Chrome not started: /opt/atlassian/pipelines/agent/build/chromedriver.exe:cannot execute binary file


Project Details: Selenium+Java+Maven+TestNG

Project contains one test:

  • testLaunchBrowserAndOpenURL()


image: maven:3.6.3
         - step:
               - mvn compile
               - mvn test


While executing script locally from eclipse, it runs successfully, It opens chrome browser and then opens respective specified URL.

But while executing in bitbucket pipeline, it fails with below error(s):

/opt/atlassian/pipelines/agent/build/chromedriver.exe: /opt/atlassian/pipelines/agent/build/chromedriver.exe: cannot execute binary file

Apr 06, 2020 11:39:17 AM org.openqa.selenium.os.OsProcess checkForErrorSEVERE: org.apache.commons.exec.ExecuteException: Process exited with an error: 126 (Exit value: 126)

Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 20.619 sec <<< FAILURE! - in TestSuitelaunchBrowserAndOpenURL(packageCustomer.Customer) Time elapsed: 20.293 sec <<< FAILURE!

org.openqa.selenium.WebDriverException: Timed out waiting for driver server to start.

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

New page sharing experience, coming soon to Confluence Cloud

...eans the lock icon is going away, you’ll find all of the lock icon’s functionality in the new Share button.  More visibility into a page’s true access No more uncertainty around w...

29 views 0 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you