Javascript Execute

Execute your Javascript codes in Headless Browsers

Start using

-- CODE language-shell --
curl "http://api.scrape.do?token=API_TOKEN&url=http://example.com&JSExecute=b64_encoded_js_code"

What is JS Execute Feature?

Scrape.do can perform the operation you want to do via headless browsers with javascript code.

For example, scrolling allows you to perform functions such as clicking a button or opening a popup when you want to see more results.

After encoding the Javascript code you want to run on the browser with base64, you can transmit it via the 'JSExecute' parameter.

Important

  • You need to enable Javascript Render for this feature.
Updated:
October 14, 2021
Still require support?
Contact support