kkoooqq / fakebrowser

🤖 Fake fingerprints to bypass anti-bot systems. Simulate mouse and keyboard operations to make behavior like a real person.
GNU Lesser General Public License v3.0
1.13k stars 211 forks source link

Issues on puppeteer version and demo 1 #68

Open sjwang222 opened 2 years ago

sjwang222 commented 2 years ago

Hi there,

Thanks for sharing this wonderful package. I followed your documents for installation and I found one issue when playing with demo 1 - If we install the package with the following code by now: yarn add puppeteer axios fakebrowser

Then by default a puppeteer@16.xx will be installed but the demo1 here is incompatible with the newest version - it will give the following error: CDP ServiceWorker.setForceUpdateOnPageLoad exception TypeError: page._client.send is not a function

This issue can be fixed by specifying the puppeteer version to be 14.3.0, as suggested by this post.

Maybe it is a good idea to refine the version of puppeteer when adding the package with yarn.