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() |
Logs |
logs()
Gets the
Logs interface used to fetch different types of logs. |
WebDriver.Timeouts |
timeouts() |
WebDriver.Window |
window() |
void addCookie(Cookie cookie)
cookie
- The cookie to add.void deleteAllCookies()
void deleteCookie(Cookie cookie)
cookie
- nom nom nomvoid deleteCookieNamed(String name)
name
- The name of the cookie to deleteCookie getCookieNamed(String name)
name
- the name of the cookieSet<Cookie> getCookies()
WebDriver.ImeHandler ime()
@Beta Logs logs()
Logs
interface used to fetch different types of logs.
To set the logging preferences LoggingPreferences
.
WebDriver.Timeouts timeouts()
WebDriver.Window window()
Copyright © 2014-2017 Machine Publishers, LLC and the jBrowserDriver contributors.
Project homepage: https://github.com/machinepublishers/jbrowserdriver