If you are crawling a page that requires you to render the javascript on the page to scrape the data you need, then we can fetch these pages using a headless browser. To render javascript, simply set render=true and we will use a headless Google Chrome instance to fetch the page. This feature is available on all plans.
# remember to install the library: gem install scraperapirequire"scraper_api"client =ScraperAPI::Client.new("APIKEY")result = client.get("http://httpbin.org/ip", render: true).raw_bodyputs result