omkarcloud / botasaurus

The All in One Framework to build Awesome Scrapers.
https://www.omkar.cloud/botasaurus/
MIT License
1.32k stars 121 forks source link

detect_and_bypass_cloudflare function does not work with widget hidden in shadow-dom #160

Open shtamtails opened 2 months ago

shtamtails commented 2 months ago

I am trying to solve captcha on website, I've tried to use detect_and_bypass_cloudflare and failed, so I found out that they hide cloudflare widget in shadow-dom, iframe is encapsulated in shadow-dom and can't be accessed from main DOM

As far as I know selenium already has a feature that allows to access shadow-dom, would be great to see this feature in your library, thanks.

WTFWITHTHISNAMESHIT commented 2 months ago

assume this project has been abondon