Run deterministic Playwright browser workflows from JSON: navigate, click, fill, extract, assert, wait, and screenshot without deploying a Playwright script.
The public page to open before the first action, for example https://quotes.toscrape.com/js/. Must be http:// or https://. Private, localhost, and URLs with embedded credentials are rejected. Opening this URL is not billed.
Type:string
Max. length:2048
Workflow actions
actions
Required
Ordered list of steps to run, 1–100 items. Each item is an object with a "type" plus the fields that type needs. Types: goto (url), waitForSelector (locator), click (locator), fill (locator, value), press (locator, key), selectOption (locator, value or values), extractText (locator), extractAttribute (locator, attribute), textContains (locator, expected), urlContains (expected), screenshot (optional name, fullPage), wait (durationMs). A locator looks like {"by": "css", "value": "h1"}; by can be css, text, role, label, placeholder, or testId. Example: [{"type": "extractText", "locator": {"by": "css", "value": "h1"}}].
Type:object[]
Min. items:1
Max. items:100
Stop on error
stopOnError
Optional
If true, stop at the first failed action. Set to false to keep going and record every step — useful when a screenshot follows an assertion so you still get evidence on failure.
Type:boolean
Default:true
Default action timeout
actionTimeoutMs
Optional
How long each action may wait for its element, in milliseconds (1000–60000).
Type:integer
Minimum:1000
Maximum:60000
Default:15000
Navigation timeout
navigationTimeoutMs
Optional
How long opening startUrl or a goto URL may take, in milliseconds (1000–60000).
Type:integer
Minimum:1000
Maximum:60000
Default:30000
Maximum workflow runtime
maxRunSeconds
Optional
Hard time budget for the whole workflow in seconds (10–180), not counting a few seconds of Actor startup.
Type:integer
Minimum:10
Maximum:180
Default:120
Proxy configuration
proxyConfiguration
Optional
Optional. Use Apify Proxy or your own HTTP(S) proxy if the target site blocks datacenter traffic. Destination safety checks still apply.