Schedules a command to add a cookie.
Defines the cookie to add.
A promise that will be resolved when the cookie has been added to the page.
if any of the cookie parameters are invalid.
if spec
is not a cookie object.
Schedules a command to delete the cookie with the given name. This command is a no-op if there is no cookie with the given name visible to the current page.
The name of the cookie to delete.
A promise that will be resolved when the cookie has been deleted.
Schedules a command to retrieve the cookie with the given name. Returns null if there is no such cookie. The cookie will be returned as a JSON object as described by the WebDriver wire protocol.
The name of the cookie to retrieve.
A promise that will be resolved with the named cookie, or {@code null} if there is no such cookie.
Schedules a command to retrieve all cookies visible to the current page. Each cookie will be returned as a JSON object as described by the WebDriver wire protocol.
A promise that will be resolved with the cookies visible to the current page.
Set current timeouts
Generated using TypeDoc
Provides methods for managing browser and driver state.