PlaywrightCrawler.requestHandler: Error: mouse.move: Target page, context or browser has been closed
sometimes I get this error:
mouse.move: Target page, context or browser has been closedHere the sequence of calls:
In case I catch the exception thrown in page.mouse.move and contine - than I get
almost the same thing when calling page.content():
page.content: Target page, context or browser has been closedI would like to move mouse randomly - I think, the make my scraper "human-like".
But something is going wrong here and I can not figure out what.
Sometimes this code works and sometimes I see these errors!
Pls help!
UPDATE:
and sometimes the error message is:
ERROR requestHandler: Request failed and reached maximum retries. page.goto: Navigation failed because page was closed!I think, somehow these error messages are related...
