Skip to content

playwrightUtils for blocking patterns #2810

Answered by janbuchar
tsrseerist asked this question in Q&A

You must be logged in to vote

Can you try calling blockRequests in a pre-navigation hook (https://crawlee.dev/api/playwright-crawler/interface/PlaywrightCrawlerOptions#preNavigationHooks) instead of a request handler?

Replies: 3 comments 4 replies

You must be logged in to vote
0 replies

You must be logged in to vote
4 replies
@janbuchar

@janbuchar

Answer selected by janbuchar
@tsrseerist

@tsrseerist

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants