|
||||||||||
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. |
Speed |
getSpeed()
Deprecated. This method is being reviewed. |
void |
setSpeed(Speed speed)
Deprecated. This method is being reviewed. |
WebDriver.Timeouts |
timeouts()
Returns the interface for managing driver timeouts. |
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
@Deprecated Speed getSpeed()
@Deprecated void setSpeed(Speed speed)
speed
- WebDriver.Timeouts timeouts()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |