Best Cloud Browsers for Web Scraping and Playwright Automation
TL;DR
A cloud browser runs the browser remotely while your Playwright script or approved user controls the session.
Choose a hosted browser when the result depends on interaction or page state. A managed scraping API can be simpler when the deliverable is page content.
Evaluate CDP attachment, session ownership, geographic settings, diagnostics, and the cost per completed workflow under the same task.
Nstdata Cloud Browser supports managed browser sessions and Playwright attachment. Nstdata Crawl handles page collection and output artifacts through its own workflow.
Run a pilot that selects the correct variant, verifies the offer, captures evidence, and closes the remote session before scaling.
When a retailer changes the price after you select a color, the page load is only the beginning of the job. A reliable workflow has to open the right tab, select the intended SKU, recognize that the price now belongs to that variant, and capture the state for review. The best cloud browsers for web scraping make that workflow easier to operate. The right choice depends on how much of the browser lifecycle your team wants to manage.
What Is a Cloud Browser?
A cloud browser is a browser process hosted by a service that your application can connect to for controlled interaction. The provider manages the running browser. Your code specifies what to do in the session and validates the result. Nstdata
How cloud browsers work
Typically, you create a session with the desired browser or network settings, obtain a connection endpoint, and attach an automation client. Through that session you can navigate, select a product option, wait for the correct page state, capture evidence, and close the browser. For a Playwright workflow, confirm how contexts and pages are exposed after attachment. Existing tabs may belong to the session already. Connecting Playwright over CDP
How hosted sessions change local Playwright work
Local Playwright lets you control the runtime and works well for development. Hosted automation moves browser processes out of the worker, but introduces remote connection state, a session time limit, and provider-specific cleanup. Reconnecting to a compatible session can preserve state where the provider supports it. Verify whether reconnecting can resume the same session and how the service accounts for a disconnected browser.
A scraping API suits a known URL and an output such as Markdown, HTML, or an artifact. A remote browser suits a user-like sequence with conditional choices, multiple tabs, or live inspection. The two approaches can overlap because some scraping APIs render JavaScript and support page actions. Choose the interface that gives you the amount of state control your task requires. Playwright and managed scraping approaches
What Features Matter in a Cloud Browser?
The important features are connection compatibility, predictable session state, regional controls, diagnostic access, and the resources needed to complete a verified task.
Decision
What to test
Playwright connection
Connection protocol, supported browser engine, authentication, and the contexts visible after attachment.
Interaction
Variant selection, application-specific waits, and whether the final state can be checked.
Geographic settings
Requested network exit, browser locale, timezone, storefront, and displayed currency.
Session lifetime
What happens when the client disconnects, a task times out, or the application stops a session.
Diagnostics and artifacts
Readiness evidence, logs or inspection, selected tab, screenshot format, and storage.
Cost and capacity
Billable resources, active-session time, retries, concurrency, and cost per accepted task.
Playwright, CDP, and page state
Some hosted services allow Chromium attachment over CDP. Playwright also has its own connection protocol. Check which the provider supports, how it expects credentials, and whether features you use behave the same after connection. Verify the supported browser before porting a workflow that tests multiple engines. Align SDK compatibility and log the browser and client versions used in the pilot.
Regional environment
An exit country and a browser language are separate inputs. A provider may offer a selected proxy region, browser locale, and timezone, and your script can still land on a different storefront. Record the target configuration early, then verify what the page serves before accepting the price. Check whether the approved workflow needs a position, a postcode, or a country setting in the page itself.
Runtime and concurrency
Define a cap for active sessions and test clean closure on success and failure. A failed script can leave a remote browser running until the platform's session boundary. Measure time spent navigating and waiting for readiness. Budget for the time and infrastructure required for retries, artifacts, and long-running interactions. Remote browser evidence and screenshots
The following services document managed browser infrastructure or remote browser access. Compare their connection, session, and diagnostic options against a shared workflow rather than using the documentation as a performance ranking.
Nstdata Cloud Browser — Managed sessions with visual inspection
Nstdata Cloud Browser hosts browser sessions and supports connecting an automation script through CDP. Its official workflow documents browser session creation, networking and environment settings, and browser inspection. Use it when a researcher or developer needs to verify a specific selected state, such as the offer shown after choosing a product variant.
Confirm the session launch settings and the correct page after attaching Playwright. Keep secrets in the automation process, and keep live access URLs private. When the workflow completes, save the result and evidence and end the browser session through the documented lifecycle. Nstdata Crawl is a separate product for returning page content and artifacts when your task can use a request-oriented collection route. Nstdata browser automation documentation
Browserbase — Managed sessions for automation applications
Browserbase documents launching browser sessions and connecting automation tools. It is a candidate when your application wants a first-class session lifecycle and debugging around browser-based tasks. Verify the connection method and session inspection features for the plan you intend to use. For a retail proof-of-concept, compare how quickly your team can identify a wrong selected tab, locate the final variant, and close the session after a failed interaction. Browserbase documentation
Browserless — Remote browser connections and REST endpoints
Browserless documents multiple connection and endpoint options, including a Chromium CDP route and REST operations. This is useful for evaluating whether several simple tasks can use request-oriented endpoints while a complex interaction needs an attached browser. Confirm which region endpoint and protocol support your workflow. Test the exact connection options, screenshot behavior, and whether your code keeps control of the session long enough for follow-up checks. Browserless connection documentation
Bright Data Browser API — Remote browser-based collection
Bright Data documents a managed Browser API for browser-based data collection. Consider it when your use case includes dynamic pages and you already evaluate Bright Data's collection surfaces. Verify the specific browser integration and plan requirements. Compare how the session surfaces navigation failures, page-level outcomes, and resource usage. Judge the completed product interaction from the same page evidence you require from every other provider. Bright Data Browser API documentation
Steel — Browser sessions for AI agent workflows
Steel documents sessions and Playwright connections for browser automation. It is a candidate when browser control is a component of an agent application that already tracks task inputs and outputs. Verify session creation, the lifetime after a client disconnect, and the artifacts available to developers and reviewers. Evaluate how your application associates the selected product and final screenshot with the session that produced them. Steel Playwright integration
How Should You Compare Cloud Browser Features and Pricing?
Compare the documented integration for each provider, then track cost and reliability against the same verified action sequence. A connected session is an intermediate result. An accepted result should include the exact variant and auditable screenshot or field data.
Provider
Documented path to evaluate
Verification priority
Nstdata Cloud Browser
Managed session and CDP attachment.
Browser and proxy settings, selected page, diagnostics, and cleanup.
Browserbase
Hosted browser sessions.
Session creation, supported attachment, and review tools.
Browserless
Remote connections and browser REST endpoints.
Protocol, endpoint region, and session versus request boundaries.
Bright Data Browser API
Managed browser for data collection.
Connection and runtime behavior on the accepted task.
Steel
Browser sessions and Playwright integration.
Agent-oriented session and artifact handling.
The table reflects documented interfaces. Use the test below to compare end-to-end behavior on your own target.
Record the plan and current official billing model before measuring a session. Some workflows spend most of their time waiting, reconnecting, or performing actions that fail verification. Report usage for all attempted sessions, cost per accepted interaction, and time spent investigating. Include which diagnostic capabilities are available under the tested plan.
Nstdata lists browser time and proxy usage as separate cost components. Collect the corresponding usage dimensions from each vendor rather than comparing headline rates. Cloud Browser billing model
How Would You Test an Interactive Ecommerce Page?
Test whether the browser can select the exact offer, wait for its price to update, and preserve the resulting state. Run the same steps against each candidate provider only after you have an authorized target and a documented way to close its sessions.
Step 1 — Make a list of accepted product URLs
Search a product catalog or a search tool for a model, such as Sony WH-1000XM5 Black, and choose an approved retailer URL. Record the requested variant, seller, condition, and market. If the correct variant is already selected, log that fact instead of counting it as a successful interaction. To test a change, choose a fixture or page on which the initial variant and target variant differ.
Step 2 — Reproduce and verify a variant change
Save this Playwright fixture as visual-evidence.mjs. It starts on Silver, selects Black, and waits for the selected variant and price to change. It checks the price and stock, then saves a PNG and a JSON record with a SHA-256 digest. The fixture runs locally without provider credentials or external page requests.
In the local run, Black resolved to 179.00 USD and In stock. The locator screenshot was a valid 9,569-byte PNG. Those are fixture results. Capturing a real retailer requires selectors verified against its current UI and its own capture run. The negative control uses node visual-evidence.mjs output-missing --missing-variant and returns exit code 1 without writing a replacement screenshot.
Step 3 — Compare only accepted outcomes
Check that the selected variant, visible price and availability all refer to the same offer. Keep the final URL, UTC capture time, browser locale, requested exit, observed storefront, and interaction result. Inspect failed attempts by stage: launch, attachment, navigation, state assertion, extraction, image creation, or cleanup. Record time and provider consumption for every attempted session, including failed ones. Compare cost per verified task once you have measured a representative sample under each candidate plan.
How Do You Get Started with Nstdata Cloud Browser and Playwright?
Create one Nstdata Cloud Browser session, wait until it is ready, then use the returned CDP credential to attach Playwright. The managed connection below uses the documented contract. The worked interaction in this article ran in local Chromium.
Step 1 — Prepare the workspace and start a test session
Sign in to Nstdata, select the intended workspace, and open Cloud Browser → Playground. Set a descriptive session name, proxy country if the approved task requires it, resource class, and duration. Leave recording and automatic CAPTCHA off for this test. Launch a session and confirm it reaches ready. Keep its session ID in NSTDATA_SESSION_ID. In Node.js 22.12+ install playwright-core@1.65.1 and provide NSTDATA_API_KEY through your runtime's secret store. Team member keys select their bound team. With an eligible personal key, NSTDATA_TEAM_ID can select a team as documented. Official Cloud Browser setup
Step 2 — Attach over CDP and verify the page
Save this connection helper as cloud-api.mjs. Its connection() checks the session state with GET /sessions/{sessionId}, requests short-lived credentials with POST /sessions/{sessionId}/automation-credentials, and validates the session ID, expiry, and wss: URL. Use the returned headerName and accessToken for CDP authentication. Authorization requires the Bearer prefix. The example reports connection failures without logging the signed URL or token. Playwright CDP workflow
const root ='https://api.nstdata.io/api/v1/cloud-browser';exportasyncfunctionapi(method, path, body){const key = process.env.NSTDATA_API_KEY;if(!key)thrownewError('Set NSTDATA_API_KEY');const headers ={'x-api-key': key };if(process.env.NSTDATA_TEAM_ID) headers['x-team-id']= process.env.NSTDATA_TEAM_ID;if(body) headers['content-type']='application/json';let response;try{ response =awaitfetch(root + path,{ method, headers,redirect:'error',body: body ?JSON.stringify(body):undefined,signal:AbortSignal.timeout(20_000),});}catch{throwObject.assign(newError('API transport failed; reconcile the original operation'),{retryable:true});}const retryable = response.status===429|| response.status>=500;let result;try{ result =await response.json();}catch{throwObject.assign(newError('Invalid API JSON'),{ retryable });}if(!response.ok|| result.err===true|| result.success===false){throwObject.assign(newError(`Cloud Browser API HTTP ${response.status}`),{ retryable });}if(!result.data)thrownewError('Missing API data');return result.data;}exportasyncfunctionconnection(id){if(!id)thrownewError('Set NSTDATA_SESSION_ID');const path =`/sessions/${encodeURIComponent(id)}`;const session =awaitapi('GET', path);if(session.state!=='ready')thrownewError(`Session is ${session.state}, not ready`);const c =awaitapi('POST', path +'/automation-credentials');if(c.sessionId!== id ||!c.headerName||!c.accessToken||!(Date.parse(c.expiresAt)>Date.now())||newURL(c.cdpUrl).protocol!=='wss:'){thrownewError('Invalid or expired CDP credentials');}return{endpoint: c.cdpUrl,headers:{[c.headerName]: c.headerName.toLowerCase()==='authorization'?`Bearer ${c.accessToken}`: c.accessToken},};}
Save the smoke test as cloud-browser-check.mjs beside the helper.
Run the file with Node. A successful smoke check prints Example Domain. To adapt it for an authorized store, replace the URL and heading assertion with validated product selectors and read the selected offer after the state change.
Step 3 — End the remote session and confirm its state
In Playground, click Stop Browser, then check the session history for its terminal state. Disconnecting the client does not end the managed session. If you create sessions programmatically, save one UUID v4 requestId per launch intent, reuse that ID and the same body when reconciling a lost response, and call DELETE /sessions/{sessionId} in the cleanup path. Verify the final state after requesting a stop. Check current rates for active browser time and proxy usage before scaling. Cloud Browser pricing
When Should You Use Nstdata Crawl for Web Scraping?
Use Nstdata Crawl, a Web Crawling API for LLM-ready data, when the result can come from a bounded collection task. Use a single-page scrape for an approved product URL or a recursive crawl with explicit page, depth, and link filters to discover a section of a storefront. Managed JavaScript rendering supports selector waits and request-scoped actions. The service handles proxy routing, so a normal Crawl request needs no separate proxy server settings. When country selection is required, pass a two-letter code through options.proxy.country and verify the served storefront separately. Nstdata MCP official repository
The MCP tool accepts six output formats. Markdown gives an LLM compact content for review. HTML preserves markup for selector-based checks. Links support product discovery. PDF, screenshots, and rawData give you documents, visual evidence, and diagnostic bytes. Keep field validation in the application so a financing amount cannot be accepted as the selling price. Common product extraction checks
Step 1 — Choose a Crawl MCP connection
For Hosted MCP, add the Streamable HTTP URL https://mcp.nstdata.io/crawl in a compatible client and complete OAuth with the Nstdata API key on the authorization page. Leave manual auth headers empty for OAuth. A client that supports request headers can use X-API-Key as an alternative.
For Local MCP, use Node.js 22.18+ on the 22 release line or Node.js 24 and put npx on the MCP client's PATH. Merge this protected user-level configuration into Codex. Cursor can use the equivalent JSON stdio entry from the official repository.
Step 2 — Try a single URL and verify the page result
Reconnect and confirm the client sees six Crawl tools. Start with nstdata_crawl_scrape using the following MCP call. The example collects a public sample URL with an observable heading.
Check the tool and task status before inspecting data. If markdownRef or htmlRef is returned, call nstdata_crawl_read_result with the actual reference value and matching format. Follow nextOffset until the tool omits it or the read budget is exhausted. For async scrape, use the returned ID with nstdata_crawl_scrape_result. For site discovery, use nstdata_crawl_start, nstdata_crawl_status, and nstdata_crawl_pages under a defined page cap. Official Crawl MCP client and tool guide
Step 3 — Route tasks that genuinely need an interactive session
Use Cloud Browser when a decision depends on live intermediate state, tab selection, or repeated interaction across a maintained session. Pass only eligible collection exceptions to this path. Record each route, site, market and validation result. Review access failures as access failures before scheduling any further work.
Which Cloud Browser Should You Choose?
Choose the provider whose verified session and evidence model fits the task. For Playwright automation, prioritize the exact protocol, browser engine, and error handling your workflow needs. For interactive retail collection, prioritize state assertions and repeatable region setup. For browser tasks inside an AI application, prioritize controlled actions, session evidence, and handoff between the model and code.
Start with the same variant task across options. Confirm the report can explain every failure and close every session before expanding. Use Nstdata Cloud Browser for evidence that depends on interaction, and Nstdata Crawl where a content retrieval request is sufficient.
What Else Should You Know About Cloud Browser Sessions?
A cloud browser session has its own lifetime, settings, and evidence requirements.
Q: Do I need to launch a local browser to use a hosted session?
An attached script controls the existing remote browser through the supported connection. Confirm client dependencies and protocol compatibility with the provider.
Q: Does a selected proxy country set the browser language?
Proxy location and browser language are separate settings. Record both and verify the retailer's actual storefront.
Q: Can I reuse the same session for every product?
Use the provider's documented session lifetime. Reuse state only when it is part of the experiment, and use clean sessions where offers could be influenced by prior state.
Q: What makes a screenshot useful as evidence?
It should show the verified product, selected variant, and relevant offer. Keep the final URL, capture time, and browser state with the image.
Q: When is a scraping API simpler than a cloud browser?
Use a scraping API when you mainly need source content or a supported artifact from a known URL and can express the needed readiness or actions within the API.
Lena Zhou
Nov. 24th 2026
Experience Nstdata - Start Your Free Trial Today
110M+ real IPs with 99.9% access success
Get immediate access to premium residential, datacenter, IPv6 and ISP proxy pools.
Blazing-fast average response ~0.5s for high-concurrency tasks