Actions
start
Starts a new emulator session with the given apk.
1:
|
|
quit
Quit the current emulator session.
1:
|
|
<< (write)
Writes text to element.
1: 2: 3: |
|
read
Reads the text of an element.
1: 2: |
|
click
Clicks an element via selector.
1: 2: |
|
clickAndWait
Clicks an element via selector and waits for another selector to appear.
1:
|
|
back
Clicks the android back button.
1:
|
|
backAndWait
Clicks the android back button and waits for a selector to appear.
1:
|
|
landscape
Sets the orientation to landscape.
1:
|
|
portrait
Sets the orientation to portrait.
1:
|
|
hideKeyboard
Hides the keyboard if it is open.
1:
|
|
sleep
Sleeps for x
seconds.
1: 2: |
|