Giter Club home page Giter Club logo

minkseleniumdriver's Introduction

Mink Selenium1 Driver

Latest Stable Version Latest Unstable Version Total Downloads Build Status Scrutinizer Quality Score Code Coverage License

Usage Example

<?php

use Behat\Mink\Mink,
    Behat\Mink\Session,
    Behat\Mink\Driver\SeleniumDriver;

use Selenium\Client as SeleniumClient;

$startUrl = 'http://example.com';

$mink = new Mink(array(
    'selenium' => new Session(new SeleniumDriver(new SeleniumClient($host, $port))),
));

$mink->getSession('selenium')->getPage()->findLink('Chat')->click();

Installation

{
    "require": {
        "behat/mink":                  "~1.5",
        "behat/mink-selenium-driver":  "~1.1"
    }
}
$> curl -sS https://getcomposer.org/installer | php
$> php composer.phar install

Copyright

Copyright (c) 2012 Alexandre Salomé [email protected].

Maintainers

minkseleniumdriver's People

Contributors

everzet avatar linclark avatar stof avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

minkseleniumdriver's Issues

Multiline xpath expressions are breaking everything

We're recently (see Behat/Mink#438) reformatted xpath expressions in NamedSelector to make them more manageable.

Unfortunately this has broken tests completely, because MinkSeleniumDriver is putting xpath expressions into JavaScript and this becomes multi-line string and causes JavaScript error.

This is example PHPUnit output:

7) Tests\Behat\Mink\Driver\SeleniumDriverTest::testAdvancedForm
Selenium\Exception: Unexpected response from Selenium server : ERROR: Threw an exception: unterminated string literal

.../vendor/alexandresalome/php-selenium/src/Selenium/Driver.php:106
.../vendor/alexandresalome/php-selenium/src/Selenium/Browser.php:1356
.../src/Behat/Mink/Driver/SeleniumDriver.php:355
.../vendor/behat/mink/src/Behat/Mink/Element/NodeElement.php:76
.../vendor/behat/mink/tests/Behat/Mink/Driver/GeneralDriverTest.php:648

Mink + Selenium + Symfony - error while starting javascript session

Hi,

I'm trying to run Mink and Selenium with Symfony.

My composer.json:

"behat/symfony2-extension": "*",
        "behat/mink-extension" : "*",
        "behat/mink-browserkit-driver" : "*",
        "behat/mink-selenium-driver":  "*",

My behat.yml:

default:
    extensions:
        Behat\Symfony2Extension\Extension:
            mink_driver: true
        Behat\MinkExtension\Extension:
            default_session: 'symfony2'
            javascript_session: selenium
            selenium: ~
        VIPSoft\DoctrineDataFixturesExtension\Extension:
            fixtures: ~

I'm running selenium using:
java -jar selenium-server-standalone-2.28.0.jar

And the error I'm getting is:
Unexpected response from Selenium server : ERROR Server Exception: sessionId should not be null; has this session been started yet?

While I'm trying to run tests.
Thank you for any suggestions!

Convert tag names to lowercase for comparisons in JS.

As described in Behat/MinkSelenium2Driver#105, some browsers use uppercase for tag names, while others use lower case. The handling of this in Mink's drivers is inconsistent.

To make it consistent, all drivers should case-fold tag names and should use lower case for comparison in JS code.

Mink Selenium Driver - Exception fillFields()

Hello,

I'm trying to fill a form and I am getting an Exception.

My scenario:

@javascript @debug
Scenario: Test
        Given I am on homepage
        When I fill in "username" with "admin"
        And I fill in "password" with "admin"
        And I press "Connexion"
        Then I should see "Déconnexion"

(it's work with goutte)

My composer.json:

"require-dev": {
        "matthiasnoback/symfony-config-test": "~0.4",
        "matthiasnoback/symfony-dependency-injection-test": "~0.7",
        "asm89/twig-lint": "@stable",
        "phpunit/phpunit": "~4.2",
        "fabpot/goutte": "~1.0",
        "behat/behat": "~2.4",
        "behat/common-contexts": "*",
        "behat/mink-extension": "~1.2",
        "behat/mink-goutte-driver": "~1.0",
        "behat/mink": "~1.5",
        "behat/mink-browserkit-driver": "~1.1",
        "behat/mink-selenium2-driver": "~1.1",
        "behat/mink-sahi-driver": "~1.1"
    }

My behat.yml:

default:
    extensions:
        Behat\MinkExtension\Extension:
            files_path: .
            javascript_session: selenium2
            goutte: ~
            selenium2:
                wd_host: http://192.168.5.90:4443/wd/hub

I'm running selenium using this command :
java -jar /usr/lib/selenium/selenium-server-standalone-2.44.0.jar

And i'm getting this exception:

Exception thrown by (//html/.//*[self::input | self::textarea | self::select][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'hidden')][(((./@id = 'username' or ./@name = 'username') or ./@id = //label[contains(normalize-space(string(.)), 'username')]/@for) or ./@placeholder = 'username')] | .//label[contains(normalize-space(string(.)), 'username')]//.//*[self::input | self::textarea | self::select][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'hidden')])[1]
a is undefined
Build info: version: '2.44.0', revision: '76d78cf', time: '2014-10-23 20:02:37'

Also I'm getting this strack trace:

    Given I am on homepage                 # FeatureContext::iAmOnHomepage()
#0 /var/www/canal/vendor/behat/mink/src/Behat/Mink/Element/TraversableElement.php(188): Behat\Mink\Element\NodeElement->setValue('admin')
#1 /var/www/canal/vendor/behat/mink-extension/src/Behat/MinkExtension/Context/MinkContext.php(113): Behat\Mink\Element\TraversableElement->fillField('username', 'admin')
#2 [internal function]: Behat\MinkExtension\Context\MinkContext->fillField('username', 'admin')
#3 /var/www/canal/vendor/behat/behat/src/Behat/Behat/Definition/Annotation/Definition.php(155): call_user_func_array(Array, Array)
#4 /var/www/canal/vendor/behat/behat/src/Behat/Behat/Tester/StepTester.php(157): Behat\Behat\Definition\Annotation\Definition->run(Object(FeatureContext))
#5 /var/www/canal/vendor/behat/behat/src/Behat/Behat/Tester/StepTester.php(126): Behat\Behat\Tester\StepTester->executeStepDefinition(Object(Behat\Gherkin\Node\StepNode), Object(Behat\Behat\Definition\Annotation\When))
#6 /var/www/canal/vendor/behat/behat/src/Behat/Behat/Tester/StepTester.php(95): Behat\Behat\Tester\StepTester->executeStep(Object(Behat\Gherkin\Node\StepNode))
#7 /var/www/canal/vendor/behat/gherkin/src/Behat/Gherkin/Node/AbstractNode.php(42): Behat\Behat\Tester\StepTester->visit(Object(Behat\Gherkin\Node\StepNode))
#8 /var/www/canal/vendor/behat/behat/src/Behat/Behat/Tester/ScenarioTester.php(148): Behat\Gherkin\Node\AbstractNode->accept(Object(Behat\Behat\Tester\StepTester))
#9 /var/www/canal/vendor/behat/behat/src/Behat/Behat/Tester/ScenarioTester.php(87): Behat\Behat\Tester\ScenarioTester->visitStep(Object(Behat\Gherkin\Node\StepNode), Object(Behat\Gherkin\Node\ScenarioNode), Object(FeatureContext), Array, false)
#10 /var/www/canal/vendor/behat/gherkin/src/Behat/Gherkin/Node/AbstractNode.php(42): Behat\Behat\Tester\ScenarioTester->visit(Object(Behat\Gherkin\Node\ScenarioNode))
#11 /var/www/canal/vendor/behat/behat/src/Behat/Behat/Tester/FeatureTester.php(88): Behat\Gherkin\Node\AbstractNode->accept(Object(Behat\Behat\Tester\ScenarioTester))
#12 /var/www/canal/vendor/behat/gherkin/src/Behat/Gherkin/Node/AbstractNode.php(42): Behat\Behat\Tester\FeatureTester->visit(Object(Behat\Gherkin\Node\FeatureNode))
#13 /var/www/canal/vendor/behat/behat/src/Behat/Behat/Console/Command/BehatCommand.php(150): Behat\Gherkin\Node\AbstractNode->accept(Object(Behat\Behat\Tester\FeatureTester))
#14 /var/www/canal/vendor/behat/behat/src/Behat/Behat/Console/Command/BehatCommand.php(128): Behat\Behat\Console\Command\BehatCommand->runFeatures(Object(Behat\Gherkin\Gherkin))
#15 /var/www/canal/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php(253): Behat\Behat\Console\Command\BehatCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/canal/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(874): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/canal/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(Behat\Behat\Console\Command\BehatCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/canal/vendor/behat/behat/src/Behat/Behat/Console/BehatApplication.php(68): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/canal/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(126): Behat\Behat\Console\BehatApplication->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/canal/vendor/behat/behat/bin/behat(31): Symfony\Component\Console\Application->run()
#21 {main}%  

Thank you for your help

Various test failures (v2)

24) Behat\Mink\Tests\Driver\Form\CheckboxTest::testSetValue
Failed asserting that false is true.

.../vendor/behat/mink/driver-testsuite/tests/Form/CheckboxTest.php:40

25) Behat\Mink\Tests\Driver\Form\Html5Test::testHtml5FormRadioAttribute
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'f'
+'invalid'

.../vendor/behat/mink/driver-testsuite/tests/Form/Html5Test.php:44

26) Behat\Mink\Tests\Driver\Form\RadioTest::testSetValue
Failed asserting that true is false.

.../vendor/behat/mink/driver-testsuite/tests/Form/RadioTest.php:57

27) Behat\Mink\Tests\Driver\Form\RadioTest::testSameNameInMultipleForms
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'test3'
+'test2'

.../vendor/behat/mink/driver-testsuite/tests/Form/RadioTest.php:69

28) Behat\Mink\Tests\Driver\Form\RadioTest::testSetValueXPathEscaping
no double xpath escaping during radio button value change
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'m'
+'w'

.../vendor/behat/mink/driver-testsuite/tests/Form/RadioTest.php:90

29) Behat\Mink\Tests\Driver\Form\SelectTest::testSetValueMultiSelect
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
 Array (
-    0 => '1'
-    1 => '2'
+    0 => '2'
+    1 => '3'
 )

.../vendor/behat/mink/driver-testsuite/tests/Form/SelectTest.php:102

30) Behat\Mink\Tests\Driver\Form\SelectTest::testOptionWithoutValue
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'Two'
+'none selected'

.../vendor/behat/mink/driver-testsuite/tests/Form/SelectTest.php:114

31) Behat\Mink\Tests\Driver\Js\ChangeEventTest::testIssue255
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'onChangeSelect'
+''

.../vendor/behat/mink/driver-testsuite/tests/Js/ChangeEventTest.php:22

32) Behat\Mink\Tests\Driver\Js\ChangeEventTest::testIssue178
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'foo'
+''

.../vendor/behat/mink/driver-testsuite/tests/Js/ChangeEventTest.php:31

Getting "Request URI Too Large" error during test suite run

Some of current tests are failing with Request URI Too Large HTTP error:

