Confirmed users
1,759
edits
(→APIs) |
(→APIs) |
||
Line 16: | Line 16: | ||
= APIs = | = APIs = | ||
The | The main interfaces are Actions, Elements, and Driver. | ||
Actions | Actions provides commonly used non-element specific actions that can be taken on the application, such as clicking, dragging and sending key events. | ||
<pre> | <pre> | ||
Actions | Actions | ||
Line 47: | Line 47: | ||
//This is used to find elements given their id's name. | //This is used to find elements given their id's name. | ||
Element findElement(String name); | Element findElement(String name); | ||
//This is used for getting information on scrolls. NOTE: It must be used for the next three methods to return useful information | //This is used for getting information on scrolls. NOTE: It must be used for the next three methods to return useful information | ||
void setupScrollHandling(); | void setupScrollHandling(); |