
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
36
Total users
1.4k
Monthly users
233
Runs succeeded
99%
Issue response
8.9 days
Last modified
24 days ago
How would this get solved
Closed
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!