wkeeling / selenium-wire

Extends Selenium's Python bindings to give you the ability to inspect requests made by the browser.
MIT License
1.86k stars 241 forks source link

python 3.10.9 #640

Open Muthuvel2019 opened 1 year ago

Muthuvel2019 commented 1 year ago

i could not install seleniumwire in python 3.10.9 environment.

ERROR: Could not find a version that satisfies the requirement seleniumwire (from versions: none) ERROR: No matching distribution found for seleniumwire

Can you please help me in this ??

frshman commented 1 year ago

i could not install seleniumwire in python 3.10.9 environment.

ERROR: Could not find a version that satisfies the requirement seleniumwire (from versions: none) ERROR: No matching distribution found for seleniumwire

Can you please help me in this ??

pip install selenium-wire,not seleniumwire

Muthuvel2019 commented 1 year ago

i have installed using 'pip install selenium-wire' when running , i got this warning RequestsDependencyWarning: urllib3 (1.26.14) or chardet (3.0.4) doesn't match a supported version! warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "

Muthuvel2019 commented 1 year ago

this ERROR also INFO:seleniumwire.undetected_chromedriver.webdriver:Using undetected_chromedriver DEBUG:undetected_chromedriver.patcher:getting release number from /LATEST_RELEASE_109.0.5414.74 Unexpected err=<HTTPError 404: 'Not Found'>, type(err)=<class 'urllib.error.HTTPError'> HTTP Error 404: Not Found DEBUG:undetected_chromedriver.patcher:could not unlink /home/ubuntu/.local/share/undetected_chromedriver/de00720a42fafb43_chromedriver in time (3 seconds)

Muthuvel2019 commented 1 year ago

uc.Chrome(version_main='109' resolve the above issue. but getting killed with the following sys:1: ResourceWarning: unclosed <socket.socket fd=7, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('127.0.0.1', 48208), raddr=('127.0.0.1', 50101)> Object allocated at (most recent call last): File "/home/ubuntu/.local/lib/python3.10/site-packages/urllib3/util/connection.py", lineno 76 sock = socket.socket(af, socktype, proto)