ambitious-aqua•2y ago
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()2 Replies
ambitious-aquaOP•2y ago
Awesome, thanks @HonzaS !