public static interface WebDriver.Options
| Modifier and Type | Method and Description |
|---|---|
void |
addCookie(Cookie cookie)
Add a specific cookie.
|
void |
deleteAllCookies()
Delete all the cookies for the current domain.
|
void |
deleteCookie(Cookie cookie)
Delete a cookie from the browser's "cookie jar".
|
void |
deleteCookieNamed(String name)
Delete the named cookie from the current domain.
|
Cookie |
getCookieNamed(String name)
Get a cookie with a given name.
|
Set<Cookie> |
getCookies()
Get all the cookies for the current domain.
|
WebDriver.ImeHandler |
ime()
Returns the interface for controlling IME engines to generate complex-script input.
|
Logs |
logs()
Gets the
Logs interface used to fetch different types of logs. |
WebDriver.Timeouts |
timeouts()
Returns the interface for managing driver timeouts.
|
WebDriver.Window |
window()
Returns the interface for managing the current window.
|
void addCookie(Cookie cookie)
cookie - The cookie to add.void deleteCookieNamed(String name)
name - The name of the cookie to deletevoid deleteCookie(Cookie cookie)
cookie - void deleteAllCookies()
Set<Cookie> getCookies()
Cookie getCookieNamed(String name)
name - the name of the cookieWebDriver.Timeouts timeouts()
WebDriver.ImeHandler ime()
@Beta WebDriver.Window window()
@Beta Logs logs()
Logs interface used to fetch different types of logs.
To set the logging preferences LoggingPreferences.
Copyright © 2014. All rights reserved.