Thursday, September 28, 2017

[Chrome][Tutorial] Install Chrome Driver on windows platform

Step 1) Download driver

Visit Chrome Driver site and download required file.
https://sites.google.com/a/chromium.org/chromedriver/


Step 2) Move chromedriver.exe to Chrome installation directory


Find out chrome installation directory in your OS first:

Remarks :
For windows 8, there is some update, the path for installing chrome drive should be C:\Program Files (x86)\Google\Chrome\Application\CHROME_VERSION_NUMBER, such as C:\Program Files (x86)\Google\Chrome\Application\64.0.3282.186

Since I am using window 8, I need to check out my chrome version, my chrome version is 63.0.32239.132
So my path to add to environment variable is :
C:\Program Files (x86)\Google\Chrome\Application\63.0.3239.132

Step 4) Restart your command prompt



Reference:
https://productforums.google.com/forum/#!topic/chrome/vd3-DMq3orQ
https://sites.google.com/a/chromium.org/chromedriver/getting-started

No comments :

Post a Comment