lib-innerbrowser
lib-innerbrowser copied to clipboard
InnerBrowser
`getFormFromCrawler` in `InnerBrowser.php` throws: ``` "[Symfony\Component\CssSelector\Exception\SyntaxErrorException] Expected string or identifier, but \ found." ``` if the `$formId` is ""
I wanted to test redirection to another site in a functional test and was surprised that there is no built-in way to do that in Codeception. The only solution I...
Codeception's console output (see https://github.com/Codeception/Codeception/issues/5977#issuecomment-694696510 for some examples) is misleading in that it suggests that there's an actual HTTP request being made, while in fact it's just a Symfony BrowserKit...
This issue comes from the problem reported in Codeception/Codeception#1221. You will get an exception with the text `InvalidArgumentException: Malformed field path ""` if you call `fillField` for a form field...
At present this will work for PHP Browser module: $I->seeOptionIsSelected('#select', 'My Option Text'); but this will not: $I->seeOptionIsSelected('#select', 'my-option-value'); It would AMAZING if the second worked.
#### What are you trying to achieve? I wanted to request adding a `seeAttributeIs` assertion for functional tests in the `Laravel5` module. ```php // sample code $I->seeAttributeIs($selector = '.product:first-child', $attribute...
When asserting "small" pages, it sometimes can be handy to assert that the page source is *equal* to an expected string. REST module has a nice method for that: [`seeResponseEquals()`](https://github.com/Codeception/module-rest/blob/master/src/Codeception/Module/REST.php#L1258)....
It would be nice to be able to assert that a response is indeed a PDF. Right now, I'm doing it with something like: ```php $I->seeHttpHeader('Content-Type', 'application/pdf'); $I->seeResponseContains('%PDF-1.'); ``` REST...
Hi. I am writing a functional test. For html ```html Start new game ``` my test code ```php $I->seeInField(['name' => 'start_game'], 'yes'); ``` produce this error. Digging into your code...