zenstruck / browser

A fluent interface for your Symfony functional tests.
MIT License
186 stars 17 forks source link

ability to "use" cookie jar #57

Closed kbond closed 2 years ago

kbond commented 3 years ago

Alternative to #39.

$this->browser()
    // ...
    ->use(function(CookieJar $jar) {
        $jar->expire('MOCKSESSID');
    })
;