
Playwright Scraper
Pricing
Pay per usage

Playwright Scraper
Crawls websites with the headless Chromium, Chrome, or Firefox browser and Playwright library using a provided server-side Node.js code. Supports both recursive crawling and a list of URLs. Supports login to a website.
4.3 (7)
Pricing
Pay per usage
31
Monthly users
141
Runs succeeded
98%
Response time
3.1 days
Last modified
10 months ago
How would this get solved
I am trying to run the scraper but facing the issue
Hello and thank you for your interest in this Actor!
The preNavigationHooks
input option expects a JavaScript array (just the array itself, without the variable declaration like const preNavigationHooks = ...
or property names like preNavigationHooks:...
). In JavaScript terms, it should be a string representing the array expression, for example:
"[async () => {console.log('hello')}]"
It looks like the error is due to an incorrect format—please check that you're passing a valid array expression as a string.
I'll go ahead and close this issue, but feel free to open a new one if you need further assistance. Cheers!
Pricing
Pricing model
Pay per usageThis Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage.