Relative Content

Tag Archive for javaselenium-webdriverselenium-chromedrivercontinuous-integrationlocalhost

org.openqa.selenium.WebDriverException: unknown error: net::ERR_CONNECTION_REFUSED with Java Selenium CI pipeline only on localhost URL

I have a React project with a Java Selenium e2e test suite in the same repo and I am using GitHub Actions for a CI pipeline to run the tests on push or PR to main. The tests all pass when I run them either on the deployed app on Render or running on localhost. The CI pipeline also works perfectly when tests are set to run on the deployed app but the CI pipeline tests won’t connect when set to test the app running locally on localhost.