62
edits
(Started with Device API) |
(→APIs: Added Element) |
||
Line 25: | Line 25: | ||
int getGeckoHeight(); | int getGeckoHeight(); | ||
int getGeckoWidth(); | int getGeckoWidth(); | ||
</pre> | |||
<pre> | |||
Element | |||
//To click the element. | |||
void click() | |||
//Clicks the given Key (Element.SpecialKey.[DOWN|UP|LEFT|RIGHT|ENTER]) | |||
void clickSpecialKey(SpecialKey button) | |||
//Sends a string of characters to the system. (most have been implemented but not all) | |||
void sendKeys(String keysToSend); | |||
//Returns true if the element is currently displayed | |||
boolean isDisplayed(); | |||
//Returns the text currently displayed on the element, or direct sub-elements. | |||
String getText(); | |||
</pre> | |||
</pre> | </pre> |
edits