browser
browser copied to clipboard
A fluent interface for your Symfony functional tests.
Hello, I just faced an issue with `assertJsonMatches` method (note for search engine: which calls `json()->assertMatches`) can throw a weird exception message : `(array:assoc)" to be the same as "(array:assoc)".`...
```php $this->browser() ->visit('/some-page') ->click('some link', 'DELETE') // add method option ; ```
Related: https://github.com/symfony/panther/issues/591 Blocked by: #9
I keep getting annoyed when using `assertSeeIn()` as the CSS selection often does not do what I expect. Say I have a table in my page: ``` Foo Bar ```...
I have a bundle that exposes a few controllers that I'm not sure how to test (from within the bundle). https://github.com/symfony/symfony/discussions/57600#discussioncomment-9925933 Might that be possible with this library? In particular,...
First, what a cool library! I was fighting with authenticated users in my tests, still not sure what the problem was, but the actingAs() method works so easily that I'm...
Running the phpunit tests throws deprecations related to the foundry-bundle. ``` 1x: Since zenstruck\foundry 1.38.0: Configuring the default proxy auto-refresh to false is deprecated. You should set it to "true",...
so the user can do something with the saved screenshots.
Hi, For testing purposes , I need to access session and set a value to it . The class Browser has marked session as protected . I could not find...
I want to use this awesome library to navigate my site and save screenshots, not necessarily as part of a functional test, but just a regular app. ```php final class...