JeromeJ
Apify & Crawlee2y ago
4 replies
Jerome

AdaptivePlaywrightCrawler: programmatically deciding when to render JS

Using the new adaptative Playwright crawler, is it possible programmatically decide when to render JS?
For example using HTTP crawling by default, but if some condition is met (for example, finding the word 'captcha' in the loaded url), switch to JS rendering and try to unblock the page.

A similar question, for which I didn't find any answer in the docs, is how does the AdaptivePlaywrightCrawler decide to render JS or not?
Was this page helpful?