Browser Automation
Scripted browser actions are on the roadmap.
Step-by-step browser actions — click, type, scroll, wait — before capturing a page. Not built yet. What is live today: the URL Scraper can fetch a page and take a screenshot.
Not available yet. There is no script for Browser Automation in the API today. Nothing on this page can be called until it ships.
Live today
Live today: screenshot
Every scraper runs through POST /v1/run with your key in the x-api-key header.
In the response, values in <angle brackets> stand for real data and arrays are shortened to one item.
curl -X POST https://api.datafor.dev/v1/run \
-H "Content-Type: application/json" \
-H "x-api-key: $DATAFOR_API_KEY" \
-d '{
"script_name": "url_scraper",
"params": {
"url": "https://example.com",
"formats": "markdown,screenshot",
"use_proxy": true,
"device": "mobile"
}
}'Planned scope
What we plan to build.
Items marked “Coming soon” are plans, not commitments. Scope and timing may change.
Screenshots
LiveLive today through the URL Scraper: use_proxy=true, a device profile and screenshot or full_page_screenshot.
JavaScript rendering
Coming soonLoad the page in a real browser and wait for it to settle before capture.
Click, type and scroll steps
Coming soonAn ordered list of actions to run before capture.
Persistent sessions
Coming soonKeep cookies across steps and runs.
Logged-in pages
Coming soonAccess pages that need an account.
Credits
How credits work.
Pricing is not set. Today a URL Scraper run with a screenshot costs 1 credit (10 with residential proxy).
Each run is charged when it starts. If the worker fails or times out, the credit is refunded automatically and the run is marked as refunded. Every response shows the cost and your remaining balance.
See pricingFAQ
Questions about Browser Automation.
Can I fill a form or click a button today?
No. Today you can only fetch a page and capture it.
When will it ship?
There is no date yet. Tell us what you need at hello@datafor.dev.
Related
Other products.
Browser Automation isn’t live yet. These are.
SERP, Keyword Planner, URL Scraper and the e-commerce scrapers work today.