public function CoreDriver::getCookie in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/behat/mink/src/Driver/CoreDriver.php \Behat\Mink\Driver\CoreDriver::getCookie()
Returns cookie by name.
Parameters
string $name:
Return value
string|null
Throws
UnsupportedDriverActionException When operation not supported by the driver
DriverException When the operation cannot be done
Overrides DriverInterface::getCookie
1 method overrides CoreDriver::getCookie()
- BrowserKitDriver::getCookie in vendor/
behat/ mink-browserkit-driver/ src/ BrowserKitDriver.php - Returns cookie by name.
File
- vendor/
behat/ mink/ src/ Driver/ CoreDriver.php, line 303
Class
- CoreDriver
- Core driver. All other drivers should extend this class for future compatibility.
Namespace
Behat\Mink\DriverCode
public function getCookie($name) {
throw new UnsupportedDriverActionException('Cookies are not available from %s', $this);
}