conchincradle / my-public-cs-learning

0 stars 0 forks source link

Selenium+Webdriver #6

Open conchincradle opened 1 year ago

conchincradle commented 1 year ago

What are ChromeDriver and GeckoDriver in Selenium?

Selenium provides few drivers that help you in creating a browser instance and perform testing.

WebDriver is an open source tool for automated testing of web apps across many browsers. It provides capabilities for navigating to web pages, user input, JavaScript execution, and many more.

ChromeDriver is a standalone server which implements WebDriver’s wire protocol for Chromium. In order to instantiate the object of ChromeDriver, you can simply create the object with the help of below command.

conchincradle commented 1 year ago

GeckoDriver is a web browser engine which is used in many applications developed by Mozilla Foundation and the Mozilla Corporation. GeckoDriver is the link between your tests in Selenium and the Firefox browser. GeckoDriver is a proxy for using W3C WebDriver-compatible clients to interact with Gecko-based browsers. In order to instantiate the object of GeckoDriver, you can simply create the object with the help of the below command.