Playwright Browser Automation Runner | No-Code JSON Workflows avatar

Playwright Browser Automation Runner | No-Code JSON Workflows

Pricing

from $4.00 / 1,000 browser action

Go to Apify Store
Playwright Browser Automation Runner | No-Code JSON Workflows

Playwright Browser Automation Runner | No-Code JSON Workflows

Run deterministic Playwright browser workflows from JSON: navigate, click, fill, extract, assert, wait, and screenshot without deploying a Playwright script.

Pricing

from $4.00 / 1,000 browser action

Rating

0.0

(0)

Developer

ProdukDigitalAli

ProdukDigitalAli

Maintained by Community

Actor stats

0

Bookmarked

35

Total users

6

Monthly active users

5 days ago

Last modified

Categories

Features

Limited permissions

Share

Run Playwright browser workflows in the cloud from a simple JSON list of steps — navigate, click, fill, press, select, extract, assert, wait, and screenshot — without writing, hosting, or maintaining a Playwright script.

Pay only for steps that succeed: $0.004 per successful browser action. A typical 5-step check costs about $0.02 per run.

What people use it for

JobReady-made task to start from
✅ Daily website smoke test — confirm a page loads, the key text is there, and keep a screenshot as proofRun a Website Smoke Test with Playwright
📝 Automate a public web form — fill fields, click submit, verify the result pageAutomate a Web Form with Playwright
🔎 Extract text from JavaScript-rendered pages — when a plain HTTP request returns an empty pageExtract Text from a Web Page with Playwright
🔁 Search a site and grab the result — type a query, press Enter, read the destination pagefill + press Enter + extractText (see Supported actions)
🤖 Browser step inside n8n, Make, Zapier, or an AI agent — send JSON in, get one clean row per step outsee API, n8n, Make, and AI agents

Open the Tasks tab, pick the task closest to your job, replace the URL and selectors, and click Start.

Quick start

1. Extract text from a JavaScript-rendered page

{
"startUrl": "https://quotes.toscrape.com/js/",
"actions": [
{ "type": "waitForSelector", "locator": { "by": "css", "value": ".quote", "index": 0 } },
{ "type": "extractText", "locator": { "by": "css", "value": ".quote .text", "index": 0 } },
{ "type": "extractText", "locator": { "by": "css", "value": ".quote .author", "index": 0 } },
{ "type": "screenshot", "name": "quotes-page" }
]
}

2. Fill and submit a public form with semantic Playwright locators

{
"startUrl": "https://www.selenium.dev/selenium/web/web-form.html",
"actions": [
{ "type": "fill", "locator": { "by": "label", "value": "Text input" }, "value": "Playwright on Apify" },
{ "type": "click", "locator": { "by": "role", "value": "button", "name": "Submit", "exact": true } },
{ "type": "urlContains", "expected": "submitted-form.html" },
{ "type": "screenshot", "name": "submitted-form", "fullPage": true }
]
}

3. Verify a page and fail loudly if the text changes

{
"startUrl": "https://quotes.toscrape.com/",
"stopOnError": false,
"actions": [
{ "type": "waitForSelector", "locator": { "by": "css", "value": "h1" } },
{ "type": "textContains", "locator": { "by": "css", "value": "h1" }, "expected": "Quotes to Scrape" },
{ "type": "screenshot", "name": "proof" }
]
}

With stopOnError: false, the screenshot is still taken when the assertion fails, so you always have evidence.

Run it every day on a schedule

Most users run this Actor automatically, not by hand:

  1. Save your input as a Task (button Save as a new task).
  2. Go to Schedules → Create new, pick a cron such as 0 7 * * * (every day at 07:00), and add your task.
  3. Add a webhook or an n8n/Make trigger on run finish, and alert yourself when the summary row has "passed": false.

What a daily check costs (browser-action events only):

Steps per runPer runPer day (1 run)Per month (30 runs)
3$0.012$0.012$0.36
5$0.020$0.020$0.60
10$0.040$0.040$1.20
5, every hour$0.020$0.48$14.40

Platform compute is included — you are not billed separately for memory or CPU.

Supported actions

ActionRequired fieldsWhat it does
gotourlNavigate to another public HTTP(S) URL.
waitForSelectorlocatorWait for an element state: visible, hidden, attached, or detached.
clicklocatorClick one element.
filllocator, valueFill an input-like element.
presslocator, keyPress a key/chord on an element.
selectOptionlocator, value or valuesSelect one or more option values.
extractTextlocatorReturn element text, capped at 200,000 characters.
extractAttributelocator, attributeReturn an HTML attribute value.
textContainslocator, expectedPass only if element text contains the expected substring.
urlContainsexpectedPass only if the current URL contains the expected substring.
screenshotnoneSave a PNG screenshot to the default key-value store.
waitdurationMsWait for a bounded duration.

timeoutMs can override the default timeout for an individual action where relevant. goto also supports waitUntil values load, domcontentloaded, networkidle, and commit.

