public function SessionTrait::reset in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/jcalderonzumba/mink-phantomjs-driver/src/SessionTrait.php \Zumba\Mink\Driver\SessionTrait::reset()
Clears the cookies in the browser, all of them
Return value
bool
1 call to SessionTrait::reset()
- SessionTrait::stop in vendor/
jcalderonzumba/ mink-phantomjs-driver/ src/ SessionTrait.php - Stops the session completely, clean slate for the browser
File
- vendor/
jcalderonzumba/ mink-phantomjs-driver/ src/ SessionTrait.php, line 44
Class
- SessionTrait
- Trait SessionTrait @package Zumba\Mink\Driver
Namespace
Zumba\Mink\DriverCode
public function reset() {
$this
->getBrowser()
->clearCookies();
$this
->getBrowser()
->reset();
$this->started = false;
return true;
}