|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Documented @Inherited @Target(value={METHOD,TYPE}) public @interface Delay
Annotation that marks a class or method that all selenium API calls should be delayed, that is Thread.sleep(). The value of the Delay annotation is the number of milliseconds each command should sleep. The default value is 1000ms.
Note that the Delay annotation is only used by default in the development enviroment. If the Delay annotation is found when executing in test or production it is ignored.
Usage for a method:
Optional Element Summary
int
value
Number of milliseconds the delay should wait for.
value
public abstract int value
- Number of milliseconds the delay should wait for.
The default value is 1000.
- Returns:
- The number of milliseconds.
- Default:
- 1000
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: REQUIRED | OPTIONAL
DETAIL: ELEMENT