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: http://code.google.com/p/selenium/downloads/ list

  • Chrome Driver Executable: http://code.google.com/p/chromium/ downloads/list

  • OperaDriverExecutable: https://github.com/operasoftware/operadriver/downloads

  • 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 DMCA.com Protection Status

Selenium Topics