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
I am trying to get Cucumber/Selenium working in Bitbucket Pipelines. I have the chrome webdriver installed and available on the path, but when I execute cucumber I receive the error:
"unable to connect to chromedriver 127.0.0.1:9515 (Selenium::WebDriver::Error::WebDriverError)"
It is possible to run Selenium in Pipelines, could you share your bitbucket-pipelines.yml?
Issue is likely related to the docker image you are using and it's configuration, perhaps https://medium.com/@yiquanzhou/run-selenium-ui-tests-in-docker-container-78be98e1b52d would guide you to a solution?
I appreciate this is some time ago but maybe you could help me?
I'm trying to get the similar issue here working.
It looks when my script in the pipeline tried to execute:
'driver = new ChromeDriver(GetChromeOptions());'
I get these two errors: 'Connection refused [::ffff:127.0.0.1]:33859 (localhost:33859)'
OpenQA.Selenium.WebDriverException : Cannot start the driver service on http://localhost:33859/
Any advice if you see this would be appreciated :)
My .yml is:
script: # Modify the commands below to build your repository.
- export PROJECT_NAME=Swoop-Acceptance
- export TEST_NAME=Swoop-Acceptance
- dotnet restore
- dotnet build $PROJECT_NAME
- dotnet test $TEST_NAME