I am trying to run some Selenium tests via BitBucket Pipelines with this configuration:
script: # Modify the commands below to build your repository.
- npm install
- npm install -g gulp
- npm install -g chromedriver
- npm install -g selenium-webdriver
- gulp mocha
- gulp selenium All of these steps succeed except for the last one, where every one of my Selenium test fails with the same error:
<span> at Error (native)</span><span> at earlyTermination.catch.e (node_modules/selenium-webdriver/remote/index.js:252:52)</span><span> at process._tickCallback (internal/process/next_tick.js:103:7)</span><span> From: Task: WebDriver.createSession()</span><span> at Function.createSession (node_modules/selenium-webdriver/lib/webdriver.js:769:24)</span><span> at Function.createSession (node_modules/selenium-webdriver/chrome.js:761:15)</span><span> at createDriver (node_modules/selenium-webdriver/index.js:170:33)</span><span> at <a href="http://builder.build/" target="_blank" rel="nofollow noopener noreferrer">Builder.build</a> (node_modules/selenium-webdriver/index.js:642:16)...</span><span>Uncaught Error: Server terminated early with status 127</span>
Any suggestions? Thank you.