During this tutorial, we will implement WebDriverManager. It manages the binary drivers required by selenium webdriver. With this, we no longer need to download drivers on the local machine.
NOTE: As we agreed, please keep in mind that by default, WebDriverManager uses the latest version of chromedriver (83). Considering that my chrome browser is v81, initially, the test failed (but it's not shown in the video). If you encounter this scenario, you can apply one of the following 2 workarounds: set the chromedriver to a specific version (81) / set the browserVersion(81). If you apply one of these two workarounds, it will cache the chromedriver, hence you can remove these workarounds and the tests will still work (as I did in the video).
WebDriverManager Docs: https://github.com/bonigarcia/webdriv...
The video's source code: https://github.com/razvanvancea/learn...
On this page of the site you can watch the video online WebDriverManager Tutorial - get rid of webdrivers in selenium java tests with a duration of hours minute second in good quality, which was uploaded by the user Learn with RV 24 May 2020, share the link with friends and acquaintances, this video has already been watched 475 times on youtube and it was liked by 15 viewers. Enjoy your viewing!