wait | milliseconds, 1 to 60,000 | Pauses. |
wait | selector | Waits up to 30 seconds for a matching element. |
click | selector | Clicks the first match, looking for it for up to 5 seconds. all is accepted only as false. |
write | text | Types the text. |
press | key, up to 40 characters, such as Enter | Presses a key. |
scroll | direction: down (default), up, left, right. amount: 1 to 100,000 pixels, "viewport" or "max". maxScrolls: 1 to 50. selector: an inner container. | Scrolls. "max" keeps going until the page stops growing. |
screenshot | fullPage, quality 1 to 100, viewport { width, height } | Takes a JPEG. The link comes back in actions.screenshots and works for 7 days. |
scrape | none | Captures the page here. URL and HTML come back in actions.scrapes. |
executeJavascript | script, up to 20,000 characters | Runs for up to 5 seconds. The result comes back in actions.javascriptReturns as { type, value }. |
pdf | format: Letter, Legal, Tabloid, Ledger or A0 to A6. landscape. scale: 0.1 to 2. | Prints the page. The link comes back in actions.pdfs. |
perform | action: a step in plain words, 1 to 500 characters | Does something like Click the Load more button in up to 5 browser steps, up to 30 seconds, and never leaves the site. At most 5 per call. |