Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

OpenQA.Selenium.WebDriverException : Cannot start the driver service on http://localhost:46053/

Prince Dhiman
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 3, 2024

Hello Everyone, 

I have been running my selenium tests on the bitbucket pipeline and getting the following error. 

Connection refused (localhost:36763)
Error Message:

OpenQA.Selenium.WebDriverException : Cannot start the driver service on http://localhost:46053/

and my yaml file is: 


image: mcr.microsoft.com/dotnet/sdk:6.0

pipelines:
custom:
default:

- step:
name: Build and Test
caches:
- dotnetcore
services:
- selenium-standalone
script:
- echo "Starting Testing.."
- dotnet build Test.Automation.csproj --configuration Debug
- dotnet test --no-build Test.Automation.csproj --configuration Debug --logger "console;verbosity=detailed"

definitions:
services:
selenium-standalone:
image: selenium/standalone-chrome: latest

 

1 answer

0 votes
Brant Schroeder
Community Champion
October 16, 2024

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events