Selenium WebDriver is advanced version of RC, its successor of RC actually. WebDriver does same job like RC but in a different way: instead of injecting a JavaScript code into the browser to simulate user actions, it uses the browsers native support for automation (different for each browser). We have already seen WebDriver advantages over RC above. So here onwards I will cover Web Automation using Selenium WebDriver.
WebDriver is known as SELENIUM 2.0
Stable build of Selenium 2 (WebDriver) was released in July 2011.
Stable build of Selenium 2 (WebDriver) was released in July 2011.
Now SELENIUM 2.0 also enhanced to SELENIUM 3.0 this year 2016.
While migrating from Selenium 2.0 to Selenium 3.0, we have to take care bellow things:
While migrating from Selenium 2.0 to Selenium 3.0, we have to take care bellow things:
- You will need to be running Java 8 to use the Java pieces of Selenium.This is the oldest version of Java officially supported by Oracle, so hopefully you are using it already!
- Support for Firefox is via Mozillas geckodriver.
- Support for Safari is provided on macOS (Sierra or later) via Apples own safaridriver.
- Support for Edge is provided by MS through their webdriver server.
- Only versions 9 or above of IE are supported. Earlier versions may work, but are no longer supported as MS no longer supports them.
0 comments:
Post a Comment