Skip to main content
Watch a book page, compare prices, and receive signed task events.

Read a product page

Read one book page as typed output and print its title, price, availability and stock count. Needs: Mobilerun account · Cloud Android · Chrome · device credits · no third-party account · one-shot
Open the A Light in the Attic product page on books.toscrape.com in Chrome. Return its title, numeric GBP price, whether it is in stock, and the exact stock count. Do not buy anything.

Compare products and alert

Compare two or three products with a local snapshot and send changes to an optional JSON webhook. Needs: Mobilerun account · Cloud Android · Chrome · device credits · 2–3 public product URLs · optional WEBHOOK_URL and MONITOR_STATE_FILE · one-shot

Send webhook events on a schedule

Submit a check every minute and compare results after signed completion events arrive. Verifying the signature by hand is temporary: a dedicated helper replaces it, see Webhooks. Needs: Mobilerun account · Cloud Android · Chrome · device credits · public HTTPS endpoint · WEBHOOK_URL · optional PORT and INTERVAL_MINUTES · keeps running until Ctrl+C Start a tunnel and set WEBHOOK_URL to its HTTPS URL; stop the tunnel separately.
Ctrl+C deletes the webhook; if the process is killed abruptly, delete it in Webhooks. For production, use durable state and a hosted endpoint.

Run it on many devices

Watch as many products as you need: one device per product, all in parallel.
Needs: 2+ ready Cloud Android devices · Chrome · device credits · PRODUCT_URLS · DEVICE_IDS or all ready devices · one-shot Set PRODUCT_URLS to comma-separated product URLs, in the same order as DEVICE_IDS; when using all ready devices, the URLs follow the returned device order.

Next steps

  • Use a Mobilerun workflow schedule trigger as a hosted alternative.
  • Learn about tasks and webhooks.
Start with the first example on a ready device the user names. Uses device.run, task.waitOutput(), task webhooks, and local product snapshots. Ask before creating a webhook or starting a tunnel/schedule; never purchase anything or use real accounts. Report the result and any failed step.