You are here

public function Session::reset in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/behat/mink/src/Session.php \Behat\Mink\Session::reset()

Reset session driver state.

Calling any action before visiting a page is an undefined behavior. The only supported method calls on a fresh driver are

  • visit()
  • setRequestHeader()
  • setBasicAuth()
  • reset()
  • stop()

File

vendor/behat/mink/src/Session.php, line 101

Class

Session
Mink session.

Namespace

Behat\Mink

Code

public function reset() {
  $this->driver
    ->reset();
}