Closed stanmertens closed 2 years ago
Thanks for raising this.
The issue appears to be caused by a new version of PyOpenSSL 22.1.0 that was released yesterday (September 25th). It looks like that version contains a backwards incompatible API change that breaks Selenium Wire.
I'll update Selenium Wire so that it doesn't depend on this version, but in the meantime you should hopefully be able to work around the problem by using version 22.0.0 of PyOpenSSL. You can explicitly install that into your environment with:
pip install pyopenssl==22.0.0
Perfect! Thank you @wkeeling.
I'm also affected by this issue.
Also impacted, trying fix above. ty!
A fix is included in the latest version of Selenium Wire - 5.0.0
Hello,
I'm getting the following error. Running on Pyton 3.10.7, Selenium Wire 4.6.5 and pyOpenSSL 22.1.0. This log is from Heroku but I'm getting the same when running it locally. I've been using selenium-wire for over 2 years now and I never really had any issue that I couldn't fix. However on this one I'm completely stuck. Any help would be greatly appreciated.
Update After forking and removing 4 lines it seems to work. However I'm not sure what I'm doing. Any help would still be appreciated. https://github.com/stan5079/selenium-wire/commit/645ce6a16ba7a4cf5ba396890125b5b3e3feb5b9