Closed ranni-follower closed 1 month ago
Duplicate of https://github.com/seleniumbase/SeleniumBase/issues/1774#issuecomment-1444399269, https://github.com/seleniumbase/SeleniumBase/issues/2032#issuecomment-1693931853, https://github.com/seleniumbase/SeleniumBase/issues/2151#issuecomment-1741234068, etc.
Due to unresolved issues with selenium-wire
: https://github.com/wkeeling/selenium-wire/search?q=undetected&type=issues, UC Mode and Wire Mode cannot be combined. Pick one or the other.
(driver.requests
is part of selenium-wire
)
There are ways of getting that data in UC Mode without Wire Mode. Examples:
I'm scraping a certain website and need to use
uc_open_with_reconnect()
to bypass their checks. Their html doesn't display every information. I need to sniff the requests and responses. But when usingdriver = Driver(uc=True, wire=True)
, I got errorAttributeError: 'Chrome' object has no attribute 'requests'
. It does work whenuc=False
thoughPlease add driver.requests for UC mode.