preliminary action - Selenium

You will need to download the following items. Make sure that you download the relevant executable for your environment:

  • IE Driver Executable: list

  • Chrome Driver Executable: downloads/list

  • OperaDriverExecutable:

  • Firefox Driver does not require a download as it is bundled with the Java client bindings

Please make sure that you have all the necessary browsers installed to complete all the sections of this chapter.

When working through the following examples, we are going to assume that you have instantiated a WebDriver object by doing:

WebDriver driver = new FirefoxDriver();

You can use the following example class for use with JUnit 4:

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd Protection Status

Selenium Topics