WebDriver can drive HTMLUnit HTMLUnit (none) without the need of a driver server WebDriver can drive Firefox Firefox (none) without the need of a driver server Available in 32 and 64-bit versions. Internet Explorer Driver Internet Explorer Use the version that corresponds to Server the architecture of your IE Though its name is just it is in fact a “ChromeDriver”, Chrome ChromeDriver Driver Server, not just a driver. The current version can support versions higher than Chrome v.21 Though its name is just Opera OperaDriver it is in fact a Driver “OperaDriver”, Server, not just a driver. PhantomJS is another headless PhantomJS GhostDriver browser just like HTMLUnit. Though its name is just Safari SafariDriver it is in fact a Driver “SafariDriver”, Server, not just a driver. You can download these driver servers Summary Aside from a browser, you will need the following to start using WebDriver Java Development Kit (JDK). Eclipse IDE - Java Client Driver - When starting a WebDriver project in Eclipse, do not forget to import the Java Client Driver files onto your project. These files will constitute your Selenium Library. HTMLUnit and Firefox are the only browsers that you can automate without the use of a Driver Server. Each other browser has its own driver server. WebDriver Script Using the Java class that we created in the previous tutorial, let us try to create a “myclass” WebDriver script that would:
HTMLUnit (none) WebDriver can drive HTMLUnit without the need of a driver server Firefox (none) WebDriver can drive Firefox without the need of a driver server Internet Explorer Internet Explorer Driver Server Available in 32 and 64-bit versions. Use the version that corresponds to the architecture of your IE Chrome ChromeDriver Though its name is just “ChromeDriver”, it is in fact a Driver Server, not just a driver. The current version can support versions higher than Chrome v.21 Opera OperaDriver Though its name is just “OperaDriver”, it is in fact a Driver Server, not just a driver. PhantomJS GhostDriver PhantomJS is another headless browser just like HTMLUnit. Safari SafariDriver Though its name is just “SafariDriver”, it is in fact a Driver Server, not just a driver. You can download these driver servers Summary Aside from a browser, you will need the following to start using WebDriver Java Development Kit (JDK). Eclipse IDE - Java Client Driver - When starting a WebDriver project in Eclipse, do not forget to import the Java Client Driver files onto your project. These files will constitute your Selenium Library. HTMLUnit and Firefox are the only browsers that you can automate without the use of a Driver Server. Each other browser has its own driver server. WebDriver Script Using the Java class “myclass” that we created in the previous tutorial, let us try to create a WebDriver script that would:
Selenium-Notes.docx