Advantages of WebDriverManager

Let's see what advantages the WebDriverManager offers:

  • It checks the browser version installed on your machine (for example, Chrome, Firefox, Internet Explorer, and so on).
  • It checks the version of the driver (for example, chromedriver, geckodriver). If the version is not known, it uses the latest version of the driver.
  • It downloads the WebDriver binary executable if it is not present in the WebDriverManager cache in the Maven repository (~/.m2/repository/webdriver by default).
  • It exports the appropriate WebDriver Java environment variables required by Selenium (not done when WebDriverManager is used from the the command-line interface or as a server). 

Now that we know about the WebDriverManager library, we will look at what DataProviders are in TestNG.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset