Cookies
DrevOps\BehatSteps\Steps\Web\CookieTrait - Source, Steps
Verify and inspect browser cookies.
public function cookieAssertExists(string $name, ?string $value = NULL, bool $is_partial_name = FALSE, bool $is_partial_value = FALSE): void
Assert that a cookie exists
public function cookieAssertNotExists(string $name, ?string $value = NULL, bool $is_partial_name = FALSE, bool $is_partial_value = FALSE): void
Assert that a cookie does not exist
public function cookieFindByName(string $name, bool $is_partial = FALSE): ?array
Find a cookie by exact or partial name
public function cookieGetAll(): array
Get all cookies