Mobile app checks (UPT-006)
Monitor kind mobile drives a real or emulated device through an Appium server over the W3C WebDriver HTTP protocol. The Appium server is yours; Watchtower only needs its URL.
Config: appium_url (http or https, no credentials), capabilities (platformName required; keys without a prefix get appium:), steps (1 to 100).
Steps
Action | Fields |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
| none |
A selector is {"using": ..., "value": ...} with using one of id, accessibility id, xpath, -android uiautomator, -ios predicate string.
Results
Each step has its timing in details.steps. When a step fails, the screenshot is stored like a browser check screenshot (checks/{project}/{monitor}/{run}.png) and the page source (at most 32 KiB) is in details.page_source. The session is always deleted (DELETE /session/{id}), also after a failure or timeout. The Appium URL is dialed through the address guard: public locations cannot reach private addresses, private locations can. Redirects are not followed.
Importing a recorded flow
A recorded flow is a JSON export {"steps": [...]} (or a bare array) in the shape above; paste the array into config.steps.