phpunit-selenium icon indicating copy to clipboard operation
phpunit-selenium copied to clipboard

Selenium RC integration for PHPUnit

Results 99 phpunit-selenium issues
Sort by recently updated
recently updated
newest added

using latest phpunit from composer, calling setBrowserUrl in my setUp() function does not navigate the browser.

There was a test but in the latest version it was deleted ``` public function testElementFromResponseValue() { $this->url('html/test_open.html'); $elementArray = $this->execute(array( 'script' => 'return document.body;', 'args' => array(), )); $element...

The current implementation looks like: ``` private function browserOnAllTests(PHPUnit_Framework_TestSuite $suite, array $browser) { foreach ($suite->tests() as $test) { if ($test instanceof PHPUnit_Framework_TestSuite) { $this->browserOnAllTests($test, $browser); } else { $test->setupSpecificBrowser($browser); }...

Hi, Isn't it possible to focus an iFrame? I've tried using $this->frame($frameId), but that causes an Error: > PHPUnit_Extensions_Selenium2TestCase_WebDriverException: The frame could not be found (WARNING: The server did not...

I'm using Selenium Server 2.25.0 + PHPUnit to test Yii application. This application is located on remote server which is available using the domain 'test.domain.com'. When I use 'createCookie()' method...

How about removing them? For, say `testClicksOnJavaScriptHref()` I don't see any real reason it's there, hmhm

Now if you `closeWindow()` in the end of the test method (sometimes it's a test scenario, like in my case) then you'll see the next test method is failed with...

A rather typical use case for us is to check if an element is still visible. Right now `displayed()` throws a `PHPUnit_Extensions_Selenium2TestCase_WebDriverException` with a `StaleElementReference` code if an element has...

(I've copied this issue from https://github.com/sebastianbergmann/phpunit/issues/599) I am running PHPUnit 3.6.11 with Selenium tests included. Sometimes I forget to start the Selenium server. If I run the tests, it fails...

//some input with default value 13: $blocks = $this->elements($this->using('css selector')->value('.product')); $block = $blocks[$order]; $quantityInput = $block->element($this->using('css selector')->value('.quantity input')) $initialValue = $quantityInput->value(); //13 $quantityInput->value(4); $wrongValue = $quantityInput->value(); //134