module-webdriver icon indicating copy to clipboard operation
module-webdriver copied to clipboard

WebDriver module for Codeception

Results 44 module-webdriver issues
Sort by recently updated
recently updated
newest added

Is there a way to reload the page without resetting forms (i.e. like pressing `F5`)? I tried with `$I->pressKey()`, but couldn't get it to work :-(

These both result in an `MalformedLocatorException`: ```php $I->seeElement(['id' =>'123']); $I->seeElement(['css' =>'div#123']); ``` The reason is probably that up to HTML 4, `id`s were required to start with a character (a-z)....

I wrote a simple method for `App\Tests\Support\Helper\Acceptance` to check if an HTML element has a certain CSS class. Does the same as JavaScript `.classList.contains()`: ```php public function seeElementHasClass(array|string $element, string...

Is there a way to "skip" `$I->pressKey`, i.e. just press the key? Like pressing `F5` to reload the page?

Page: https://codeception.com/docs/modules/WebDriver

I'm "suddenly" getting this in many tests in Firefox (haven't tried with Chrome yet): > [Facebook\WebDriver\Exception\ElementNotInteractableException] Element could not be scrolled into view Is anybody else observing this? My current...

#### What are you trying to achieve? Get the Shadow Dom #### What do you get instead? Not able to get the result from Shadow root > Provide console output...

I'm trying to set a specific User-Agent in geckodriver for the sake of my tests. But I can't find how to properly set that option in yml settings. Is there...

Please doublecheck: 1. Is this really true? I couldn't verify it in the source code - don't know what `DriverCommand::REFRESH` actually does. 2. Is `['css' => 'body']` the best selector...