2017 © Pedro Peláez
 

mink-driver mink-selenium2-driver

Selenium2 (WebDriver) driver for Mink framework

image

behat/mink-selenium2-driver

Selenium2 (WebDriver) driver for Mink framework

  • Monday, July 23, 2018
  • by everzet
  • Repository
  • 19 Watchers
  • 176 Stars
  • 10,383,025 Installations
  • PHP
  • 394 Dependents
  • 7 Suggesters
  • 120 Forks
  • 49 Open issues
  • 13 Versions
  • 7 % Grown

The README.md

Mink Selenium2 (webdriver) Driver

Latest Stable Version Latest Unstable Version Total Downloads CI License codecov, (*1)

Usage Example

``` php <?php, (*2)

use Behat\Mink\Mink, Behat\Mink\Session, Behat\Mink\Driver\Selenium2Driver;, (*3)

require_once DIR . '/vendor/autoload.php';, (*4)

$browserName = 'firefox'; $url = 'http://example.com';, (*5)

$mink = new Mink(array( 'selenium2' => new Session(new Selenium2Driver($browserName)), ));, (*6)

$session = $mink->getSession('selenium2'); $session->visit($url);, (*7)

$session->getPage()->findLink('Chat')->click();, (*8)


Please refer to [MinkExtension-example](https://github.com/Behat/MinkExtension-example) for an executable example. Installation ------------ ``` json { "require": { "behat/mink": "~1.5", "behat/mink-selenium2-driver": "~1.1" } }

bash $> curl -sS https://getcomposer.org/installer | php $> php composer.phar install, (*9)

Testing

  1. Start WebDriver
    1. If you have Docker installed, run bash docker run -p 4444:4444 selenium/standalone-firefox:2.53.1
    2. If you do not have Docker, but you have Java bash curl -L https://selenium-release.storage.googleapis.com/2.53/selenium-server-standalone-2.53.1.jar > selenium-server-standalone-2.53.1.jar java -jar selenium-server-standalone-2.53.1.jar
  2. Start WebServer by running bash ./vendor/bin/mink-test-server
  3. Start PhpUnit bash composer require --dev phpunit/phpunit ./vendor/bin/phpunit -v --coverage-clover=coverage.clover

Copyright (c) 2012 Pete Otaqui pete@otaqui.com., (*10)

Maintainers

The Versions

23/07 2018

dev-master

9999999-dev http://mink.behat.org/

Selenium2 (WebDriver) driver for Mink framework

  Sources   Download

MIT

The Requires

 

The Development Requires

testing selenium javascript ajax webdriver browser

05/03 2016

v1.3.1

1.3.1.0 http://mink.behat.org/

Selenium2 (WebDriver) driver for Mink framework

  Sources   Download

MIT

The Requires

 

The Development Requires

testing selenium javascript ajax webdriver browser

21/09 2015

v1.3.0

1.3.0.0 http://mink.behat.org/

Selenium2 (WebDriver) driver for Mink framework

  Sources   Download

MIT

The Requires

 

The Development Requires

testing selenium javascript ajax webdriver browser

29/09 2014

v1.2.0

1.2.0.0 http://mink.behat.org/

Selenium2 (WebDriver) driver for Mink framework

  Sources   Download

MIT

The Requires

 

testing selenium javascript ajax webdriver browser

02/06 2013

v1.1.1

1.1.1.0 http://mink.behat.org/

Selenium2 (WebDriver) driver for Mink framework

  Sources   Download

MIT

The Requires

 

testing selenium javascript ajax webdriver browser

14/04 2013

v1.1.0

1.1.0.0 http://mink.behat.org/

Selenium2 (WebDriver) driver for Mink framework

  Sources   Download

MIT

The Requires

 

testing selenium javascript ajax webdriver browser

13/04 2013

v1.0.6

1.0.6.0 http://mink.behat.org/

Selenium2 (WebDriver) driver for Mink framework

  Sources   Download

MIT

The Requires

 

testing selenium javascript ajax webdriver browser

08/03 2013

v1.0.5

1.0.5.0 http://mink.behat.org/

Selenium2 (WebDriver) driver for Mink framework

  Sources   Download

MIT

The Requires

 

testing selenium javascript ajax webdriver browser

17/02 2013

v1.0.4

1.0.4.0 http://mink.behat.org/

Selenium2 (WebDriver) driver for Mink framework

  Sources   Download

MIT

The Requires

 

testing selenium javascript ajax webdriver browser

13/02 2013

v1.0.3

1.0.3.0 http://mink.behat.org/

Selenium2 (WebDriver) driver for Mink framework

  Sources   Download

MIT

The Requires

 

testing selenium javascript ajax webdriver browser

05/07 2012

v1.0.2

1.0.2.0 http://mink.behat.org/

Selenium2 (WebDriver) driver for Mink framework

  Sources   Download

MIT

The Requires

 

testing selenium javascript ajax webdriver browser

04/07 2012

v1.0.1

1.0.1.0 http://mink.behat.org/

Selenium2 (WebDriver) driver for Mink framework

  Sources   Download

MIT

The Requires

 

testing selenium javascript ajax webdriver browser

30/05 2012

v1.0.0

1.0.0.0 http://mink.behat.org/

Selenium2 (WebDriver) driver for Mink framework

  Sources   Download

MIT

The Requires

 

testing selenium javascript ajax webdriver browser