Updating to chromedriver23


#1

It says here that chromedriver23 is also available. How do we use this version? My tests are running on version 2.16.


#2

Is your project using Precise or Trusty?


#3

We were using Precise and now currently testing Trusty.


#4

Would be interested to know how this could be done , as we are using Trusty and we could see the version on circle ci box for chrome driver is 2.21.371461 and would like to use the latest chrome driver to avoid Net Read Timeout error in the latest version of chrome.


#5

@ram @khiemlam - I’m currently running on chrome driver 2.3* as part of my Angular2 client validations. I handle the chrome driver updates in code, not via circle.yml and it’s always worked like a charm.

If that is a soliton that works for anyone, I can get you a gist of how it’s done.


#6

In order to use the chromedriver23 we add this to our circle ci conf.

machine:
  post:
    - chromedriver23:
        background: true

I will start the chromedriver23 in the background before proceeding with the build.


#7

I prefer:

machine:
  post:
    - which chromedriver23 && which chromedriver
    - sudo rm /usr/local/bin/chromedriver && sudo ln -s `which chromedriver23` /usr/local/bin/chromedriver

Mine:

machine:
  post:
    - cd /tmp && wget https://chromedriver.storage.googleapis.com/2.20/chromedriver_linux32.zip
    - cd /tmp && unzip chromedriver_linux32.zip
    - sudo mv -f /tmp/chromedriver /usr/local/bin/chromedriver

But notice, chromedriver doesn’t support chrome v43 (Ubuntu 12.04 default image) well:
https://chromedriver.storage.googleapis.com/2.23/notes.txt


#8