I am working on a selenium automation java maven project and I have created one pipeline in bitbucket now I want to run all the automated tests but I am getting the below error.
java.lang.IllegalStateException: The driver executable does not exist: /opt/atlassian/pipelines/agent/build/resources/files/software/WINDOWS/chromedriver.exe
Can anyone help me out on this?
Your test is referencing the "chromedriver.exe", but it is not available for the Pipeline The whole thing looks broken to me because Pipelines is running the test in Docker containers (~ Linux virtual machines), so referencing a Windows executable is not gonna work.
You should write your tests in a platform-independent way, then create a Docker image that contains Chrome Driver and use that in Pipelines.
(We are running Webdriver tests in Pipelines, and Webdriver is using the same foundation, so I can confirm that it is doable.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.