Playwright locator model

Use CSS selectors or Playwright's user-facing semantic locators:

{ "by": "css", "value": "article h2" }
{ "by": "text", "value": "Continue", "exact": true }
{ "by": "role", "value": "button", "name": "Submit", "exact": true }
{ "by": "label", "value": "Email" }
{ "by": "placeholder", "value": "Search" }
{ "by": "testId", "value": "checkout-button" }

If a locator intentionally matches several elements, add a zero-based index:

{ "by": "css", "value": ".product-card .title", "index": 2 }

Playwright strictness is preserved. Prefer semantic locators or stable attributes over brittle positional CSS selectors.

Output

The default dataset contains one row per executed step, followed by one summary row. Downstream tools can read individual steps without unpacking a nested object.

Step row:

{
"rowType": "step",
"stepIndex": 1,
"action": "extractText",
"passed": true,
"currentUrl": "https://quotes.toscrape.com/",
"value": "Quotes to Scrape",
"durationMs": 12
}

Summary row:

{
"rowType": "summary",
"passed": true,
"currentUrl": "https://quotes.toscrape.com/",
"durationMs": 821,
"totalSteps": 3,
"passedSteps": 3,
"failedSteps": 0,
"chargedActions": 3,
"chargeLimitReached": false,
"warnings": []
}

Rows also include actorVersion, timestamp, and inputHash. Screenshots are stored as PNG records in the default key-value store and referenced from their step row.

Stop or continue after an error

stopOnError defaults to true.

  • true: stop after the first failed action and write the summary.
  • false: record the failed step and continue when possible — useful when a screenshot follows an assertion.

Failed actions are not charged.

Pricing

Pay Per Event:

  • browser-action: $0.004 per successfully completed action ($4 per 1,000).
  • Actor start: $0.00005 per run.
  • The first navigation to startUrl is free; failed actions are free.

The Actor checks your run's maximum charge limit before each billable action and stops cleanly when the budget is used up, so a run never costs more than the limit you set.

API, n8n, Make, and AI agents

Direct API — run and get the dataset back in one call:

curl -X POST "https://api.apify.com/v2/acts/produkdigitalali~playwright-browser-automation-runner/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"startUrl":"https://quotes.toscrape.com/","actions":[{"type":"extractText","locator":{"by":"css","value":"h1"}}]}'

n8n / Make / Zapier — use the Apify integration's Run Actor module, map your fields into the actions array, then branch on the row where rowType is summary and passed is true or false.

AI agents (MCP) — the Actor is callable through the Apify MCP server, so Claude, Cursor, and other MCP clients can run a deterministic browser workflow and read back structured step results.

FAQ

Can it log in to a site? It is built for public, login-free pages. Do not put passwords, API keys, or cookies into the input — Actor input is stored with the run.

Can I run JavaScript in the page? No. Arbitrary user JavaScript is intentionally not supported; use the actions above.

What happens on a CAPTCHA, 403, or 429? The step fails and is not charged. This Actor does not bypass CAPTCHAs or access controls.

Should I use this for large crawls? No — use a crawler Actor for recursive crawling. This runner is for short, deterministic workflows (up to 100 actions, 180 seconds).

Safety and limits

  • public http:// and https:// destinations only, ports 80 and 443;
  • localhost, private, link-local, metadata, multicast, and reserved ranges are blocked, including after DNS resolution and redirects;
  • URL-embedded credentials are rejected;
  • service workers are blocked, downloads are disabled, uncontrolled popups are closed;
  • maximum 100 actions per run, 60 seconds per action, 180 seconds per workflow;
  • maximum 300 browser connections and 64 MiB browser transfer per run;
  • screenshots capped at 8 MiB, extracted strings capped at 200,000 characters.

Proxy configuration

proxyConfiguration uses Apify's standard proxy editor. You can disable proxies, use Apify Proxy, or provide custom HTTP(S) proxies. Destination safety checks still apply in front of any proxy.

Browser automation family

ToolChoose it when...
Puppeteer Browser Automation RunnerYou want simple Chrome/Puppeteer-style deterministic workflows.
Selenium Browser Automation RunnerYou think in WebDriver locators.
Chrome DevTools Automation RunnerYou need low-level CDP commands, emulation, or diagnostics.
Playwright Browser Automation RunnerYou want modern deterministic workflows with semantic locators and one row per step.
Browser Network & HAR Capture InspectorYou need XHR/fetch/API diagnostics and HAR export.
Browser Use AI Task RunnerYou want natural-language goals and accept non-deterministic AI actions.
Playwright MCP Browser Automation ServerYou need a live browser controlled step by step by an MCP agent.

Support

Open an issue with the smallest public URL that reproduces the problem, the minimal action list, the failed stepIndex, errorCode, and errorMessage, whether a proxy was enabled, and the run ID. Never post passwords, API keys, cookies, or proxy credentials.