_generated\FunctionalTesterActions::cantSeeCookie PHP Method

cantSeeCookie() public method

Checks that there isn't a cookie with the given name. You can set additional cookie params like domain, path as array passed in last argument.
See also: Codeception\Lib\InnerBrowser::dontSeeCookie()
public cantSeeCookie ( $cookie, array $params = null ) : mixed
$cookie
$params array
return mixed Conditional Assertion: Test won't be stopped on fail
    public function cantSeeCookie($cookie, $params = null)
    {
        return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('dontSeeCookie', func_get_args()));
    }
FunctionalTesterActions