Leaving this topic up just in case it helps someone else. sudo sed -i 's|HERE/chrome\"|HERE/chrome\" -disable-setuid-sandbox|g' /opt/google/chrome/google-chrome I added these scripts to my circle.yml file: dependencies: Figured out that the builds have Chrome pre-installed, but the version is 54.somethingsomething, which is not what I needed. Same error message though.ĮDIT: Solved this issue. It seems to me from the error message that there’s a chrome driver mismatch somewhere, which I tried to remedy by using the commands found here, and stuck that in my pre-dependency script. This is the : localizedMessage: 'session not created exception: Chrome version must be >=. Then I went onto running the e2e test cases, but I’m getting a curious error: Error retrieving a new session from the selenium serverĬonnection refused! Is selenium server started? I double-checked by ssh’ing into the build and indeed, the chromedriver and selenium.jar file were in the bin folder. grabbing selenium standalone server 2.53.0 That works fine, as evidenced by: $ node I have a nightwatch configuration file that uses the npm package selenium-download to grab a standalone selenium server and chromedriver. Step 3: Extract the downloaded folder and we will get the folder like selenium-java-3.141.59. Step 2: Click on Download link to download the jars for selenium. Step 1: Go to the official website and click on Download tab. Hi, I’m trying to port over my project from codeship and I’m having some trouble setting up Nightwatch. We just need to download the jars and include in eclipse.
0 Comments
Leave a Reply. |