sad-indigoS
Apify & Crawlee2y ago
2 replies
sad-indigo

Playwright: aborting routes

Hi,

Since the "requestHandler" is called after the crawler goes to the URL to be crawled, I can I tell the Playwright crawler which routes to abort so it doesn't unecessarily fetch things that are not needed?

Normally I'd page.route("expression", route => route.abort()) before page.goto()
Was this page helpful?