<span>I am working on a windows machine and pushing my selenium scripts to bitbucket from eclipse. When bitbucket pipelines exeuctes my test scenarios, I am getting below error message: </span>
<span>error while loading shared libraries: libglib-2.0.so.0: cannot open shared object file: No such file or directory</span><span>Aug 12, 2020 10:06:32 PM org.openqa.selenium.os.OsProcess checkForError</span><span>SEVERE: org.apache.commons.exec.ExecuteException: Process exited with an error: 127 (Exit value: 127)</span>
<span>This is my chromedriver Linux path:</span>
/opt/atlassian/pipelines/agent/build/drivers/chromedriverLinux:
<span>Here chromedriverLinux is compatible with Linux OS. </span>
<span>This is my bitbucket-pipelines.yml file</span>
image: maven:3.6.1
pipelines:
default:
- step:
caches:
- mvn
services:
- selenium-standalone
script:
- chmod 777 /opt/atlassian/pipelines/agent/build/drivers/chromedriverLinux
- mvn test
definitions:
caches:
mvn: $HOME/.mvn
services:
selenium-standalone:
image: selenium/standalone-chrome:latest
Please help me how to resolve this issue...