Many modern websites rely on JavaScript to load content. The Universal Crawl API supports headless browser rendering to ensure you get the full page content.
Enabling JavaScript Rendering
To enable JavaScript rendering, add the `render` parameter to your request and set it to `true`.
&render=true
Wait Actions
You can also specify actions to wait for before capturing the content, such as waiting for a specific selector to appear or waiting for a set amount of time.
&wait_for_selector=.main-content
Note: Enabling JavaScript rendering may increase the response time of the API request.