Hire QA – Specialized in QA Recruitment, Technical Interviews and Testing Solutions

What is WebDriverManager?

Category: Selenium WebDriver

WebDriverManager class in Selenium:

  • automates the management of WebDriver binaries.
  • downloads the appropriate driver binaries, if not already present, into the local cache.
  • downloads the latest version of the browser binary, unless otherwise specified.
  • Eliminates the need to store driver binaries locally. We also need not maintain various versions of the binary driver files for different browsers.

WebDriverManager.chromedriver().setup();
driver = new ChromeDriver();

Leave a Reply

Your email address will not be published. Required fields are marked *