To work with any browser, we need the executable
driver for specific browsers. Here, I will explain about 3 major browsers &
their executable driver that we are using in Windows environment.
1
|
Mozilla Firefox
|
Geckodriver.exe
|
System.setProperty(“webdriver.gecko.driver”,”/path/to/geckodriver.exe”)
|
2
|
Chrome
|
Chromedriver.exe
|
System.setProperty(“webdriver.chrome.driver”,”/path/to/chromedriver.exe”)
|
3
|
IE
|
IEDriverServer.exe
|
System.setProperty(“webdriver.ie.driver”,”/path/to/
IEDriverServer exe”)
|