Capture Div Using Nodejs API
Ask questions on how to capture or convert web pages or HTML into images, CSV, PDF or DOCX documents as well on how to convert videos into animated GIF's using our API.
Asked by GrabzIt Support on the 8th of April 2020
I am only able to capture the visible page using client.url_to_image(url, options);.
Is it possible to use the option "targetElement"="#forecast-discussion";
to capture the div id="forecast-discussion" from this page? Or is it impossible due to the page structure?
Thanks for the help,
Answered by Royston on the 17th of April 2020
When I go to the url you provide, I get an 404 error.
Is the page behind a login? Then you need to get grabzit logged-in first ;-)
Hopes this helps.