You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
hello i'am trying to run pipeline which run selenium python tests:
the yaml :
- python --version
- pip3 install selenium
- pip3 install webdriver_manager
- python3.7 Tests/Test1.py
there is some issue with webdriver execution does anyone have idea please
selenium.common.exceptions.WebDriverException: Message: Service /root/.wdm/drivers/chromedriver/linux64/110.0.5481/chromedriver unexpectedly exited. Status code was: 127
Hello @nada_zitouni ,
Thank you for reaching out to Atlassian Community.
After doing a research about this particular error, I found the following StackOverflow thread where they mention that selenium might require some additional libraries to be installed in the container :
Could you please try installing the packages mentioned in that documentation as part of your script, and let us know how it goes? I would suggest testing locally with docker until you get the issue fixed and only then moving the changes to your repository, so this way you don't spend your build minutes.
I've also found an article that has step-by-step instructions on how to use selenium on Bitbucket Pipelines using the services feature. You're also welcome to take a look and check if this tutorial helps with your use case:
Thank you, @nada_zitouni !