Open byteshiva opened 2 years ago
Try to use a different agent name.
For example:
{ driver: "cdp", userAgent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome 76.0.3809.87 Safari/537.36"}
Also, you may try to not use headless mode in Chrome. But at this moment, you will need to implement it yourself because the official Ferret Chromium Docker image does not support it.
For example, I tried open a site behind Cloudflare, and it threw the below error. How can I avoid Cloudflare captcha errors? or How could I install privacypass chrome extension provided by Cloudflare