Selenium2Driver By Mink provides a bridge for the Selenium 2 webdriver tool.
Selenium is used to automate different types of browser. We create robust, browser-based regression automation suites and tests using Selenium. Selenium has support for different types of browser Chrome, Firefox, Safari.
Selenium and Sahi are the two most famous browser controllers used with Mink Extension. The main advantage of using browser controllers is the support for JS/AJAX interactions on the page. The disadvantage is that such browser emulators require an installed browser, extra configuration and are usually much slower than headless counterparts.
How to install Selenium2Driver
You can download your selenium2Driver using composer. Below is the command, Note composer should already installed on your machine for this command to work:
$ composer require behat/mink-selenium2-driver
Other Requirement for Selenium2Driver
To use Selenium2Driver you need selenium standalone server running on your machine. to know how to setup and run selenium standalone server click here
How to Use Selenium2Driver
- How to use Mink Extension Selenium2Driver with Chrome Browser
- How to use Mink Extension Selenium2Driver with Firefox Browser (Coming Soon)