|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Retention(value=RUNTIME)
@Documented
@Inherited
@Target(value={METHOD,TYPE})
public @interface Timeout
Annotation that can be used as a meta annotation, class annotation or method annotation to indicate the timeout time Selenium will use for its "open" and the "waitFor*" actions.
The @Timeout value is specified in milliseconds
If used as a meta annotation all test classes and test cases will use this specified timeout if and only if the class or method it self isn't annotated with the Timeout annotation.
Usage as meta annotation:
Optional Element Summary
int
value
Number of milliseconds that Selenium will wait for actions to complete.
value
public abstract int value
- Number of milliseconds that Selenium will wait for actions to complete.
Actions that require waiting include "open" and the "waitFor*" actions.
The default timeout is 30 seconds.
- Returns:
- The number of milliseconds.
- Default:
- 30000
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: REQUIRED | OPTIONAL
DETAIL: ELEMENT