$executor
$executor :
Managing stuff you would do in a browser.
__construct(\ExecuteMethod $executor)
| \ExecuteMethod | $executor |
addCookie(array $cookie) : \WebDriverOptions
Add a specific cookie.
Here are the valid attributes of a cookie array. 'name' : string The name of the cookie; may not be null or an empty
string.
'value' : string The cookie value; may not be null. 'path' : string The path the cookie is visible to. If left blank or set
to null, will be set to "/".
'domain': string The domain the cookie is visible to. It should be null or
the same as the domain of the current URL.
'secure': bool Whether this cookie requires a secure connection(https?).
It should be null or equal to the security of the current
URL.
'expiry': int The cookie's expiration date; may be null.
| array | $cookie | An array with key as the attributes mentioned above. |
The current instance.
deleteAllCookies() : \WebDriverOptions
Delete all the cookies that are currently visible.
The current instance.
deleteCookieNamed( $name) : \WebDriverOptions
Delete the cookie with the give name.
| $name |
The current instance.
timeouts() : \WebDriverTimeouts
Return the interface for managing driver timeouts.
window() : \WebDriverWindow
An abstraction allowing the driver to manipulate the browser's window