giorgiosironi / phpunit-selenium

Selenium RC integration for PHPUnit
http://www.phpunit.de/
Other
600 stars 271 forks source link

Added backward-compatible implementation for the `$element->value()` method #311

Closed zerkms closed 10 years ago

zerkms commented 10 years ago

Added backward-compatible implementation for the $element->value() method that was introduced in selenium v2.42.0

See:

Steps to reproduce the issue:

vendor/bin/phpunit --filter testTypingViaTheKeyboard Tests/Selenium2TestCaseTest.php

This test would emit the GET /session/:sessionId/element/:id/value request that isn't the part of JsonWire protocol. So the selenium v2.42.0 (and higher) return HTTP 500 response for the request.

For further use it's supposed one will use $element->attribute('value')