You are here

public function SessionTrait::stop in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/jcalderonzumba/mink-phantomjs-driver/src/SessionTrait.php \Zumba\Mink\Driver\SessionTrait::stop()

Stops the session completely, clean slate for the browser

Return value

bool

File

vendor/jcalderonzumba/mink-phantomjs-driver/src/SessionTrait.php, line 34

Class

SessionTrait
Trait SessionTrait @package Zumba\Mink\Driver

Namespace

Zumba\Mink\Driver

Code

public function stop() {

  //Since we are using a remote browser "API", stopping is just like resetting, say good bye to cookies

  //TODO: In the future we may want to control a start / stop of the remove browser
  return $this
    ->reset();
}