Add support for `preNavigationHooks` in Playwright
As the title, I want to know does the crawlee-python support the preNavigationHooks function?
Hello and thanks for your interest in Crawlee for Python! Pre-navigation hooks are not currently supported. Before we implement this, would putting the hook code into the request handler help? Or do you need to do something before the page is loaded?
Hello and thanks for your interest in Crawlee for Python! Pre-navigation hooks are not currently supported. Before we implement this, would putting the hook code into the request handler help? Or do you need to do something before the page is loaded?
OK, thank you, I want to change some browser properties before the page loaded, so I think it will be really helpful to support the preNavigationHooks.
I want to do something before the page loads, such as aborting when loading some images or CSS, Is there any trick available to achieve this as of now?
@vdusek /assign
@vdusek /assign
We don't assign issues for hacktoberfest. If you want to contribute, open a PR whenever you're ready. First mergeable one gets merged.
@janbuchar Thanks Mate
@janbuchar i have created a PR to solve the issue please view it #602