Buy real YouTube subscribers. Best price and warranty.
Get Free YouTube Subscribers, Views and Likes

P6 - Auto Download driver executables using WebDriverManager | తెలుగు |

Follow
H Y R Tutorials

In this video, I have explained about "AutoDownload driver executables using WebDriverManager in తెలుగు".

WebDriverManager allows automating the management of the binary drivers (e.g. chromedriver, geckodriver, etc.) required by Selenium WebDriver.

If you use Selenium WebDriver, you probably know that to use some browsers such as Chrome, Firefox, Opera, PhantomJS, Microsoft Edge, or Internet Explorer, first you need to download the socalled driver, i.e. a binary file which allows WebDriver to handle browsers. In Java, the path to this driver must be set as JVM properties, as follows:

System.setProperty("webdriver.chrome.driver", "/path/to/binary/chromedriver");
System.setProperty("webdriver.gecko.driver", "/path/to/binary/geckodriver");
System.setProperty("webdriver.ie.driver", "C:/path/to/binary/IEDriverServer.exe");

This is quite annoying since it forces you to link directly this binary file into your source code. In addition, you have to check manually when new versions of the binaries are released. WebDriverManager comes to the rescue, performing in an automated way all this dirty job for you.

WebDriverManager is opensource, released under the terms of Apache 2.0 License.

To use WebDriverManager from tests in a Maven project, you need to add the dependency in your Maven or Gradle project.

You can find the program used in this video at the below location:
https://bit.ly/3noes5j

▶ Next Video link:    • P7  Different Locators in Selenium W...  
◀ Previous Video Link:    • P5  Launch Chrome & Firefox Browsers...  
↔ Selenium Java in Telugu Playlist link: https://bit.ly/3tL7Z9S

✴ Checkout my other playlists: https://bit.ly/3gLIAVL

☕ Buy me a coffee: https://bit.ly/33ljBWc

Join my YouTube channel to get access to perks:
   / @hyrtutorials  

==============================================
==============================================
Connect us @
Website https://www.hyrtutorials.com
Telegram https://t.me/hyrtutorials
Facebook   / hyrtutorials  
LinkedIn   / hyrtutorials  
Twitter   / hyrtutorials  
Instagram   / hyrtutorials  
==============================================
==============================================
Please Subscribe to start learning for FREE now, Also help your friends in learning the best by suggesting this channel.

#hyrtutorials #selenium #telugu #java

posted by Tabellida