Chrome Browser and ChromeDriver version mismatch issue - Resolved | Selenium Tutorial Part #6

Опубликовано: 29 Сентябрь 2024
на канале: Cool IT Help
47,018
240

In this tutorial, I will tell you a simple way to avoid chrome driver and chrome driver version mismatch issues. Sometimes we need to port our selenium script to a different machine but that time we get the Chromedriver version mismatch issue. then we need to download the chrome driver exe again and again because the chrome driver keeps updating over time.

Suppose you are creating an executable of your selenium script and want to give it to some end-user, in that case, we get the same issue because there is a huge possibility that the chrome version is not matching with the chrome driver that you providing with the executable jar.

Step 1: We need Webdrivermanager jar

Jar download link:
https://jar-download.com/artifact-sea...

Maven dependency: (angel brackets not allowed in the description, so I removed)
***********************
dependency
groupId : io.github.bonigarcia
artifactId : webdrivermanager
version : 4.3.1
scope :test
/dependency

If you found this video tutorial useful and would like to support me, you can do so by buying me a coffee using the below link!
https://buymeacoffee.com/CoolITHelp

#WebDriverManagerSelenium #SeleniumTutorials #CoolITHelp