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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

selenium python pipeline

hello i'am trying to run pipeline which run selenium python tests: 

the yaml :

pipelines:
default:
- step:
name: tests
image: python:3.7
script:
- 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 

 

error :

 

selenium.common.exceptions.WebDriverException: Message: Service /root/.wdm/drivers/chromedriver/linux64/110.0.5481/chromedriver unexpectedly exited. Status code was: 127

1 answer

1 vote
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Feb 23, 2023

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 !

Patrik S

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events