JavaScript Scenario
Need to scroll, click, fill inputs or else? We got you covered.
Try ScrapingBee for Free Read the documentationScrapingBee simplified our day-to-day marketing and engineering operations a lot . We no longer have to worry about managing our own fleet of headless browsers, and we no longer have to spend days sourcing the right proxy providerMike Ritchie CEO @ SeekWell
Interact with the webpage you want to scrape.
Mouse click
Wait for CSS/XPath elements to appear
Scrolling
Input filling
Custom JavaScript execution
from scrapingbee import ScrapingBeeClient
client = ScrapingBeeClient(api_key='YOUR-API-KEY')
response = client.get(
'https://www.scrapingbee.com/blog',
params={
'js_scenario': {"instructions": [
{"wait_for": "#slow_button"},
{"click": "#slow_button"},
{"scroll_x": 1000},
{"wait": 1000},
{"scroll_x": 1000},
{"wait": 1000},
{"fill": ["input_1", "value_1"]}
]},
},
)
DEVELOPER EXPERIENCE
Top-rated support & documentation
Our team is here to guide you when you need the extra assistance. And we're constantly working on new features to make your life easier.
Code samples
Whatever the programming language you enjoy, we have written code samples in Java, Python, Go, PHP, curl and JavaScript.
Exceptional supports
We will quickly answer all your questions by live chat or emails, even the hard ones 😉.
Simple, transparent pricing.
Cancel anytime, no questions asked!
API Credits
Concurrent requests
JavaScript rendering
Rotating & Premium Proxies
Geotargeting
Screenshots, Extraction Rules, Google Search API
Priority Email Support
Dedicated Account Manager
Team Management
All prices are exclusive of VAT.
Need more credits and concurrency per month?
Not sure what plan you need? Try ScrapingBee with 1000 free API calls.
(No credit card required)