|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface WebDriver.Options
An interface for managing stuff you would do in a browser menu
Method Summary | |
---|---|
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. |
Method Detail |
---|
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 cookie
WebDriver.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
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |