WebDriverOptions
class WebDriverOptions (View source)
Managing stuff you would do in a browser.
Properties
protected ExecuteMethod | $executor | ||
protected bool | $isW3cCompliant |
Methods
Delete all the cookies that are currently visible.
Delete the cookie with the given name.
Get the cookie with a given name.
Get all the cookies for the current domain.
Return the interface for managing driver timeouts.
An abstraction allowing the driver to manipulate the browser's window
Get the log for a given log type. Log buffer is reset after each request.
Get available log types.
Details
__construct(ExecuteMethod $executor, $isW3cCompliant = false)
No description
WebDriverOptions
addCookie(Cookie|array $cookie)
Add a specific cookie.
WebDriverOptions
deleteAllCookies()
Delete all the cookies that are currently visible.
WebDriverOptions
deleteCookieNamed(string $name)
Delete the cookie with the given name.
Cookie|null
getCookieNamed(string $name)
Get the cookie with a given name.
Cookie[]
getCookies()
Get all the cookies for the current domain.
WebDriverTimeouts
timeouts()
Return the interface for managing driver timeouts.
WebDriverWindow
window()
An abstraction allowing the driver to manipulate the browser's window
array
getLog(string $log_type)
Get the log for a given log type. Log buffer is reset after each request.
array
getAvailableLogTypes()
Get available log types.