|
||||||||||
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(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. |
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(java.lang.String name)
name
- The name of the cookie to deletevoid deleteCookie(Cookie cookie)
cookie
- void deleteAllCookies()
java.util.Set<Cookie> getCookies()
Cookie getCookieNamed(java.lang.String name)
name
- the name of the cookie
WebDriver.Timeouts timeouts()
WebDriver.ImeHandler ime()
@Beta WebDriver.Window window()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |