Setup Selenium Webdriver and Components

 

1) Firefox Browser

Firefox browser DOES NOT require any extra Selenium webdriver components

2) Chrome Browser

a) Download chromedriver.exe from here. Get the latest version

chromedriver1

chromedriver2

b) Unzip chromedriver_win32.zip into C:\SeleniumWebdrivers (assuming you are using windows). The file chromedriver.exe should be present 

c) Now add “C:\SeleniumWebdrivers folder to the Windows PATH variable. If you are using Windows 7, go to Control Panel -> Users -> Add/Change environment variables

d) Click ‘New’ under User variables section and do the below

windowspath

e) Verify that chromedriver.exe can be started successfully

chromedriverstarted

f) Hit CTRL+c and kill the process

3) Internet Explorer

a) Download IEDriverServer.exe from here. Get the latest version

IEDriver1

IEDriver2

b) Unzip IEDriverServer_Win32_2.44.0.zip [OR 64bit based on your machine] into C:\SeleniumWebdrivers (assuming you are using windows). The file IEDriverServer.exe should be present 

c) Now add “C:\SeleniumWebdrivers folder to the Windows PATH variable. If you are using Windows 7, go to Control Panel -> Users -> Add/Change environment variables. 

d) Click ‘New’ under User variables section and do the below

Note: Do c) and d) ONLY if you have NOT already done so in chromedriver.exe section above

e) Verify that IEDriverServer.exe can be started successfully

IEDriverStarted

f) Hit CTRL+c and kill the process