To avoid rendering unnecessary images, tracking scripts, etc. that will slow your requests down, the API doesn’t render everything on the page by default. Sometimes this might include some data that you actually need. If you find yourself in such situation, you can instruct the API to wait for a specific selector to appear on the page through the use of the wait_for_selector=x
parameter, before we return the final rendered response back to you.
Please note, that you need to include therender=true
parameter whenever you are specifying the wait_for_selector
, otherwise the API will ignore it.
If you find yourself in need of help, you can contact our support team here