Thomas Landauer

Results 217 issues of Thomas Landauer

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...

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...

@Naktibalda If webdriver isn't getting a connection to the browser, is there a way to debug the interplay between the involved components: Codeception Facebook WebDriver chromedriver chrome? I.e. is there...

The HTML5 element `` is missing from the list of clickable elements at [`WebDriver::_findClickable()`](https://github.com/Codeception/module-webdriver/blob/master/src/Codeception/Module/WebDriver.php#L1047) I tried to add it there just like the others: `".//summary[normalize-space(.)=$locator]",` - but this doesn't really...

Some suggestions/questions for `seeInField`: 1. Even if not explicitly mentioned at http://codeception.com/docs/modules/WebDriver#seeInField it works for radio buttons too? And probably select's and checkbox'es too? 1. For radio buttons, you need...

I have a [Bootstrap custom radio button](https://getbootstrap.com/docs/4.5/components/forms/#radios): ```html Whatever ``` When I do this in an acceptance test: ```php $I->selectOption('input[name="form[foo]"]', 'Whatever:'); ``` or ```php $I->click(['css' => '#form_foo_0']); ``` ...I'm getting:...