You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @mdmintz , on sb_cdp.Chrome we I want to learn more on seleniumbase's CF's prototype-chain js-proxy detector (fires when Runtime.enable has been called and always-on in CDP Mode) capabilities. Every sb.evaluate adds a sample. Hard CF customers might flag me even though gui_click_captcha() clicks correctly.
disconnect() / reconnect() / uc_open_with_reconnect() aren't exposed on sb_cdp.Chrome since self.driver is cdp_driver.Browser. They live on Driver(uc=True) thus no more Runtime.enable seen by CF .
For CF-hard sites specifically, do you recommend:
Migrate to Driver(uc=True) and wrap the captcha click in disconnect() / reconnect()?
Stay on CDP Mode (lean on proxy + minimal evaluate)?
Hybrid — CDP for general, UC for CF-hard hosts?
Something undocumented to skip Runtime.enable in CDP Mode?
A lot of that is from the older UC Mode. The newer CDP Mode doesn't use WebDriver, and also has newer CDP methods for handling CAPTCHAs, such as solve_captcha(), which doesn't use PyAutoGUI. See the CDP Mode docs and try out the newer examples.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi @mdmintz , on
sb_cdp.Chromewe I want to learn more on seleniumbase's CF's prototype-chain js-proxy detector (fires whenRuntime.enablehas been called and always-on in CDP Mode) capabilities. Everysb.evaluateadds a sample. Hard CF customers might flag me even thoughgui_click_captcha()clicks correctly.disconnect()/reconnect()/uc_open_with_reconnect()aren't exposed onsb_cdp.Chromesinceself.driveriscdp_driver.Browser. They live onDriver(uc=True)thus no more Runtime.enable seen by CF .For CF-hard sites specifically, do you recommend:
Driver(uc=True)and wrap the captcha click indisconnect()/reconnect()?Runtime.enablein CDP Mode?Thanks.
All reactions