protected class RemoteWebDriver.RemoteWebDriverOptions extends java.lang.Object implements WebDriver.Options
Modifier and Type | Class and Description |
---|---|
protected class |
RemoteWebDriver.RemoteWebDriverOptions.RemoteInputMethodManager |
protected class |
RemoteWebDriver.RemoteWebDriverOptions.RemoteTimeouts |
protected class |
RemoteWebDriver.RemoteWebDriverOptions.RemoteWindow |
Modifier | Constructor and Description |
---|---|
protected |
RemoteWebDriver.RemoteWebDriverOptions() |
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(java.lang.String name)
Delete the named cookie from the current domain.
|
Cookie |
getCookieNamed(java.lang.String name)
Get a cookie with a given name.
|
java.util.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.
|
protected RemoteWebDriver.RemoteWebDriverOptions()
@Beta public Logs logs()
WebDriver.Options
Logs
interface used to fetch different types of logs.
To set the logging preferences LoggingPreferences
.
logs
in interface WebDriver.Options
public void addCookie(Cookie cookie)
WebDriver.Options
addCookie
in interface WebDriver.Options
cookie
- The cookie to add.public void deleteCookieNamed(java.lang.String name)
WebDriver.Options
deleteCookieNamed
in interface WebDriver.Options
name
- The name of the cookie to deletepublic void deleteCookie(Cookie cookie)
WebDriver.Options
deleteCookie
in interface WebDriver.Options
public void deleteAllCookies()
WebDriver.Options
deleteAllCookies
in interface WebDriver.Options
public java.util.Set<Cookie> getCookies()
WebDriver.Options
getCookies
in interface WebDriver.Options
public Cookie getCookieNamed(java.lang.String name)
WebDriver.Options
getCookieNamed
in interface WebDriver.Options
name
- the name of the cookiepublic WebDriver.Timeouts timeouts()
WebDriver.Options
timeouts
in interface WebDriver.Options
public WebDriver.ImeHandler ime()
WebDriver.Options
ime
in interface WebDriver.Options
@Beta public WebDriver.Window window()
WebDriver.Options
window
in interface WebDriver.Options