browser
browser copied to clipboard
A fluent interface for your Symfony functional tests.
```php $this->wrapMinkExpectation( fn() => $this->webAssert()->elementExists('xpath', $xpathString) ); ```
See [`Symfony\Component\Panther\WebTestAssertionsTrait`](https://github.com/symfony/panther/blob/ec2ff073e80d3efb986022a2937a9cd94310237d/src/WebTestAssertionsTrait.php).
PHPUnit's asserts (and all asserts provided by Symfony) allow you to specify a custom failure message as last argument. This gives you the possibility to add some more context to...
The 30 second default is pretty long, perhaps browser's default should be lower?
Hey, I'm having issues with the HttpPlug Mock client: https://docs.php-http.org/en/latest/integrations/symfony-bundle.html#usage-for-reusable-bundles I can't seem to set request matches, the `conditionalResults` in the Mock client is always empty. I tried setting it...
I have a ChoiceType in Symfony. ```php ->add('assignedRoles', ChoiceType::class, [ 'expanded' => true, 'multiple' => true, 'choices' => $this->allRoles, 'choice_label' => function ($item) { return 'system.role.'.str_replace("role_","", strtolower($item)); }, 'choice_value' =>...
Is it possible to configure the PantherBrowser that it introspects/pause the browser by an error? Example: `->click('#form_wrong_id')` # Actual Behaviour: The Browser closes and an error will be shown. Clickable...
I'm having problems with `selectFieldOption` when it is dynamic. It's impossible to select a value that is added via JS. So I'm trying to add it dynamically and then select...
Hello there. This library is great. I wonder if you'd be ok to add a behat extension (along the phpunit and panther integration). I'm asking this before any contribution because...