1) Behat\Mink\Tests\Driver\Form\GeneralTest::testAdvancedForm
fopen(http://selenium-host:4444/selenium-server/driver/?cmd=getEval&1=var+node+%3D+this.browserbot.locateElementByXPath%28%22%28%28%28%5C%2F%5C%2Fhtml%5C%2F.%5C%2F%5C%2F%2A%5Cn%5Bself%3A%3Ainput%5Bnot%28.%5C%2F%40type+%3D+%27radio%27+or+.%5C%2F%40type+%3D+%27checkbox%27+or+.%5C%2F%40type+%3D+%27file%27%29%5D+%7C+self%3A%3Atextarea%5D%5Bnot%28.%5C%2F%40type+%3D+%27submit%27+or+.%5C%2F%40type+%3D+%27image%27+or+.%5C%2F%40type+%3D+%27button%27+or+.%5C%2F%40type+%3D+%27reset%27+or+.%5C%2F%40type+%3D+%27hidden%27%29%5D%5B%28%28.%5C%2F%40id+%3D+%27select_number%27+or+.%5C%2F%40name+%3D+%27select_number%27%29+or+.%5C%2F%40id+%3D+%5C%2F%5C%2Flabel%5Bnormalize-space%28string%28.%29%29+%3D+%27select_number%27%5D%5C%2F%40for+or+.%5C%2F%40placeholder+%3D+%27select_number%27%29%5D+%7C+%5C%2F%5C%2Fhtml%5C%2F.%5C%2F%5C%2Flabel%5Bnormalize-space%28string%28.%29%29+%3D+%27select_number%27%5D%5C%2F%5C%2F.%5C%2F%5C%2F%2A%5Bself%3A%3Ainput%5Bnot%28.%5C%2F%40type+%3D+%27radio%27+or+.%5C%2F%40type+%3D+%27checkbox%27+or+.%5C%2F%40type+%3D+%27file%27%29%5D+%7C+self%3A%3Atextarea%5D%5Bnot%28.%5C%2F%40type+%3D+%27submit%27+or+.%5C%2F%40type+%3D+%27image%27+or+.%5C%2F%40type+%3D+%27button%27+or+.%5C%2F%40type+%3D+%27reset%27+or+.%5C%2F%40type+%3D+%27hidden%27%29%5D+%7C+%5C%2F%5C%2Fhtml%5C%2F.%5C%2F%5C%2F%2A%5Cn%5Bself%3A%3Ainput%5B.%5C%2F%40type+%3D+%27radio%27+or+.%5C%2F%40type+%3D+%27checkbox%27+or+.%5C%2F%40type+%3D+%27file%27%5D+%7C+self%3A%3Aselect%5D%5Bnot%28.%5C%2F%40type+%3D+%27submit%27+or+.%5C%2F%40type+%3D+%27image%27+or+.%5C%2F%40type+%3D+%27button%27+or+.%5C%2F%40type+%3D+%27reset%27+or+.%5C%2F%40type+%3D+%27hidden%27%29%5D%5B%28%28.%5C%2F%40id+%3D+%27select_number%27+or+.%5C%2F%40name+%3D+%27select_number%27%29+or+.%5C%2F%40id+%3D+%5C%2F%5C%2Flabel%5Bnormalize-space%28string%28.%29%29+%3D+%27select_number%27%5D%5C%2F%40for%29%5D+%7C+%5C%2F%5C%2Fhtml%5C%2F.%5C%2F%5C%2Flabel%5Bnormalize-space%28string%28.%29%29+%3D+%27select_number%27%5D%5C%2F%5C%2F.%5C%2F%5C%2F%2A%5Bself%3A%3Ainput%5B.%5C%2F%40type+%3D+%27radio%27+or+.%5C%2F%40type+%3D+%27checkbox%27+or+.%5C%2F%40type+%3D+%27file%27%5D+%7C+self%3A%3Aselect%5D%5Bnot%28.%5C%2F%40type+%3D+%27submit%27+or+.%5C%2F%40type+%3D+%27image%27+or+.%5C%2F%40type+%3D+%27button%27+or+.%5C%2F%40type+%3D+%27reset%27+or+.%5C%2F%40type+%3D+%27hidden%27%29%5D%29%5B1%5D%29%5C%2F.%5C%2F%5C%2Foption%5Cn%5B%28.%5C%2F%40value+%3D+%27thirty%27+or+normalize-space%28string%28.%29%29+%3D+%27thirty%27%29%5D%29%5B1%5D%22%2C+window.document%29%2C%0A++++tagName+%3D+node.tagName.toLowerCase%28%29%2C%0A++++value+%3D+null%3B%0Aif+%28tagName+%3D%3D+%27input%27+%7C%7C+tagName+%3D%3D+%27textarea%27%29+%7B%0A++++var+type+%3D+node.getAttribute%28%27type%27%29%3B%0A++++if+%28type+%3D%3D+%27checkbox%27%29+%7B%0A++++++++value+%3D+node.checked%3B%0A++++%7D+else+if+%28type+%3D%3D+%27radio%27%29+%7B%0A++++++++var+name+%3D+node.getAttribute%28%27name%27%29%3B%0A++++++++if+%28name%29+%7B%0A++++++++++++var+fields+%3D+window.document.getElementsByName%28name%29%2C%0A++++++++++++++++i%2C+l+%3D+fields.length%3B%0A++++++++++++for+%28i+%3D+0%3B+i+%3C+l%3B+i%2B%2B%29+%7B%0A++++++++++++++++var+field+%3D+fields.item%28i%29%3B%0A++++++++++++++++if+%28field.checked%29+%7B%0A++++++++++++++++++++value+%3D+field.value%3B%0A++++++++++++++++++++break%3B%0A++++++++++++++++%7D%0A++++++++++++%7D%0A++++++++%7D%0A++++%7D+else+%7B%0A++++++++value+%3D+node.value%3B%0A++++%7D%0A%7D+else+if+%28tagName+%3D%3D+%27select%27%29+%7B%0A++++if+%28node.getAttribute%28%27multiple%27%29%29+%7B%0A++++++++value+%3D+%5B%5D%3B%0A++++++++for+%28var+i+%3D+0%3B+i+%3C+node.options.length%3B+i%2B%2B%29+%7B%0A++++++++++++if+%28node.options%5Bi%5D.selected%29+%7B%0A++++++++++++++++value.push%28node.options%5Bi%5D.value%29%3B%0A++++++++++++%7D%0A++++++++%7D%0A++++%7D+else+%7B%0A++++++++var+idx+%3D+node.selectedIndex%3B%0A++++++++if+%28idx+%3E%3D+0%29+%7B%0A++++++++++++value+%3D+node.options.item%28idx%29.value%3B%0A++++++++%7D+else+%7B%0A++++++++++++value+%3D+null%3B%0A++++++++%7D%0A++++%7D%0A%7D+else+%7B%0A++value+%3D+node.getAttribute%28%27value%27%29%3B%0A%7D%0AJSON.stringify%28value%29&sessionId=ec4dcd5a3c924ac884e3ccae818030b0): failed to open stream: HTTP request failed! HTTP/1.1 414 Request URI Too Large


.../vendor/alexandresalome/php-selenium/src/Selenium/Driver.php:237
.../vendor/alexandresalome/php-selenium/src/Selenium/Driver.php:103
.../vendor/alexandresalome/php-selenium/src/Selenium/GeneratedBrowser.php:1356
.../src/Behat/Mink/Driver/SeleniumDriver.php:359
.../vendor/behat/mink/src/Behat/Mink/Element/NodeElement.php:91
.../vendor/behat/mink/src/Behat/Mink/Element/NodeElement.php:239
.../vendor/behat/mink/driver-testsuite/tests/Form/GeneralTest.php:184

2) Behat\Mink\Tests\Driver\Form\SelectTest::testMultiselect
fopen(http://selenium-host:4444/selenium-server/driver/?cmd=getEval&1=var+node+%3D+this.browserbot.locateElementByXPath%28%22%28%5C%2F%5C%2Fhtml%5C%2F.%5C%2F%5C%2F%2A%5Cn%5Bself%3A%3Ainput%5Bnot%28.%5C%2F%40type+%3D+%27radio%27+or+.%5C%2F%40type+%3D+%27checkbox%27+or+.%5C%2F%40type+%3D+%27file%27%29%5D+%7C+self%3A%3Atextarea%5D%5Bnot%28.%5C%2F%40type+%3D+%27submit%27+or+.%5C%2F%40type+%3D+%27image%27+or+.%5C%2F%40type+%3D+%27button%27+or+.%5C%2F%40type+%3D+%27reset%27+or+.%5C%2F%40type+%3D+%27hidden%27%29%5D%5B%28%28.%5C%2F%40id+%3D+%27select_multiple_numbers%5B%5D%27+or+.%5C%2F%40name+%3D+%27select_multiple_numbers%5B%5D%27%29+or+.%5C%2F%40id+%3D+%5C%2F%5C%2Flabel%5Bnormalize-space%28string%28.%29%29+%3D+%27select_multiple_numbers%5B%5D%27%5D%5C%2F%40for+or+.%5C%2F%40placeholder+%3D+%27select_multiple_numbers%5B%5D%27%29%5D+%7C+%5C%2F%5C%2Fhtml%5C%2F.%5C%2F%5C%2Flabel%5Bnormalize-space%28string%28.%29%29+%3D+%27select_multiple_numbers%5B%5D%27%5D%5C%2F%5C%2F.%5C%2F%5C%2F%2A%5Bself%3A%3Ainput%5Bnot%28.%5C%2F%40type+%3D+%27radio%27+or+.%5C%2F%40type+%3D+%27checkbox%27+or+.%5C%2F%40type+%3D+%27file%27%29%5D+%7C+self%3A%3Atextarea%5D%5Bnot%28.%5C%2F%40type+%3D+%27submit%27+or+.%5C%2F%40type+%3D+%27image%27+or+.%5C%2F%40type+%3D+%27button%27+or+.%5C%2F%40type+%3D+%27reset%27+or+.%5C%2F%40type+%3D+%27hidden%27%29%5D+%7C+%5C%2F%5C%2Fhtml%5C%2F.%5C%2F%5C%2F%2A%5Cn%5Bself%3A%3Ainput%5B.%5C%2F%40type+%3D+%27radio%27+or+.%5C%2F%40type+%3D+%27checkbox%27+or+.%5C%2F%40type+%3D+%27file%27%5D+%7C+self%3A%3Aselect%5D%5Bnot%28.%5C%2F%40type+%3D+%27submit%27+or+.%5C%2F%40type+%3D+%27image%27+or+.%5C%2F%40type+%3D+%27button%27+or+.%5C%2F%40type+%3D+%27reset%27+or+.%5C%2F%40type+%3D+%27hidden%27%29%5D%5B%28%28.%5C%2F%40id+%3D+%27select_multiple_numbers%5B%5D%27+or+.%5C%2F%40name+%3D+%27select_multiple_numbers%5B%5D%27%29+or+.%5C%2F%40id+%3D+%5C%2F%5C%2Flabel%5Bnormalize-space%28string%28.%29%29+%3D+%27select_multiple_numbers%5B%5D%27%5D%5C%2F%40for%29%5D+%7C+%5C%2F%5C%2Fhtml%5C%2F.%5C%2F%5C%2Flabel%5Bnormalize-space%28string%28.%29%29+%3D+%27select_multiple_numbers%5B%5D%27%5D%5C%2F%5C%2F.%5C%2F%5C%2F%2A%5Bself%3A%3Ainput%5B.%5C%2F%40type+%3D+%27radio%27+or+.%5C%2F%40type+%3D+%27checkbox%27+or+.%5C%2F%40type+%3D+%27file%27%5D+%7C+self%3A%3Aselect%5D%5Bnot%28.%5C%2F%40type+%3D+%27submit%27+or+.%5C%2F%40type+%3D+%27image%27+or+.%5C%2F%40type+%3D+%27button%27+or+.%5C%2F%40type+%3D+%27reset%27+or+.%5C%2F%40type+%3D+%27hidden%27%29%5D%29%5B1%5D%22%2C+window.document%29%2C%0A++++tagName+%3D+node.tagName.toLowerCase%28%29%2C%0A++++value+%3D+null%3B%0Aif+%28tagName+%3D%3D+%27input%27+%7C%7C+tagName+%3D%3D+%27textarea%27%29+%7B%0A++++var+type+%3D+node.getAttribute%28%27type%27%29%3B%0A++++if+%28type+%3D%3D+%27checkbox%27%29+%7B%0A++++++++value+%3D+node.checked%3B%0A++++%7D+else+if+%28type+%3D%3D+%27radio%27%29+%7B%0A++++++++var+name+%3D+node.getAttribute%28%27name%27%29%3B%0A++++++++if+%28name%29+%7B%0A++++++++++++var+fields+%3D+window.document.getElementsByName%28name%29%2C%0A++++++++++++++++i%2C+l+%3D+fields.length%3B%0A++++++++++++for+%28i+%3D+0%3B+i+%3C+l%3B+i%2B%2B%29+%7B%0A++++++++++++++++var+field+%3D+fields.item%28i%29%3B%0A++++++++++++++++if+%28field.checked%29+%7B%0A++++++++++++++++++++value+%3D+field.value%3B%0A++++++++++++++++++++break%3B%0A++++++++++++++++%7D%0A++++++++++++%7D%0A++++++++%7D%0A++++%7D+else+%7B%0A++++++++value+%3D+node.value%3B%0A++++%7D%0A%7D+else+if+%28tagName+%3D%3D+%27select%27%29+%7B%0A++++if+%28node.getAttribute%28%27multiple%27%29%29+%7B%0A++++++++value+%3D+%5B%5D%3B%0A++++++++for+%28var+i+%3D+0%3B+i+%3C+node.options.length%3B+i%2B%2B%29+%7B%0A++++++++++++if+%28node.options%5Bi%5D.selected%29+%7B%0A++++++++++++++++value.push%28node.options%5Bi%5D.value%29%3B%0A++++++++++++%7D%0A++++++++%7D%0A++++%7D+else+%7B%0A++++++++var+idx+%3D+node.selectedIndex%3B%0A++++++++if+%28idx+%3E%3D+0%29+%7B%0A++++++++++++value+%3D+node.options.item%28idx%29.value%3B%0A++++++++%7D+else+%7B%0A++++++++++++value+%3D+null%3B%0A++++++++%7D%0A++++%7D%0A%7D+else+%7B%0A++value+%3D+node.getAttribute%28%27value%27%29%3B%0A%7D%0AJSON.stringify%28value%29&sessionId=ec4dcd5a3c924ac884e3ccae818030b0): failed to open stream: HTTP request failed! HTTP/1.1 414 Request URI Too Large


.../vendor/alexandresalome/php-selenium/src/Selenium/Driver.php:237
.../vendor/alexandresalome/php-selenium/src/Selenium/Driver.php:103
.../vendor/alexandresalome/php-selenium/src/Selenium/GeneratedBrowser.php:1356
.../src/Behat/Mink/Driver/SeleniumDriver.php:359
.../vendor/behat/mink/src/Behat/Mink/Element/NodeElement.php:91
.../vendor/behat/mink/driver-testsuite/tests/Form/SelectTest.php:21

3) Behat\Mink\Tests\Driver\Form\SelectTest::testElementSelectedStateCheck with data set #0 ('select_number', '30', 'thirty')
fopen(http://selenium-host:4444/selenium-server/driver/?cmd=getEval&1=var+node+%3D+this.browserbot.locateElementByXPath%28%22%28%28%28%5C%2F%5C%2Fhtml%5C%2F.%5C%2F%5C%2F%2A%5Cn%5Bself%3A%3Ainput%5Bnot%28.%5C%2F%40type+%3D+%27radio%27+or+.%5C%2F%40type+%3D+%27checkbox%27+or+.%5C%2F%40type+%3D+%27file%27%29%5D+%7C+self%3A%3Atextarea%5D%5Bnot%28.%5C%2F%40type+%3D+%27submit%27+or+.%5C%2F%40type+%3D+%27image%27+or+.%5C%2F%40type+%3D+%27button%27+or+.%5C%2F%40type+%3D+%27reset%27+or+.%5C%2F%40type+%3D+%27hidden%27%29%5D%5B%28%28.%5C%2F%40id+%3D+%27select_number%27+or+.%5C%2F%40name+%3D+%27select_number%27%29+or+.%5C%2F%40id+%3D+%5C%2F%5C%2Flabel%5Bnormalize-space%28string%28.%29%29+%3D+%27select_number%27%5D%5C%2F%40for+or+.%5C%2F%40placeholder+%3D+%27select_number%27%29%5D+%7C+%5C%2F%5C%2Fhtml%5C%2F.%5C%2F%5C%2Flabel%5Bnormalize-space%28string%28.%29%29+%3D+%27select_number%27%5D%5C%2F%5C%2F.%5C%2F%5C%2F%2A%5Bself%3A%3Ainput%5Bnot%28.%5C%2F%40type+%3D+%27radio%27+or+.%5C%2F%40type+%3D+%27checkbox%27+or+.%5C%2F%40type+%3D+%27file%27%29%5D+%7C+self%3A%3Atextarea%5D%5Bnot%28.%5C%2F%40type+%3D+%27submit%27+or+.%5C%2F%40type+%3D+%27image%27+or+.%5C%2F%40type+%3D+%27button%27+or+.%5C%2F%40type+%3D+%27reset%27+or+.%5C%2F%40type+%3D+%27hidden%27%29%5D+%7C+%5C%2F%5C%2Fhtml%5C%2F.%5C%2F%5C%2F%2A%5Cn%5Bself%3A%3Ainput%5B.%5C%2F%40type+%3D+%27radio%27+or+.%5C%2F%40type+%3D+%27checkbox%27+or+.%5C%2F%40type+%3D+%27file%27%5D+%7C+self%3A%3Aselect%5D%5Bnot%28.%5C%2F%40type+%3D+%27submit%27+or+.%5C%2F%40type+%3D+%27image%27+or+.%5C%2F%40type+%3D+%27button%27+or+.%5C%2F%40type+%3D+%27reset%27+or+.%5C%2F%40type+%3D+%27hidden%27%29%5D%5B%28%28.%5C%2F%40id+%3D+%27select_number%27+or+.%5C%2F%40name+%3D+%27select_number%27%29+or+.%5C%2F%40id+%3D+%5C%2F%5C%2Flabel%5Bnormalize-space%28string%28.%29%29+%3D+%27select_number%27%5D%5C%2F%40for%29%5D+%7C+%5C%2F%5C%2Fhtml%5C%2F.%5C%2F%5C%2Flabel%5Bnormalize-space%28string%28.%29%29+%3D+%27select_number%27%5D%5C%2F%5C%2F.%5C%2F%5C%2F%2A%5Bself%3A%3Ainput%5B.%5C%2F%40type+%3D+%27radio%27+or+.%5C%2F%40type+%3D+%27checkbox%27+or+.%5C%2F%40type+%3D+%27file%27%5D+%7C+self%3A%3Aselect%5D%5Bnot%28.%5C%2F%40type+%3D+%27submit%27+or+.%5C%2F%40type+%3D+%27image%27+or+.%5C%2F%40type+%3D+%27button%27+or+.%5C%2F%40type+%3D+%27reset%27+or+.%5C%2F%40type+%3D+%27hidden%27%29%5D%29%5B1%5D%29%5C%2F.%5C%2F%5C%2Foption%5Cn%5B%28.%5C%2F%40value+%3D+%27thirty%27+or+normalize-space%28string%28.%29%29+%3D+%27thirty%27%29%5D%29%5B1%5D%22%2C+window.document%29%2C%0A++++tagName+%3D+node.tagName.toLowerCase%28%29%2C%0A++++value+%3D+null%3B%0Aif+%28tagName+%3D%3D+%27input%27+%7C%7C+tagName+%3D%3D+%27textarea%27%29+%7B%0A++++var+type+%3D+node.getAttribute%28%27type%27%29%3B%0A++++if+%28type+%3D%3D+%27checkbox%27%29+%7B%0A++++++++value+%3D+node.checked%3B%0A++++%7D+else+if+%28type+%3D%3D+%27radio%27%29+%7B%0A++++++++var+name+%3D+node.getAttribute%28%27name%27%29%3B%0A++++++++if+%28name%29+%7B%0A++++++++++++var+fields+%3D+window.document.getElementsByName%28name%29%2C%0A++++++++++++++++i%2C+l+%3D+fields.length%3B%0A++++++++++++for+%28i+%3D+0%3B+i+%3C+l%3B+i%2B%2B%29+%7B%0A++++++++++++++++var+field+%3D+fields.item%28i%29%3B%0A++++++++++++++++if+%28field.checked%29+%7B%0A++++++++++++++++++++value+%3D+field.value%3B%0A++++++++++++++++++++break%3B%0A++++++++++++++++%7D%0A++++++++++++%7D%0A++++++++%7D%0A++++%7D+else+%7B%0A++++++++value+%3D+node.value%3B%0A++++%7D%0A%7D+else+if+%28tagName+%3D%3D+%27select%27%29+%7B%0A++++if+%28node.getAttribute%28%27multiple%27%29%29+%7B%0A++++++++value+%3D+%5B%5D%3B%0A++++++++for+%28var+i+%3D+0%3B+i+%3C+node.options.length%3B+i%2B%2B%29+%7B%0A++++++++++++if+%28node.options%5Bi%5D.selected%29+%7B%0A++++++++++++++++value.push%28node.options%5Bi%5D.value%29%3B%0A++++++++++++%7D%0A++++++++%7D%0A++++%7D+else+%7B%0A++++++++var+idx+%3D+node.selectedIndex%3B%0A++++++++if+%28idx+%3E%3D+0%29+%7B%0A++++++++++++value+%3D+node.options.item%28idx%29.value%3B%0A++++++++%7D+else+%7B%0A++++++++++++value+%3D+null%3B%0A++++++++%7D%0A++++%7D%0A%7D+else+%7B%0A++value+%3D+node.getAttribute%28%27value%27%29%3B%0A%7D%0AJSON.stringify%28value%29&sessionId=ec4dcd5a3c924ac884e3ccae818030b0): failed to open stream: HTTP request failed! HTTP/1.1 414 Request URI Too Large


.../vendor/alexandresalome/php-selenium/src/Selenium/Driver.php:237
.../vendor/alexandresalome/php-selenium/src/Selenium/Driver.php:103
.../vendor/alexandresalome/php-selenium/src/Selenium/GeneratedBrowser.php:1356
.../src/Behat/Mink/Driver/SeleniumDriver.php:359
.../vendor/behat/mink/src/Behat/Mink/Element/NodeElement.php:91
.../vendor/behat/mink/src/Behat/Mink/Element/NodeElement.php:239
.../vendor/behat/mink/driver-testsuite/tests/Form/SelectTest.php:73

4) Behat\Mink\Tests\Driver\Form\SelectTest::testElementSelectedStateCheck with data set #1 ('select_multiple_numbers[]', '2', 'two')
fopen(http://selenium-host:4444/selenium-server/driver/?cmd=getEval&1=var+node+%3D+this.browserbot.locateElementByXPath%28%22%28%28%28%5C%2F%5C%2Fhtml%5C%2F.%5C%2F%5C%2F%2A%5Cn%5Bself%3A%3Ainput%5Bnot%28.%5C%2F%40type+%3D+%27radio%27+or+.%5C%2F%40type+%3D+%27checkbox%27+or+.%5C%2F%40type+%3D+%27file%27%29%5D+%7C+self%3A%3Atextarea%5D%5Bnot%28.%5C%2F%40type+%3D+%27submit%27+or+.%5C%2F%40type+%3D+%27image%27+or+.%5C%2F%40type+%3D+%27button%27+or+.%5C%2F%40type+%3D+%27reset%27+or+.%5C%2F%40type+%3D+%27hidden%27%29%5D%5B%28%28.%5C%2F%40id+%3D+%27select_multiple_numbers%5B%5D%27+or+.%5C%2F%40name+%3D+%27select_multiple_numbers%5B%5D%27%29+or+.%5C%2F%40id+%3D+%5C%2F%5C%2Flabel%5Bnormalize-space%28string%28.%29%29+%3D+%27select_multiple_numbers%5B%5D%27%5D%5C%2F%40for+or+.%5C%2F%40placeholder+%3D+%27select_multiple_numbers%5B%5D%27%29%5D+%7C+%5C%2F%5C%2Fhtml%5C%2F.%5C%2F%5C%2Flabel%5Bnormalize-space%28string%28.%29%29+%3D+%27select_multiple_numbers%5B%5D%27%5D%5C%2F%5C%2F.%5C%2F%5C%2F%2A%5Bself%3A%3Ainput%5Bnot%28.%5C%2F%40type+%3D+%27radio%27+or+.%5C%2F%40type+%3D+%27checkbox%27+or+.%5C%2F%40type+%3D+%27file%27%29%5D+%7C+self%3A%3Atextarea%5D%5Bnot%28.%5C%2F%40type+%3D+%27submit%27+or+.%5C%2F%40type+%3D+%27image%27+or+.%5C%2F%40type+%3D+%27button%27+or+.%5C%2F%40type+%3D+%27reset%27+or+.%5C%2F%40type+%3D+%27hidden%27%29%5D+%7C+%5C%2F%5C%2Fhtml%5C%2F.%5C%2F%5C%2F%2A%5Cn%5Bself%3A%3Ainput%5B.%5C%2F%40type+%3D+%27radio%27+or+.%5C%2F%40type+%3D+%27checkbox%27+or+.%5C%2F%40type+%3D+%27file%27%5D+%7C+self%3A%3Aselect%5D%5Bnot%28.%5C%2F%40type+%3D+%27submit%27+or+.%5C%2F%40type+%3D+%27image%27+or+.%5C%2F%40type+%3D+%27button%27+or+.%5C%2F%40type+%3D+%27reset%27+or+.%5C%2F%40type+%3D+%27hidden%27%29%5D%5B%28%28.%5C%2F%40id+%3D+%27select_multiple_numbers%5B%5D%27+or+.%5C%2F%40name+%3D+%27select_multiple_numbers%5B%5D%27%29+or+.%5C%2F%40id+%3D+%5C%2F%5C%2Flabel%5Bnormalize-space%28string%28.%29%29+%3D+%27select_multiple_numbers%5B%5D%27%5D%5C%2F%40for%29%5D+%7C+%5C%2F%5C%2Fhtml%5C%2F.%5C%2F%5C%2Flabel%5Bnormalize-space%28string%28.%29%29+%3D+%27select_multiple_numbers%5B%5D%27%5D%5C%2F%5C%2F.%5C%2F%5C%2F%2A%5Bself%3A%3Ainput%5B.%5C%2F%40type+%3D+%27radio%27+or+.%5C%2F%40type+%3D+%27checkbox%27+or+.%5C%2F%40type+%3D+%27file%27%5D+%7C+self%3A%3Aselect%5D%5Bnot%28.%5C%2F%40type+%3D+%27submit%27+or+.%5C%2F%40type+%3D+%27image%27+or+.%5C%2F%40type+%3D+%27button%27+or+.%5C%2F%40type+%3D+%27reset%27+or+.%5C%2F%40type+%3D+%27hidden%27%29%5D%29%5B1%5D%29%5C%2F.%5C%2F%5C%2Foption%5Cn%5B%28.%5C%2F%40value+%3D+%27two%27+or+normalize-space%28string%28.%29%29+%3D+%27two%27%29%5D%29%5B1%5D%22%2C+window.document%29%2C%0A++++tagName+%3D+node.tagName.toLowerCase%28%29%2C%0A++++value+%3D+null%3B%0Aif+%28tagName+%3D%3D+%27input%27+%7C%7C+tagName+%3D%3D+%27textarea%27%29+%7B%0A++++var+type+%3D+node.getAttribute%28%27type%27%29%3B%0A++++if+%28type+%3D%3D+%27checkbox%27%29+%7B%0A++++++++value+%3D+node.checked%3B%0A++++%7D+else+if+%28type+%3D%3D+%27radio%27%29+%7B%0A++++++++var+name+%3D+node.getAttribute%28%27name%27%29%3B%0A++++++++if+%28name%29+%7B%0A++++++++++++var+fields+%3D+window.document.getElementsByName%28name%29%2C%0A++++++++++++++++i%2C+l+%3D+fields.length%3B%0A++++++++++++for+%28i+%3D+0%3B+i+%3C+l%3B+i%2B%2B%29+%7B%0A++++++++++++++++var+field+%3D+fields.item%28i%29%3B%0A++++++++++++++++if+%28field.checked%29+%7B%0A++++++++++++++++++++value+%3D+field.value%3B%0A++++++++++++++++++++break%3B%0A++++++++++++++++%7D%0A++++++++++++%7D%0A++++++++%7D%0A++++%7D+else+%7B%0A++++++++value+%3D+node.value%3B%0A++++%7D%0A%7D+else+if+%28tagName+%3D%3D+%27select%27%29+%7B%0A++++if+%28node.getAttribute%28%27multiple%27%29%29+%7B%0A++++++++value+%3D+%5B%5D%3B%0A++++++++for+%28var+i+%3D+0%3B+i+%3C+node.options.length%3B+i%2B%2B%29+%7B%0A++++++++++++if+%28node.options%5Bi%5D.selected%29+%7B%0A++++++++++++++++value.push%28node.options%5Bi%5D.value%29%3B%0A++++++++++++%7D%0A++++++++%7D%0A++++%7D+else+%7B%0A++++++++var+idx+%3D+node.selectedIndex%3B%0A++++++++if+%28idx+%3E%3D+0%29+%7B%0A++++++++++++value+%3D+node.options.item%28idx%29.value%3B%0A++++++++%7D+else+%7B%0A++++++++++++value+%3D+null%3B%0A++++++++%7D%0A++++%7D%0A%7D+else+%7B%0A++value+%3D+node.getAttribute%28%27value%27%29%3B%0A%7D%0AJSON.stringify%28value%29&sessionId=ec4dcd5a3c924ac884e3ccae818030b0): failed to open stream: HTTP request failed! HTTP/1.1 414 Request URI Too Large


.../vendor/alexandresalome/php-selenium/src/Selenium/Driver.php:237
.../vendor/alexandresalome/php-selenium/src/Selenium/Driver.php:103
.../vendor/alexandresalome/php-selenium/src/Selenium/GeneratedBrowser.php:1356
.../src/Behat/Mink/Driver/SeleniumDriver.php:359
.../vendor/behat/mink/src/Behat/Mink/Element/NodeElement.php:91
.../vendor/behat/mink/src/Behat/Mink/Element/NodeElement.php:239
.../vendor/behat/mink/driver-testsuite/tests/Form/SelectTest.php:73

5) Behat\Mink\Tests\Driver\Form\SelectTest::testSetValueMultiSelect
fopen(http://selenium-host:4444/selenium-server/driver/?cmd=getEval&1=var+node+%3D+this.browserbot.locateElementByXPath%28%22%28%5C%2F%5C%2Fhtml%5C%2F.%5C%2F%5C%2F%2A%5Cn%5Bself%3A%3Ainput%5Bnot%28.%5C%2F%40type+%3D+%27radio%27+or+.%5C%2F%40type+%3D+%27checkbox%27+or+.%5C%2F%40type+%3D+%27file%27%29%5D+%7C+self%3A%3Atextarea%5D%5Bnot%28.%5C%2F%40type+%3D+%27submit%27+or+.%5C%2F%40type+%3D+%27image%27+or+.%5C%2F%40type+%3D+%27button%27+or+.%5C%2F%40type+%3D+%27reset%27+or+.%5C%2F%40type+%3D+%27hidden%27%29%5D%5B%28%28.%5C%2F%40id+%3D+%27select_multiple_values%5B%5D%27+or+.%5C%2F%40name+%3D+%27select_multiple_values%5B%5D%27%29+or+.%5C%2F%40id+%3D+%5C%2F%5C%2Flabel%5Bnormalize-space%28string%28.%29%29+%3D+%27select_multiple_values%5B%5D%27%5D%5C%2F%40for+or+.%5C%2F%40placeholder+%3D+%27select_multiple_values%5B%5D%27%29%5D+%7C+%5C%2F%5C%2Fhtml%5C%2F.%5C%2F%5C%2Flabel%5Bnormalize-space%28string%28.%29%29+%3D+%27select_multiple_values%5B%5D%27%5D%5C%2F%5C%2F.%5C%2F%5C%2F%2A%5Bself%3A%3Ainput%5Bnot%28.%5C%2F%40type+%3D+%27radio%27+or+.%5C%2F%40type+%3D+%27checkbox%27+or+.%5C%2F%40type+%3D+%27file%27%29%5D+%7C+self%3A%3Atextarea%5D%5Bnot%28.%5C%2F%40type+%3D+%27submit%27+or+.%5C%2F%40type+%3D+%27image%27+or+.%5C%2F%40type+%3D+%27button%27+or+.%5C%2F%40type+%3D+%27reset%27+or+.%5C%2F%40type+%3D+%27hidden%27%29%5D+%7C+%5C%2F%5C%2Fhtml%5C%2F.%5C%2F%5C%2F%2A%5Cn%5Bself%3A%3Ainput%5B.%5C%2F%40type+%3D+%27radio%27+or+.%5C%2F%40type+%3D+%27checkbox%27+or+.%5C%2F%40type+%3D+%27file%27%5D+%7C+self%3A%3Aselect%5D%5Bnot%28.%5C%2F%40type+%3D+%27submit%27+or+.%5C%2F%40type+%3D+%27image%27+or+.%5C%2F%40type+%3D+%27button%27+or+.%5C%2F%40type+%3D+%27reset%27+or+.%5C%2F%40type+%3D+%27hidden%27%29%5D%5B%28%28.%5C%2F%40id+%3D+%27select_multiple_values%5B%5D%27+or+.%5C%2F%40name+%3D+%27select_multiple_values%5B%5D%27%29+or+.%5C%2F%40id+%3D+%5C%2F%5C%2Flabel%5Bnormalize-space%28string%28.%29%29+%3D+%27select_multiple_values%5B%5D%27%5D%5C%2F%40for%29%5D+%7C+%5C%2F%5C%2Fhtml%5C%2F.%5C%2F%5C%2Flabel%5Bnormalize-space%28string%28.%29%29+%3D+%27select_multiple_values%5B%5D%27%5D%5C%2F%5C%2F.%5C%2F%5C%2F%2A%5Bself%3A%3Ainput%5B.%5C%2F%40type+%3D+%27radio%27+or+.%5C%2F%40type+%3D+%27checkbox%27+or+.%5C%2F%40type+%3D+%27file%27%5D+%7C+self%3A%3Aselect%5D%5Bnot%28.%5C%2F%40type+%3D+%27submit%27+or+.%5C%2F%40type+%3D+%27image%27+or+.%5C%2F%40type+%3D+%27button%27+or+.%5C%2F%40type+%3D+%27reset%27+or+.%5C%2F%40type+%3D+%27hidden%27%29%5D%29%5B1%5D%22%2C+window.document%29%2C%0A++++tagName+%3D+node.tagName.toLowerCase%28%29%2C%0A++++value+%3D+null%3B%0Aif+%28tagName+%3D%3D+%27input%27+%7C%7C+tagName+%3D%3D+%27textarea%27%29+%7B%0A++++var+type+%3D+node.getAttribute%28%27type%27%29%3B%0A++++if+%28type+%3D%3D+%27checkbox%27%29+%7B%0A++++++++value+%3D+node.checked%3B%0A++++%7D+else+if+%28type+%3D%3D+%27radio%27%29+%7B%0A++++++++var+name+%3D+node.getAttribute%28%27name%27%29%3B%0A++++++++if+%28name%29+%7B%0A++++++++++++var+fields+%3D+window.document.getElementsByName%28name%29%2C%0A++++++++++++++++i%2C+l+%3D+fields.length%3B%0A++++++++++++for+%28i+%3D+0%3B+i+%3C+l%3B+i%2B%2B%29+%7B%0A++++++++++++++++var+field+%3D+fields.item%28i%29%3B%0A++++++++++++++++if+%28field.checked%29+%7B%0A++++++++++++++++++++value+%3D+field.value%3B%0A++++++++++++++++++++break%3B%0A++++++++++++++++%7D%0A++++++++++++%7D%0A++++++++%7D%0A++++%7D+else+%7B%0A++++++++value+%3D+node.value%3B%0A++++%7D%0A%7D+else+if+%28tagName+%3D%3D+%27select%27%29+%7B%0A++++if+%28node.getAttribute%28%27multiple%27%29%29+%7B%0A++++++++value+%3D+%5B%5D%3B%0A++++++++for+%28var+i+%3D+0%3B+i+%3C+node.options.length%3B+i%2B%2B%29+%7B%0A++++++++++++if+%28node.options%5Bi%5D.selected%29+%7B%0A++++++++++++++++value.push%28node.options%5Bi%5D.value%29%3B%0A++++++++++++%7D%0A++++++++%7D%0A++++%7D+else+%7B%0A++++++++var+idx+%3D+node.selectedIndex%3B%0A++++++++if+%28idx+%3E%3D+0%29+%7B%0A++++++++++++value+%3D+node.options.item%28idx%29.value%3B%0A++++++++%7D+else+%7B%0A++++++++++++value+%3D+null%3B%0A++++++++%7D%0A++++%7D%0A%7D+else+%7B%0A++value+%3D+node.getAttribute%28%27value%27%29%3B%0A%7D%0AJSON.stringify%28value%29&sessionId=ec4dcd5a3c924ac884e3ccae818030b0): failed to open stream: HTTP request failed! HTTP/1.1 414 Request URI Too Large


.../vendor/alexandresalome/php-selenium/src/Selenium/Driver.php:237
.../vendor/alexandresalome/php-selenium/src/Selenium/Driver.php:103
.../vendor/alexandresalome/php-selenium/src/Selenium/GeneratedBrowser.php:1356
.../src/Behat/Mink/Driver/SeleniumDriver.php:359
.../vendor/behat/mink/src/Behat/Mink/Element/NodeElement.php:91
.../vendor/behat/mink/driver-testsuite/tests/Form/SelectTest.php:102

6) Behat\Mink\Tests\Driver\Form\SelectTest::testOptionWithoutValue
fopen(http://selenium-host:4444/selenium-server/driver/?cmd=getEval&1=var+node+%3D+this.browserbot.locateElementByXPath%28%22%28%28%28%5C%2F%5C%2Fhtml%5C%2F.%5C%2F%5C%2F%2A%5Cn%5Bself%3A%3Ainput%5Bnot%28.%5C%2F%40type+%3D+%27radio%27+or+.%5C%2F%40type+%3D+%27checkbox%27+or+.%5C%2F%40type+%3D+%27file%27%29%5D+%7C+self%3A%3Atextarea%5D%5Bnot%28.%5C%2F%40type+%3D+%27submit%27+or+.%5C%2F%40type+%3D+%27image%27+or+.%5C%2F%40type+%3D+%27button%27+or+.%5C%2F%40type+%3D+%27reset%27+or+.%5C%2F%40type+%3D+%27hidden%27%29%5D%5B%28%28.%5C%2F%40id+%3D+%27options-without-values%27+or+.%5C%2F%40name+%3D+%27options-without-values%27%29+or+.%5C%2F%40id+%3D+%5C%2F%5C%2Flabel%5Bnormalize-space%28string%28.%29%29+%3D+%27options-without-values%27%5D%5C%2F%40for+or+.%5C%2F%40placeholder+%3D+%27options-without-values%27%29%5D+%7C+%5C%2F%5C%2Fhtml%5C%2F.%5C%2F%5C%2Flabel%5Bnormalize-space%28string%28.%29%29+%3D+%27options-without-values%27%5D%5C%2F%5C%2F.%5C%2F%5C%2F%2A%5Bself%3A%3Ainput%5Bnot%28.%5C%2F%40type+%3D+%27radio%27+or+.%5C%2F%40type+%3D+%27checkbox%27+or+.%5C%2F%40type+%3D+%27file%27%29%5D+%7C+self%3A%3Atextarea%5D%5Bnot%28.%5C%2F%40type+%3D+%27submit%27+or+.%5C%2F%40type+%3D+%27image%27+or+.%5C%2F%40type+%3D+%27button%27+or+.%5C%2F%40type+%3D+%27reset%27+or+.%5C%2F%40type+%3D+%27hidden%27%29%5D+%7C+%5C%2F%5C%2Fhtml%5C%2F.%5C%2F%5C%2F%2A%5Cn%5Bself%3A%3Ainput%5B.%5C%2F%40type+%3D+%27radio%27+or+.%5C%2F%40type+%3D+%27checkbox%27+or+.%5C%2F%40type+%3D+%27file%27%5D+%7C+self%3A%3Aselect%5D%5Bnot%28.%5C%2F%40type+%3D+%27submit%27+or+.%5C%2F%40type+%3D+%27image%27+or+.%5C%2F%40type+%3D+%27button%27+or+.%5C%2F%40type+%3D+%27reset%27+or+.%5C%2F%40type+%3D+%27hidden%27%29%5D%5B%28%28.%5C%2F%40id+%3D+%27options-without-values%27+or+.%5C%2F%40name+%3D+%27options-without-values%27%29+or+.%5C%2F%40id+%3D+%5C%2F%5C%2Flabel%5Bnormalize-space%28string%28.%29%29+%3D+%27options-without-values%27%5D%5C%2F%40for%29%5D+%7C+%5C%2F%5C%2Fhtml%5C%2F.%5C%2F%5C%2Flabel%5Bnormalize-space%28string%28.%29%29+%3D+%27options-without-values%27%5D%5C%2F%5C%2F.%5C%2F%5C%2F%2A%5Bself%3A%3Ainput%5B.%5C%2F%40type+%3D+%27radio%27+or+.%5C%2F%40type+%3D+%27checkbox%27+or+.%5C%2F%40type+%3D+%27file%27%5D+%7C+self%3A%3Aselect%5D%5Bnot%28.%5C%2F%40type+%3D+%27submit%27+or+.%5C%2F%40type+%3D+%27image%27+or+.%5C%2F%40type+%3D+%27button%27+or+.%5C%2F%40type+%3D+%27reset%27+or+.%5C%2F%40type+%3D+%27hidden%27%29%5D%29%5B1%5D%29%5C%2F.%5C%2F%5C%2Foption%5Cn%5B%28.%5C%2F%40value+%3D+%27Two%27+or+normalize-space%28string%28.%29%29+%3D+%27Two%27%29%5D%29%5B1%5D%22%2C+window.document%29%2C%0A++++tagName+%3D+node.tagName.toLowerCase%28%29%2C%0A++++value+%3D+null%3B%0Aif+%28tagName+%3D%3D+%27input%27+%7C%7C+tagName+%3D%3D+%27textarea%27%29+%7B%0A++++var+type+%3D+node.getAttribute%28%27type%27%29%3B%0A++++if+%28type+%3D%3D+%27checkbox%27%29+%7B%0A++++++++value+%3D+node.checked%3B%0A++++%7D+else+if+%28type+%3D%3D+%27radio%27%29+%7B%0A++++++++var+name+%3D+node.getAttribute%28%27name%27%29%3B%0A++++++++if+%28name%29+%7B%0A++++++++++++var+fields+%3D+window.document.getElementsByName%28name%29%2C%0A++++++++++++++++i%2C+l+%3D+fields.length%3B%0A++++++++++++for+%28i+%3D+0%3B+i+%3C+l%3B+i%2B%2B%29+%7B%0A++++++++++++++++var+field+%3D+fields.item%28i%29%3B%0A++++++++++++++++if+%28field.checked%29+%7B%0A++++++++++++++++++++value+%3D+field.value%3B%0A++++++++++++++++++++break%3B%0A++++++++++++++++%7D%0A++++++++++++%7D%0A++++++++%7D%0A++++%7D+else+%7B%0A++++++++value+%3D+node.value%3B%0A++++%7D%0A%7D+else+if+%28tagName+%3D%3D+%27select%27%29+%7B%0A++++if+%28node.getAttribute%28%27multiple%27%29%29+%7B%0A++++++++value+%3D+%5B%5D%3B%0A++++++++for+%28var+i+%3D+0%3B+i+%3C+node.options.length%3B+i%2B%2B%29+%7B%0A++++++++++++if+%28node.options%5Bi%5D.selected%29+%7B%0A++++++++++++++++value.push%28node.options%5Bi%5D.value%29%3B%0A++++++++++++%7D%0A++++++++%7D%0A++++%7D+else+%7B%0A++++++++var+idx+%3D+node.selectedIndex%3B%0A++++++++if+%28idx+%3E%3D+0%29+%7B%0A++++++++++++value+%3D+node.options.item%28idx%29.value%3B%0A++++++++%7D+else+%7B%0A++++++++++++value+%3D+null%3B%0A++++++++%7D%0A++++%7D%0A%7D+else+%7B%0A++value+%3D+node.getAttribute%28%27value%27%29%3B%0A%7D%0AJSON.stringify%28value%29&sessionId=ec4dcd5a3c924ac884e3ccae818030b0): failed to open stream: HTTP request failed! HTTP/1.1 414 Request URI Too Large


.../vendor/alexandresalome/php-selenium/src/Selenium/Driver.php:237
.../vendor/alexandresalome/php-selenium/src/Selenium/Driver.php:103
.../vendor/alexandresalome/php-selenium/src/Selenium/GeneratedBrowser.php:1356
.../src/Behat/Mink/Driver/SeleniumDriver.php:359
.../vendor/behat/mink/src/Behat/Mink/Element/NodeElement.php:91
.../vendor/behat/mink/src/Behat/Mink/Element/NodeElement.php:239
.../vendor/behat/mink/src/Behat/Mink/Element/TraversableElement.php:272
.../vendor/behat/mink/driver-testsuite/tests/Form/SelectTest.php:113

7) Behat\Mink\Tests\Driver\Form\SelectTest::testAccentuatedOption
fopen(http://selenium-host:4444/selenium-server/driver/?cmd=getEval&1=var+node+%3D+this.browserbot.locateElementByXPath%28%22%28%28%28%5C%2F%5C%2Fhtml%5C%2F.%5C%2F%5C%2F%2A%5Cn%5Bself%3A%3Ainput%5Bnot%28.%5C%2F%40type+%3D+%27radio%27+or+.%5C%2F%40type+%3D+%27checkbox%27+or+.%5C%2F%40type+%3D+%27file%27%29%5D+%7C+self%3A%3Atextarea%5D%5Bnot%28.%5C%2F%40type+%3D+%27submit%27+or+.%5C%2F%40type+%3D+%27image%27+or+.%5C%2F%40type+%3D+%27button%27+or+.%5C%2F%40type+%3D+%27reset%27+or+.%5C%2F%40type+%3D+%27hidden%27%29%5D%5B%28%28.%5C%2F%40id+%3D+%27foobar%27+or+.%5C%2F%40name+%3D+%27foobar%27%29+or+.%5C%2F%40id+%3D+%5C%2F%5C%2Flabel%5Bnormalize-space%28string%28.%29%29+%3D+%27foobar%27%5D%5C%2F%40for+or+.%5C%2F%40placeholder+%3D+%27foobar%27%29%5D+%7C+%5C%2F%5C%2Fhtml%5C%2F.%5C%2F%5C%2Flabel%5Bnormalize-space%28string%28.%29%29+%3D+%27foobar%27%5D%5C%2F%5C%2F.%5C%2F%5C%2F%2A%5Bself%3A%3Ainput%5Bnot%28.%5C%2F%40type+%3D+%27radio%27+or+.%5C%2F%40type+%3D+%27checkbox%27+or+.%5C%2F%40type+%3D+%27file%27%29%5D+%7C+self%3A%3Atextarea%5D%5Bnot%28.%5C%2F%40type+%3D+%27submit%27+or+.%5C%2F%40type+%3D+%27image%27+or+.%5C%2F%40type+%3D+%27button%27+or+.%5C%2F%40type+%3D+%27reset%27+or+.%5C%2F%40type+%3D+%27hidden%27%29%5D+%7C+%5C%2F%5C%2Fhtml%5C%2F.%5C%2F%5C%2F%2A%5Cn%5Bself%3A%3Ainput%5B.%5C%2F%40type+%3D+%27radio%27+or+.%5C%2F%40type+%3D+%27checkbox%27+or+.%5C%2F%40type+%3D+%27file%27%5D+%7C+self%3A%3Aselect%5D%5Bnot%28.%5C%2F%40type+%3D+%27submit%27+or+.%5C%2F%40type+%3D+%27image%27+or+.%5C%2F%40type+%3D+%27button%27+or+.%5C%2F%40type+%3D+%27reset%27+or+.%5C%2F%40type+%3D+%27hidden%27%29%5D%5B%28%28.%5C%2F%40id+%3D+%27foobar%27+or+.%5C%2F%40name+%3D+%27foobar%27%29+or+.%5C%2F%40id+%3D+%5C%2F%5C%2Flabel%5Bnormalize-space%28string%28.%29%29+%3D+%27foobar%27%5D%5C%2F%40for%29%5D+%7C+%5C%2F%5C%2Fhtml%5C%2F.%5C%2F%5C%2Flabel%5Bnormalize-space%28string%28.%29%29+%3D+%27foobar%27%5D%5C%2F%5C%2F.%5C%2F%5C%2F%2A%5Bself%3A%3Ainput%5B.%5C%2F%40type+%3D+%27radio%27+or+.%5C%2F%40type+%3D+%27checkbox%27+or+.%5C%2F%40type+%3D+%27file%27%5D+%7C+self%3A%3Aselect%5D%5Bnot%28.%5C%2F%40type+%3D+%27submit%27+or+.%5C%2F%40type+%3D+%27image%27+or+.%5C%2F%40type+%3D+%27button%27+or+.%5C%2F%40type+%3D+%27reset%27+or+.%5C%2F%40type+%3D+%27hidden%27%29%5D%29%5B1%5D%29%5C%2F.%5C%2F%5C%2Foption%5Cn%5B%28.%5C%2F%40value+%3D+%27Gimme+some+accentu%5Cu00e9s+characters%27+or+normalize-space%28string%28.%29%29+%3D+%27Gimme+some+accentu%5Cu00e9s+characters%27%29%5D%29%5B1%5D%22%2C+window.document%29%2C%0A++++tagName+%3D+node.tagName.toLowerCase%28%29%2C%0A++++value+%3D+null%3B%0Aif+%28tagName+%3D%3D+%27input%27+%7C%7C+tagName+%3D%3D+%27textarea%27%29+%7B%0A++++var+type+%3D+node.getAttribute%28%27type%27%29%3B%0A++++if+%28type+%3D%3D+%27checkbox%27%29+%7B%0A++++++++value+%3D+node.checked%3B%0A++++%7D+else+if+%28type+%3D%3D+%27radio%27%29+%7B%0A++++++++var+name+%3D+node.getAttribute%28%27name%27%29%3B%0A++++++++if+%28name%29+%7B%0A++++++++++++var+fields+%3D+window.document.getElementsByName%28name%29%2C%0A++++++++++++++++i%2C+l+%3D+fields.length%3B%0A++++++++++++for+%28i+%3D+0%3B+i+%3C+l%3B+i%2B%2B%29+%7B%0A++++++++++++++++var+field+%3D+fields.item%28i%29%3B%0A++++++++++++++++if+%28field.checked%29+%7B%0A++++++++++++++++++++value+%3D+field.value%3B%0A++++++++++++++++++++break%3B%0A++++++++++++++++%7D%0A++++++++++++%7D%0A++++++++%7D%0A++++%7D+else+%7B%0A++++++++value+%3D+node.value%3B%0A++++%7D%0A%7D+else+if+%28tagName+%3D%3D+%27select%27%29+%7B%0A++++if+%28node.getAttribute%28%27multiple%27%29%29+%7B%0A++++++++value+%3D+%5B%5D%3B%0A++++++++for+%28var+i+%3D+0%3B+i+%3C+node.options.length%3B+i%2B%2B%29+%7B%0A++++++++++++if+%28node.options%5Bi%5D.selected%29+%7B%0A++++++++++++++++value.push%28node.options%5Bi%5D.value%29%3B%0A++++++++++++%7D%0A++++++++%7D%0A++++%7D+else+%7B%0A++++++++var+idx+%3D+node.selectedIndex%3B%0A++++++++if+%28idx+%3E%3D+0%29+%7B%0A++++++++++++value+%3D+node.options.item%28idx%29.value%3B%0A++++++++%7D+else+%7B%0A++++++++++++value+%3D+null%3B%0A++++++++%7D%0A++++%7D%0A%7D+else+%7B%0A++value+%3D+node.getAttribute%28%27value%27%29%3B%0A%7D%0AJSON.stringify%28value%29&sessionId=ec4dcd5a3c924ac884e3ccae818030b0): failed to open stream: HTTP request failed! HTTP/1.1 414 Request URI Too Large


.../vendor/alexandresalome/php-selenium/src/Selenium/Driver.php:237
.../vendor/alexandresalome/php-selenium/src/Selenium/Driver.php:103
.../vendor/alexandresalome/php-selenium/src/Selenium/GeneratedBrowser.php:1356
.../src/Behat/Mink/Driver/SeleniumDriver.php:359
.../vendor/behat/mink/src/Behat/Mink/Element/NodeElement.php:91
.../vendor/behat/mink/src/Behat/Mink/Element/NodeElement.php:239
.../vendor/behat/mink/src/Behat/Mink/Element/TraversableElement.php:272
.../vendor/behat/mink/driver-testsuite/tests/Form/SelectTest.php:131

8) Behat\Mink\Tests\Driver\Js\ChangeEventTest::testIssue255
fopen(http://selenium-host:4444/selenium-server/driver/?cmd=getEval&1=var+node+%3D+this.browserbot.locateElementByXPath%28%22%28%28%28%5C%2F%5C%2Fhtml%5C%2F.%5C%2F%5C%2F%2A%5Cn%5Bself%3A%3Ainput%5Bnot%28.%5C%2F%40type+%3D+%27radio%27+or+.%5C%2F%40type+%3D+%27checkbox%27+or+.%5C%2F%40type+%3D+%27file%27%29%5D+%7C+self%3A%3Atextarea%5D%5Bnot%28.%5C%2F%40type+%3D+%27submit%27+or+.%5C%2F%40type+%3D+%27image%27+or+.%5C%2F%40type+%3D+%27button%27+or+.%5C%2F%40type+%3D+%27reset%27+or+.%5C%2F%40type+%3D+%27hidden%27%29%5D%5B%28%28.%5C%2F%40id+%3D+%27foo_select%27+or+.%5C%2F%40name+%3D+%27foo_select%27%29+or+.%5C%2F%40id+%3D+%5C%2F%5C%2Flabel%5Bnormalize-space%28string%28.%29%29+%3D+%27foo_select%27%5D%5C%2F%40for+or+.%5C%2F%40placeholder+%3D+%27foo_select%27%29%5D+%7C+%5C%2F%5C%2Fhtml%5C%2F.%5C%2F%5C%2Flabel%5Bnormalize-space%28string%28.%29%29+%3D+%27foo_select%27%5D%5C%2F%5C%2F.%5C%2F%5C%2F%2A%5Bself%3A%3Ainput%5Bnot%28.%5C%2F%40type+%3D+%27radio%27+or+.%5C%2F%40type+%3D+%27checkbox%27+or+.%5C%2F%40type+%3D+%27file%27%29%5D+%7C+self%3A%3Atextarea%5D%5Bnot%28.%5C%2F%40type+%3D+%27submit%27+or+.%5C%2F%40type+%3D+%27image%27+or+.%5C%2F%40type+%3D+%27button%27+or+.%5C%2F%40type+%3D+%27reset%27+or+.%5C%2F%40type+%3D+%27hidden%27%29%5D+%7C+%5C%2F%5C%2Fhtml%5C%2F.%5C%2F%5C%2F%2A%5Cn%5Bself%3A%3Ainput%5B.%5C%2F%40type+%3D+%27radio%27+or+.%5C%2F%40type+%3D+%27checkbox%27+or+.%5C%2F%40type+%3D+%27file%27%5D+%7C+self%3A%3Aselect%5D%5Bnot%28.%5C%2F%40type+%3D+%27submit%27+or+.%5C%2F%40type+%3D+%27image%27+or+.%5C%2F%40type+%3D+%27button%27+or+.%5C%2F%40type+%3D+%27reset%27+or+.%5C%2F%40type+%3D+%27hidden%27%29%5D%5B%28%28.%5C%2F%40id+%3D+%27foo_select%27+or+.%5C%2F%40name+%3D+%27foo_select%27%29+or+.%5C%2F%40id+%3D+%5C%2F%5C%2Flabel%5Bnormalize-space%28string%28.%29%29+%3D+%27foo_select%27%5D%5C%2F%40for%29%5D+%7C+%5C%2F%5C%2Fhtml%5C%2F.%5C%2F%5C%2Flabel%5Bnormalize-space%28string%28.%29%29+%3D+%27foo_select%27%5D%5C%2F%5C%2F.%5C%2F%5C%2F%2A%5Bself%3A%3Ainput%5B.%5C%2F%40type+%3D+%27radio%27+or+.%5C%2F%40type+%3D+%27checkbox%27+or+.%5C%2F%40type+%3D+%27file%27%5D+%7C+self%3A%3Aselect%5D%5Bnot%28.%5C%2F%40type+%3D+%27submit%27+or+.%5C%2F%40type+%3D+%27image%27+or+.%5C%2F%40type+%3D+%27button%27+or+.%5C%2F%40type+%3D+%27reset%27+or+.%5C%2F%40type+%3D+%27hidden%27%29%5D%29%5B1%5D%29%5C%2F.%5C%2F%5C%2Foption%5Cn%5B%28.%5C%2F%40value+%3D+%27Option+3%27+or+normalize-space%28string%28.%29%29+%3D+%27Option+3%27%29%5D%29%5B1%5D%22%2C+window.document%29%2C%0A++++tagName+%3D+node.tagName.toLowerCase%28%29%2C%0A++++value+%3D+null%3B%0Aif+%28tagName+%3D%3D+%27input%27+%7C%7C+tagName+%3D%3D+%27textarea%27%29+%7B%0A++++var+type+%3D+node.getAttribute%28%27type%27%29%3B%0A++++if+%28type+%3D%3D+%27checkbox%27%29+%7B%0A++++++++value+%3D+node.checked%3B%0A++++%7D+else+if+%28type+%3D%3D+%27radio%27%29+%7B%0A++++++++var+name+%3D+node.getAttribute%28%27name%27%29%3B%0A++++++++if+%28name%29+%7B%0A++++++++++++var+fields+%3D+window.document.getElementsByName%28name%29%2C%0A++++++++++++++++i%2C+l+%3D+fields.length%3B%0A++++++++++++for+%28i+%3D+0%3B+i+%3C+l%3B+i%2B%2B%29+%7B%0A++++++++++++++++var+field+%3D+fields.item%28i%29%3B%0A++++++++++++++++if+%28field.checked%29+%7B%0A++++++++++++++++++++value+%3D+field.value%3B%0A++++++++++++++++++++break%3B%0A++++++++++++++++%7D%0A++++++++++++%7D%0A++++++++%7D%0A++++%7D+else+%7B%0A++++++++value+%3D+node.value%3B%0A++++%7D%0A%7D+else+if+%28tagName+%3D%3D+%27select%27%29+%7B%0A++++if+%28node.getAttribute%28%27multiple%27%29%29+%7B%0A++++++++value+%3D+%5B%5D%3B%0A++++++++for+%28var+i+%3D+0%3B+i+%3C+node.options.length%3B+i%2B%2B%29+%7B%0A++++++++++++if+%28node.options%5Bi%5D.selected%29+%7B%0A++++++++++++++++value.push%28node.options%5Bi%5D.value%29%3B%0A++++++++++++%7D%0A++++++++%7D%0A++++%7D+else+%7B%0A++++++++var+idx+%3D+node.selectedIndex%3B%0A++++++++if+%28idx+%3E%3D+0%29+%7B%0A++++++++++++value+%3D+node.options.item%28idx%29.value%3B%0A++++++++%7D+else+%7B%0A++++++++++++value+%3D+null%3B%0A++++++++%7D%0A++++%7D%0A%7D+else+%7B%0A++value+%3D+node.getAttribute%28%27value%27%29%3B%0A%7D%0AJSON.stringify%28value%29&sessionId=ec4dcd5a3c924ac884e3ccae818030b0): failed to open stream: HTTP request failed! HTTP/1.1 414 Request URI Too Large


.../vendor/alexandresalome/php-selenium/src/Selenium/Driver.php:237
.../vendor/alexandresalome/php-selenium/src/Selenium/Driver.php:103
.../vendor/alexandresalome/php-selenium/src/Selenium/GeneratedBrowser.php:1356
.../src/Behat/Mink/Driver/SeleniumDriver.php:359
.../vendor/behat/mink/src/Behat/Mink/Element/NodeElement.php:91
.../vendor/behat/mink/src/Behat/Mink/Element/NodeElement.php:239
.../vendor/behat/mink/src/Behat/Mink/Element/TraversableElement.php:272
.../vendor/behat/mink/driver-testsuite/tests/Js/ChangeEventTest.php:19

Looks like stuff isn't properly encoded when sent to Selenium server. I wonder why this started to happen, when all was working before.

Support more than cookie value

Hi,
When trying to check the expiry of a cookie, I found that it's only possible to extract the value of a single cookie, but not other fields such as expiry, path, domain etc.

As you can see, the driver currently only uses GetCookieByName but not the GetCookie Selenese command.

    /**
     * @see Behat\Mink\Driver\DriverInterface::getCookie()
     */
    public function getCookie($name)
    {
        if ($this->browser->isCookiePresent($name)) {
            return $this->browser->getCookieByName($name);
        }

        return null;
    }

GetCookieByName only exposes the cookie value:
https://code.google.com/p/selenium/source/browse/java/client/src/org/openqa/selenium/internal/seleniumemulation/GetCookieByName.java?r=f5dffeb128068922f84e1112ce2e1e296db66ded

GetCookie exposes all fields from all cookies:
https://code.google.com/p/selenium/source/browse/java/client/src/org/openqa/selenium/internal/seleniumemulation/GetCookie.java?r=f5dffeb128068922f84e1112ce2e1e296db66ded

Cookie class, for reference of what fields are available:
https://code.google.com/p/selenium/source/browse/java/client/src/org/openqa/selenium/Cookie.java?r=f5dffeb128068922f84e1112ce2e1e296db66ded#154

What are your thoughts about this?

evaluateScript support

@alexandresalome currently, the driver marks evaluateScript as unsupported by the driver. Wouldn't it be possible to implement it through $this->browser->getEval() ?

Throw exception when acting on missing elements

The exception should be thrown, when attempting to act (e.g. click) on missing elements.

Here is relevant output part from current test suite run:

1) Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest::testCheckInvalidElement
Failed asserting that exception of type "Behat\Mink\Exception\DriverException" is thrown.

2) Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest::testCheckNotFoundElement
Failed asserting that exception of type "Selenium\Exception" matches expected exception "Behat\Mink\Exception\DriverException". Message was: "Unexpected response from Selenium server : ERROR: Element xpath=//html/./invalid not found" at
#0 .../vendor/alexandresalome/php-selenium/src/Selenium/GeneratedBrowser.php(609): Selenium\Driver->action('check', 'xpath=//html/./...')
#1 .../src/Behat/Mink/Driver/SeleniumDriver.php(375): Selenium\GeneratedBrowser->check('xpath=//html/./...')
#2 .../vendor/behat/mink/driver-testsuite/tests/Basic/ErrorHandlingTest.php(36): Behat\Mink\Driver\SeleniumDriver->check('//html/./invali...')
#3 [internal function]: Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest->testCheckNotFoundElement()
#4 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(951): ReflectionMethod->invokeArgs(Object(Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest), Array)
#5 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(817): PHPUnit_Framework_TestCase->runTest()
#6 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestResult.php(686): PHPUnit_Framework_TestCase->runBare()
#7 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(753): PHPUnit_Framework_TestResult->run(Object(Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest))
#8 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit_Framework_TestCase->run(Object(PHPUnit_Framework_TestResult))
#9 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#10 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(426): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#11 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(179): PHPUnit_TextUI_TestRunner->doRun(Object(PHPUnit_Framework_TestSuite), Array)
#12 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(132): PHPUnit_TextUI_Command->run(Array, true)
#13 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/phpunit(55): PHPUnit_TextUI_Command::main()
#14 {main}.

3) Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest::testUncheckInvalidElement
Failed asserting that exception of type "Behat\Mink\Exception\DriverException" is thrown.

4) Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest::testUncheckNotFoundElement
Failed asserting that exception of type "Selenium\Exception" matches expected exception "Behat\Mink\Exception\DriverException". Message was: "Unexpected response from Selenium server : ERROR: Element xpath=//html/./invalid not found" at
#0 .../vendor/alexandresalome/php-selenium/src/Selenium/GeneratedBrowser.php(623): Selenium\Driver->action('uncheck', 'xpath=//html/./...')
#1 .../src/Behat/Mink/Driver/SeleniumDriver.php(383): Selenium\GeneratedBrowser->uncheck('xpath=//html/./...')
#2 .../vendor/behat/mink/driver-testsuite/tests/Basic/ErrorHandlingTest.php(55): Behat\Mink\Driver\SeleniumDriver->uncheck('//html/./invali...')
#3 [internal function]: Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest->testUncheckNotFoundElement()
#4 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(951): ReflectionMethod->invokeArgs(Object(Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest), Array)
#5 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(817): PHPUnit_Framework_TestCase->runTest()
#6 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestResult.php(686): PHPUnit_Framework_TestCase->runBare()
#7 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(753): PHPUnit_Framework_TestResult->run(Object(Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest))
#8 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit_Framework_TestCase->run(Object(PHPUnit_Framework_TestResult))
#9 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#10 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(426): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#11 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(179): PHPUnit_TextUI_TestRunner->doRun(Object(PHPUnit_Framework_TestSuite), Array)
#12 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(132): PHPUnit_TextUI_Command->run(Array, true)
#13 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/phpunit(55): PHPUnit_TextUI_Command::main()
#14 {main}.

5) Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest::testSelectOptionInvalidElement
Failed asserting that exception of type "Behat\Mink\Exception\DriverException" is thrown.

6) Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest::testSelectOptionNotFoundElement
Failed asserting that exception of type "Selenium\Exception" matches expected exception "Behat\Mink\Exception\DriverException". Message was: "Unexpected response from Selenium server : ERROR: Threw an exception: node is null" at
#0 .../vendor/alexandresalome/php-selenium/src/Selenium/GeneratedBrowser.php(1356): Selenium\Driver->getString('getEval', '// Function to ...')
#1 .../src/Behat/Mink/Driver/SeleniumDriver.php(439): Selenium\GeneratedBrowser->getEval('// Function to ...')
#2 .../vendor/behat/mink/driver-testsuite/tests/Basic/ErrorHandlingTest.php(74): Behat\Mink\Driver\SeleniumDriver->selectOption('//html/./invali...', 'test')
#3 [internal function]: Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest->testSelectOptionNotFoundElement()
#4 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(951): ReflectionMethod->invokeArgs(Object(Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest), Array)
#5 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(817): PHPUnit_Framework_TestCase->runTest()
#6 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestResult.php(686): PHPUnit_Framework_TestCase->runBare()
#7 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(753): PHPUnit_Framework_TestResult->run(Object(Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest))
#8 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit_Framework_TestCase->run(Object(PHPUnit_Framework_TestResult))
#9 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#10 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(426): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#11 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(179): PHPUnit_TextUI_TestRunner->doRun(Object(PHPUnit_Framework_TestSuite), Array)
#12 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(132): PHPUnit_TextUI_Command->run(Array, true)
#13 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/phpunit(55): PHPUnit_TextUI_Command::main()
#14 {main}.

7) Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest::testAttachFileInvalidElement
Failed asserting that exception of type "Selenium\Exception" matches expected exception "Behat\Mink\Exception\DriverException". Message was: "Unexpected response from Selenium server : java.lang.RuntimeException: java.io.FileNotFoundException: .../vendor/behat/mink/driver-testsuite/tests/Basic/ErrorHandlingTest.php (No such file or directory)" at
#0 .../vendor/alexandresalome/php-selenium/src/Selenium/GeneratedBrowser.php(2493): Selenium\Driver->action('attachFile', 'xpath=(//html/....', 'file:///mnt/hd/...')
#1 .../src/Behat/Mink/Driver/SeleniumDriver.php(485): Selenium\GeneratedBrowser->attachFile('xpath=(//html/....', 'file:///mnt/hd/...')
#2 .../vendor/behat/mink/driver-testsuite/tests/Basic/ErrorHandlingTest.php(85): Behat\Mink\Driver\SeleniumDriver->attachFile('(//html/.//*[./...', '/mnt/hd/home/al...')
#3 [internal function]: Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest->testAttachFileInvalidElement()
#4 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(951): ReflectionMethod->invokeArgs(Object(Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest), Array)
#5 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(817): PHPUnit_Framework_TestCase->runTest()
#6 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestResult.php(686): PHPUnit_Framework_TestCase->runBare()
#7 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(753): PHPUnit_Framework_TestResult->run(Object(Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest))
#8 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit_Framework_TestCase->run(Object(PHPUnit_Framework_TestResult))
#9 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#10 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(426): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#11 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(179): PHPUnit_TextUI_TestRunner->doRun(Object(PHPUnit_Framework_TestSuite), Array)
#12 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(132): PHPUnit_TextUI_Command->run(Array, true)
#13 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/phpunit(55): PHPUnit_TextUI_Command::main()
#14 {main}.

8) Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest::testAttachFileNotFoundElement
Failed asserting that exception of type "Selenium\Exception" matches expected exception "Behat\Mink\Exception\DriverException". Message was: "Unexpected response from Selenium server : java.lang.RuntimeException: java.io.FileNotFoundException: .../vendor/behat/mink/driver-testsuite/tests/Basic/ErrorHandlingTest.php (No such file or directory)" at
#0 .../vendor/alexandresalome/php-selenium/src/Selenium/GeneratedBrowser.php(2493): Selenium\Driver->action('attachFile', 'xpath=//html/./...', 'file:///mnt/hd/...')
#1 .../src/Behat/Mink/Driver/SeleniumDriver.php(485): Selenium\GeneratedBrowser->attachFile('xpath=//html/./...', 'file:///mnt/hd/...')
#2 .../vendor/behat/mink/driver-testsuite/tests/Basic/ErrorHandlingTest.php(93): Behat\Mink\Driver\SeleniumDriver->attachFile('//html/./invali...', '/mnt/hd/home/al...')
#3 [internal function]: Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest->testAttachFileNotFoundElement()
#4 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(951): ReflectionMethod->invokeArgs(Object(Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest), Array)
#5 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(817): PHPUnit_Framework_TestCase->runTest()
#6 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestResult.php(686): PHPUnit_Framework_TestCase->runBare()
#7 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(753): PHPUnit_Framework_TestResult->run(Object(Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest))
#8 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit_Framework_TestCase->run(Object(PHPUnit_Framework_TestResult))
#9 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#10 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(426): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#11 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(179): PHPUnit_TextUI_TestRunner->doRun(Object(PHPUnit_Framework_TestSuite), Array)
#12 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(132): PHPUnit_TextUI_Command->run(Array, true)
#13 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/phpunit(55): PHPUnit_TextUI_Command::main()
#14 {main}.

9) Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest::testSubmitFormInvalidElement
Failed asserting that exception of type "Selenium\Exception" matches expected exception "Behat\Mink\Exception\DriverException". Message was: "Unexpected response from Selenium server : ERROR: Command execution failure. Please search the user group at https://groups.google.com/forum/#!forum/selenium-users for error details from the log window.  The error message is: formElement.submit is not a function" at
#0 .../vendor/alexandresalome/php-selenium/src/Selenium/GeneratedBrowser.php(753): Selenium\Driver->action('submit', 'xpath=(//html/....')
#1 .../src/Behat/Mink/Driver/SeleniumDriver.php(714): Selenium\GeneratedBrowser->submit('xpath=(//html/....')
#2 .../vendor/behat/mink/driver-testsuite/tests/Basic/ErrorHandlingTest.php(104): Behat\Mink\Driver\SeleniumDriver->submitForm('(//html/.//*[./...')
#3 [internal function]: Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest->testSubmitFormInvalidElement()
#4 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(951): ReflectionMethod->invokeArgs(Object(Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest), Array)
#5 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(817): PHPUnit_Framework_TestCase->runTest()
#6 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestResult.php(686): PHPUnit_Framework_TestCase->runBare()
#7 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(753): PHPUnit_Framework_TestResult->run(Object(Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest))
#8 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit_Framework_TestCase->run(Object(PHPUnit_Framework_TestResult))
#9 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#10 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(426): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#11 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(179): PHPUnit_TextUI_TestRunner->doRun(Object(PHPUnit_Framework_TestSuite), Array)
#12 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(132): PHPUnit_TextUI_Command->run(Array, true)
#13 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/phpunit(55): PHPUnit_TextUI_Command::main()
#14 {main}.

10) Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest::testSubmitFormNotFoundElement
Failed asserting that exception of type "Selenium\Exception" matches expected exception "Behat\Mink\Exception\DriverException". Message was: "Unexpected response from Selenium server : ERROR: Element xpath=//html/./invalid not found" at
#0 .../vendor/alexandresalome/php-selenium/src/Selenium/GeneratedBrowser.php(753): Selenium\Driver->action('submit', 'xpath=//html/./...')
#1 .../src/Behat/Mink/Driver/SeleniumDriver.php(714): Selenium\GeneratedBrowser->submit('xpath=//html/./...')
#2 .../vendor/behat/mink/driver-testsuite/tests/Basic/ErrorHandlingTest.php(112): Behat\Mink\Driver\SeleniumDriver->submitForm('//html/./invali...')
#3 [internal function]: Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest->testSubmitFormNotFoundElement()
#4 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(951): ReflectionMethod->invokeArgs(Object(Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest), Array)
#5 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(817): PHPUnit_Framework_TestCase->runTest()
#6 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestResult.php(686): PHPUnit_Framework_TestCase->runBare()
#7 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(753): PHPUnit_Framework_TestResult->run(Object(Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest))
#8 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit_Framework_TestCase->run(Object(PHPUnit_Framework_TestResult))
#9 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#10 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(426): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#11 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(179): PHPUnit_TextUI_TestRunner->doRun(Object(PHPUnit_Framework_TestSuite), Array)
#12 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(132): PHPUnit_TextUI_Command->run(Array, true)
#13 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/phpunit(55): PHPUnit_TextUI_Command::main()
#14 {main}.

11) Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest::testGetTextNotFoundElement
Failed asserting that exception of type "Selenium\Exception" matches expected exception "Behat\Mink\Exception\DriverException". Message was: "Unexpected response from Selenium server : ERROR: Element xpath=//html/./invalid not found" at
#0 .../vendor/alexandresalome/php-selenium/src/Selenium/GeneratedBrowser.php(1314): Selenium\Driver->getString('getText', 'xpath=//html/./...')
#1 .../src/Behat/Mink/Driver/SeleniumDriver.php(257): Selenium\GeneratedBrowser->getText('xpath=//html/./...')
#2 .../vendor/behat/mink/driver-testsuite/tests/Basic/ErrorHandlingTest.php(128): Behat\Mink\Driver\SeleniumDriver->getText('//html/./invali...')
#3 [internal function]: Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest->testGetTextNotFoundElement()
#4 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(951): ReflectionMethod->invokeArgs(Object(Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest), Array)
#5 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(817): PHPUnit_Framework_TestCase->runTest()
#6 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestResult.php(686): PHPUnit_Framework_TestCase->runBare()
#7 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(753): PHPUnit_Framework_TestResult->run(Object(Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest))
#8 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit_Framework_TestCase->run(Object(PHPUnit_Framework_TestResult))
#9 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#10 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(426): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#11 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(179): PHPUnit_TextUI_TestRunner->doRun(Object(PHPUnit_Framework_TestSuite), Array)
#12 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(132): PHPUnit_TextUI_Command->run(Array, true)
#13 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/phpunit(55): PHPUnit_TextUI_Command::main()
#14 {main}.

12) Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest::testGetValueNotFoundElement
Failed asserting that exception of type "Selenium\Exception" matches expected exception "Behat\Mink\Exception\DriverException". Message was: "Unexpected response from Selenium server : ERROR: Threw an exception: node is null" at
#0 .../vendor/alexandresalome/php-selenium/src/Selenium/GeneratedBrowser.php(1356): Selenium\Driver->getString('getEval', 'var node = this...')
#1 .../src/Behat/Mink/Driver/SeleniumDriver.php(359): Selenium\GeneratedBrowser->getEval('var node = this...')
#2 .../vendor/behat/mink/driver-testsuite/tests/Basic/ErrorHandlingTest.php(152): Behat\Mink\Driver\SeleniumDriver->getValue('//html/./invali...')
#3 [internal function]: Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest->testGetValueNotFoundElement()
#4 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(951): ReflectionMethod->invokeArgs(Object(Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest), Array)
#5 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(817): PHPUnit_Framework_TestCase->runTest()
#6 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestResult.php(686): PHPUnit_Framework_TestCase->runBare()
#7 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(753): PHPUnit_Framework_TestResult->run(Object(Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest))
#8 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit_Framework_TestCase->run(Object(PHPUnit_Framework_TestResult))
#9 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#10 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(426): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#11 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(179): PHPUnit_TextUI_TestRunner->doRun(Object(PHPUnit_Framework_TestSuite), Array)
#12 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(132): PHPUnit_TextUI_Command->run(Array, true)
#13 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/phpunit(55): PHPUnit_TextUI_Command::main()
#14 {main}.

13) Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest::testSetValueNotFoundElement
Failed asserting that exception of type "Selenium\Exception" matches expected exception "Behat\Mink\Exception\DriverException". Message was: "Unexpected response from Selenium server : ERROR: Element xpath=//html/./invalid not found" at
#0 .../vendor/alexandresalome/php-selenium/src/Selenium/GeneratedBrowser.php(530): Selenium\Driver->action('type', 'xpath=//html/./...', 'test')
#1 .../src/Behat/Mink/Driver/SeleniumDriver.php(367): Selenium\GeneratedBrowser->type('xpath=//html/./...', 'test')
#2 .../vendor/behat/mink/driver-testsuite/tests/Basic/ErrorHandlingTest.php(160): Behat\Mink\Driver\SeleniumDriver->setValue('//html/./invali...', 'test')
#3 [internal function]: Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest->testSetValueNotFoundElement()
#4 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(951): ReflectionMethod->invokeArgs(Object(Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest), Array)
#5 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(817): PHPUnit_Framework_TestCase->runTest()
#6 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestResult.php(686): PHPUnit_Framework_TestCase->runBare()
#7 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(753): PHPUnit_Framework_TestResult->run(Object(Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest))
#8 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit_Framework_TestCase->run(Object(PHPUnit_Framework_TestResult))
#9 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#10 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(426): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#11 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(179): PHPUnit_TextUI_TestRunner->doRun(Object(PHPUnit_Framework_TestSuite), Array)
#12 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(132): PHPUnit_TextUI_Command->run(Array, true)
#13 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/phpunit(55): PHPUnit_TextUI_Command::main()
#14 {main}.

14) Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest::testIsSelectedNotFoundElement
Failed asserting that exception of type "Selenium\Exception" matches expected exception "Behat\Mink\Exception\DriverException". Message was: "Unexpected response from Selenium server : ERROR: Threw an exception: node is null" at
#0 .../vendor/alexandresalome/php-selenium/src/Selenium/GeneratedBrowser.php(1356): Selenium\Driver->getString('getEval', 'var node = this...')
#1 .../src/Behat/Mink/Driver/SeleniumDriver.php(454): Selenium\GeneratedBrowser->getEval('var node = this...')
#2 .../vendor/behat/mink/driver-testsuite/tests/Basic/ErrorHandlingTest.php(168): Behat\Mink\Driver\SeleniumDriver->isSelected('//html/./invali...')
#3 [internal function]: Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest->testIsSelectedNotFoundElement()
#4 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(951): ReflectionMethod->invokeArgs(Object(Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest), Array)
#5 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(817): PHPUnit_Framework_TestCase->runTest()
#6 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestResult.php(686): PHPUnit_Framework_TestCase->runBare()
#7 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(753): PHPUnit_Framework_TestResult->run(Object(Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest))
#8 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit_Framework_TestCase->run(Object(PHPUnit_Framework_TestResult))
#9 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#10 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(426): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#11 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(179): PHPUnit_TextUI_TestRunner->doRun(Object(PHPUnit_Framework_TestSuite), Array)
#12 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(132): PHPUnit_TextUI_Command->run(Array, true)
#13 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/phpunit(55): PHPUnit_TextUI_Command::main()
#14 {main}.

15) Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest::testIsCheckedNotFoundElement
Failed asserting that exception of type "Selenium\Exception" matches expected exception "Behat\Mink\Exception\DriverException". Message was: "Unexpected response from Selenium server : ERROR: Element xpath=//html/./invalid not found" at
#0 .../vendor/alexandresalome/php-selenium/src/Selenium/Driver.php(184): Selenium\Driver->getString('isChecked', 'xpath=//html/./...', NULL)
#1 .../vendor/alexandresalome/php-selenium/src/Selenium/GeneratedBrowser.php(1370): Selenium\Driver->getBoolean('isChecked', 'xpath=//html/./...')
#2 .../src/Behat/Mink/Driver/SeleniumDriver.php(477): Selenium\GeneratedBrowser->isChecked('xpath=//html/./...')
#3 .../vendor/behat/mink/driver-testsuite/tests/Basic/ErrorHandlingTest.php(176): Behat\Mink\Driver\SeleniumDriver->isChecked('//html/./invali...')
#4 [internal function]: Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest->testIsCheckedNotFoundElement()
#5 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(951): ReflectionMethod->invokeArgs(Object(Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest), Array)
#6 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(817): PHPUnit_Framework_TestCase->runTest()
#7 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestResult.php(686): PHPUnit_Framework_TestCase->runBare()
#8 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(753): PHPUnit_Framework_TestResult->run(Object(Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest))
#9 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit_Framework_TestCase->run(Object(PHPUnit_Framework_TestResult))
#10 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#11 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(426): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#12 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(179): PHPUnit_TextUI_TestRunner->doRun(Object(PHPUnit_Framework_TestSuite), Array)
#13 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(132): PHPUnit_TextUI_Command->run(Array, true)
#14 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/phpunit(55): PHPUnit_TextUI_Command::main()
#15 {main}.

16) Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest::testIsVisibleNotFoundElement
Failed asserting that exception of type "Selenium\Exception" matches expected exception "Behat\Mink\Exception\DriverException". Message was: "Unexpected response from Selenium server : ERROR: Element xpath=//html/./invalid not found" at
#0 .../vendor/alexandresalome/php-selenium/src/Selenium/Driver.php(184): Selenium\Driver->getString('isVisible', 'xpath=//html/./...', NULL)
#1 .../vendor/alexandresalome/php-selenium/src/Selenium/GeneratedBrowser.php(1586): Selenium\Driver->getBoolean('isVisible', 'xpath=//html/./...')
#2 .../src/Behat/Mink/Driver/SeleniumDriver.php(593): Selenium\GeneratedBrowser->isVisible('xpath=//html/./...')
#3 .../vendor/behat/mink/driver-testsuite/tests/Basic/ErrorHandlingTest.php(184): Behat\Mink\Driver\SeleniumDriver->isVisible('//html/./invali...')
#4 [internal function]: Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest->testIsVisibleNotFoundElement()
#5 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(951): ReflectionMethod->invokeArgs(Object(Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest), Array)
#6 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(817): PHPUnit_Framework_TestCase->runTest()
#7 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestResult.php(686): PHPUnit_Framework_TestCase->runBare()
#8 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(753): PHPUnit_Framework_TestResult->run(Object(Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest))
#9 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit_Framework_TestCase->run(Object(PHPUnit_Framework_TestResult))
#10 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#11 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(426): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#12 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(179): PHPUnit_TextUI_TestRunner->doRun(Object(PHPUnit_Framework_TestSuite), Array)
#13 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(132): PHPUnit_TextUI_Command->run(Array, true)
#14 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/phpunit(55): PHPUnit_TextUI_Command::main()
#15 {main}.

17) Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest::testClickNotFoundElement
Failed asserting that exception of type "Selenium\Exception" matches expected exception "Behat\Mink\Exception\DriverException". Message was: "Unexpected response from Selenium server : ERROR: Element xpath=//html/./invalid not found" at
#0 .../vendor/alexandresalome/php-selenium/src/Selenium/GeneratedBrowser.php(32): Selenium\Driver->action('click', 'xpath=//html/./...')
#1 .../src/Behat/Mink/Driver/SeleniumDriver.php(462): Selenium\GeneratedBrowser->click('xpath=//html/./...')
#2 .../vendor/behat/mink/driver-testsuite/tests/Basic/ErrorHandlingTest.php(192): Behat\Mink\Driver\SeleniumDriver->click('//html/./invali...')
#3 [internal function]: Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest->testClickNotFoundElement()
#4 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(951): ReflectionMethod->invokeArgs(Object(Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest), Array)
#5 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(817): PHPUnit_Framework_TestCase->runTest()
#6 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestResult.php(686): PHPUnit_Framework_TestCase->runBare()
#7 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(753): PHPUnit_Framework_TestResult->run(Object(Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest))
#8 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit_Framework_TestCase->run(Object(PHPUnit_Framework_TestResult))
#9 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#10 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(426): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#11 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(179): PHPUnit_TextUI_TestRunner->doRun(Object(PHPUnit_Framework_TestSuite), Array)
#12 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(132): PHPUnit_TextUI_Command->run(Array, true)
#13 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/phpunit(55): PHPUnit_TextUI_Command::main()
#14 {main}.

18) Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest::testDoubleClickNotFoundElement
Failed asserting that exception of type "Selenium\Exception" matches expected exception "Behat\Mink\Exception\DriverException". Message was: "Unexpected response from Selenium server : ERROR: Element xpath=//html/./invalid not found" at
#0 .../vendor/alexandresalome/php-selenium/src/Selenium/GeneratedBrowser.php(49): Selenium\Driver->action('doubleClick', 'xpath=//html/./...')
#1 .../src/Behat/Mink/Driver/SeleniumDriver.php(501): Selenium\GeneratedBrowser->doubleClick('xpath=//html/./...')
#2 .../vendor/behat/mink/driver-testsuite/tests/Basic/ErrorHandlingTest.php(200): Behat\Mink\Driver\SeleniumDriver->doubleClick('//html/./invali...')
#3 [internal function]: Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest->testDoubleClickNotFoundElement()
#4 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(951): ReflectionMethod->invokeArgs(Object(Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest), Array)
#5 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(817): PHPUnit_Framework_TestCase->runTest()
#6 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestResult.php(686): PHPUnit_Framework_TestCase->runBare()
#7 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(753): PHPUnit_Framework_TestResult->run(Object(Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest))
#8 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit_Framework_TestCase->run(Object(PHPUnit_Framework_TestResult))
#9 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#10 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(426): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#11 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(179): PHPUnit_TextUI_TestRunner->doRun(Object(PHPUnit_Framework_TestSuite), Array)
#12 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(132): PHPUnit_TextUI_Command->run(Array, true)
#13 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/phpunit(55): PHPUnit_TextUI_Command::main()
#14 {main}.

19) Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest::testGetAttributeNotFoundElement
Failed asserting that exception of type "Selenium\Exception" matches expected exception "Behat\Mink\Exception\DriverException". Message was: "Unexpected response from Selenium server : ERROR: Threw an exception: node is null" at
#0 .../vendor/alexandresalome/php-selenium/src/Selenium/GeneratedBrowser.php(1356): Selenium\Driver->getString('getEval', 'var node = this...')
#1 .../src/Behat/Mink/Driver/SeleniumDriver.php(304): Selenium\GeneratedBrowser->getEval('var node = this...')
#2 .../vendor/behat/mink/driver-testsuite/tests/Basic/ErrorHandlingTest.php(216): Behat\Mink\Driver\SeleniumDriver->getAttribute('//html/./invali...', 'id')
#3 [internal function]: Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest->testGetAttributeNotFoundElement()
#4 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(951): ReflectionMethod->invokeArgs(Object(Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest), Array)
#5 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(817): PHPUnit_Framework_TestCase->runTest()
#6 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestResult.php(686): PHPUnit_Framework_TestCase->runBare()
#7 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(753): PHPUnit_Framework_TestResult->run(Object(Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest))
#8 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit_Framework_TestCase->run(Object(PHPUnit_Framework_TestResult))
#9 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#10 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(426): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#11 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(179): PHPUnit_TextUI_TestRunner->doRun(Object(PHPUnit_Framework_TestSuite), Array)
#12 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(132): PHPUnit_TextUI_Command->run(Array, true)
#13 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/phpunit(55): PHPUnit_TextUI_Command::main()
#14 {main}.

20) Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest::testMouseOverFoundElement
Failed asserting that exception of type "Selenium\Exception" matches expected exception "Behat\Mink\Exception\DriverException". Message was: "Unexpected response from Selenium server : ERROR: Element xpath=//html/./invalid not found" at
#0 .../vendor/alexandresalome/php-selenium/src/Selenium/GeneratedBrowser.php(321): Selenium\Driver->action('mouseOver', 'xpath=//html/./...')
#1 .../src/Behat/Mink/Driver/SeleniumDriver.php(509): Selenium\GeneratedBrowser->mouseOver('xpath=//html/./...')
#2 .../vendor/behat/mink/driver-testsuite/tests/Basic/ErrorHandlingTest.php(224): Behat\Mink\Driver\SeleniumDriver->mouseOver('//html/./invali...')
#3 [internal function]: Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest->testMouseOverFoundElement()
#4 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(951): ReflectionMethod->invokeArgs(Object(Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest), Array)
#5 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(817): PHPUnit_Framework_TestCase->runTest()
#6 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestResult.php(686): PHPUnit_Framework_TestCase->runBare()
#7 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(753): PHPUnit_Framework_TestResult->run(Object(Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest))
#8 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit_Framework_TestCase->run(Object(PHPUnit_Framework_TestResult))
#9 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#10 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(426): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#11 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(179): PHPUnit_TextUI_TestRunner->doRun(Object(PHPUnit_Framework_TestSuite), Array)
#12 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(132): PHPUnit_TextUI_Command->run(Array, true)
#13 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/phpunit(55): PHPUnit_TextUI_Command::main()
#14 {main}.

21) Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest::testKeyPressNotFoundElement
Failed asserting that exception of type "Selenium\Exception" matches expected exception "Behat\Mink\Exception\DriverException". Message was: "Unexpected response from Selenium server : ERROR: Element xpath=//html/./invalid not found" at
#0 .../vendor/alexandresalome/php-selenium/src/Selenium/GeneratedBrowser.php(171): Selenium\Driver->action('keyPress', 'xpath=//html/./...', 'a')
#1 .../src/Behat/Mink/Driver/SeleniumDriver.php(518): Selenium\GeneratedBrowser->keyPress('xpath=//html/./...', 'a')
#2 .../vendor/behat/mink/driver-testsuite/tests/Basic/ErrorHandlingTest.php(248): Behat\Mink\Driver\SeleniumDriver->keyPress('//html/./invali...', 'a')
#3 [internal function]: Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest->testKeyPressNotFoundElement()
#4 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(951): ReflectionMethod->invokeArgs(Object(Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest), Array)
#5 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(817): PHPUnit_Framework_TestCase->runTest()
#6 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestResult.php(686): PHPUnit_Framework_TestCase->runBare()
#7 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(753): PHPUnit_Framework_TestResult->run(Object(Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest))
#8 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit_Framework_TestCase->run(Object(PHPUnit_Framework_TestResult))
#9 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#10 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(426): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#11 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(179): PHPUnit_TextUI_TestRunner->doRun(Object(PHPUnit_Framework_TestSuite), Array)
#12 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(132): PHPUnit_TextUI_Command->run(Array, true)
#13 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/phpunit(55): PHPUnit_TextUI_Command::main()
#14 {main}.

22) Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest::testKeyDownNotFoundElement
Failed asserting that exception of type "Selenium\Exception" matches expected exception "Behat\Mink\Exception\DriverException". Message was: "Unexpected response from Selenium server : ERROR: Element xpath=//html/./invalid not found" at
#0 .../vendor/alexandresalome/php-selenium/src/Selenium/GeneratedBrowser.php(289): Selenium\Driver->action('keyDown', 'xpath=//html/./...', 'a')
#1 .../src/Behat/Mink/Driver/SeleniumDriver.php(528): Selenium\GeneratedBrowser->keyDown('xpath=//html/./...', 'a')
#2 .../vendor/behat/mink/driver-testsuite/tests/Basic/ErrorHandlingTest.php(256): Behat\Mink\Driver\SeleniumDriver->keyDown('//html/./invali...', 'a')
#3 [internal function]: Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest->testKeyDownNotFoundElement()
#4 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(951): ReflectionMethod->invokeArgs(Object(Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest), Array)
#5 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(817): PHPUnit_Framework_TestCase->runTest()
#6 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestResult.php(686): PHPUnit_Framework_TestCase->runBare()
#7 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(753): PHPUnit_Framework_TestResult->run(Object(Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest))
#8 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit_Framework_TestCase->run(Object(PHPUnit_Framework_TestResult))
#9 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#10 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(426): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#11 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(179): PHPUnit_TextUI_TestRunner->doRun(Object(PHPUnit_Framework_TestSuite), Array)
#12 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(132): PHPUnit_TextUI_Command->run(Array, true)
#13 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/phpunit(55): PHPUnit_TextUI_Command::main()
#14 {main}.

23) Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest::testKeyUpNotFoundElement
Failed asserting that exception of type "Selenium\Exception" matches expected exception "Behat\Mink\Exception\DriverException". Message was: "Unexpected response from Selenium server : ERROR: Element xpath=//html/./invalid not found" at
#0 .../vendor/alexandresalome/php-selenium/src/Selenium/GeneratedBrowser.php(307): Selenium\Driver->action('keyUp', 'xpath=//html/./...', 'a')
#1 .../src/Behat/Mink/Driver/SeleniumDriver.php(538): Selenium\GeneratedBrowser->keyUp('xpath=//html/./...', 'a')
#2 .../vendor/behat/mink/driver-testsuite/tests/Basic/ErrorHandlingTest.php(264): Behat\Mink\Driver\SeleniumDriver->keyUp('//html/./invali...', 'a')
#3 [internal function]: Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest->testKeyUpNotFoundElement()
#4 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(951): ReflectionMethod->invokeArgs(Object(Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest), Array)
#5 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(817): PHPUnit_Framework_TestCase->runTest()
#6 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestResult.php(686): PHPUnit_Framework_TestCase->runBare()
#7 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestCase.php(753): PHPUnit_Framework_TestResult->run(Object(Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest))
#8 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit_Framework_TestCase->run(Object(PHPUnit_Framework_TestResult))
#9 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/Framework/TestSuite.php(675): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#10 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(426): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#11 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(179): PHPUnit_TextUI_TestRunner->doRun(Object(PHPUnit_Framework_TestSuite), Array)
#12 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(132): PHPUnit_TextUI_Command->run(Array, true)
#13 /mnt/hd/home/alex/.composer/vendor/phpunit/phpunit/phpunit(55): PHPUnit_TextUI_Command::main()
#14 {main}.

Wait for new page to load after pressing "return" in a form

The Selenium driver currently checks after a button click, if a new page is to be loaded (form submit). If it is, it waits until the page is loaded before processing the next commands. This behavior is not realized for the other way of submitting forms, which is pressing "return" in a form field.

PR: #8

[Suggestion] Deprecate this driver

This driver relies on the deprecated Selenium protocol, through a deprecated client library: minkphp/Mink#629 (comment)
Thus it has some failures in the driver testsuite.

What do you think about marking this driver as deprecated entirely ? People using it should switch to Selenium2Driver. This should be easy given that the java process needed is exactly the same. What do you think @aik099 ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.