Wire Mode: No module named 'blinker._saferef' if installing selenium-wire alone.
Wire Mode (--wire / wire=True) uses the selenium-wire library. The selenium-wire library has a dependency on blinker. The latest version of blinker no longer has blinker._saferef, which selenium-wire needs. This leads to ModuleNotFoundError: No module named 'blinker._saferef'.
Since https://github.com/wkeeling/selenium-wire is no longer maintained (and therefore won't make changes or pin dependencies) it's up to SeleniumBase to make the necessary changes. One way is by forcing blinker==1.7.0, which does not have the issue.
Because Wire Mode is optional, I don't want to create a dependency on blinker==1.7.0 in the standard SeleniumBase dependencies. Instead, this issue can be fixed by automatically installing blinker==1.7.0 in Wire Mode if that is not the current version of blinker.
Wire Mode:
No module named 'blinker._saferef'
if installingselenium-wire
alone.Wire Mode (
--wire
/wire=True
) uses theselenium-wire
library. Theselenium-wire
library has a dependency onblinker
. The latest version ofblinker
no longer hasblinker._saferef
, whichselenium-wire
needs. This leads toModuleNotFoundError: No module named 'blinker._saferef'
.Since https://github.com/wkeeling/selenium-wire is no longer maintained (and therefore won't make changes or pin dependencies) it's up to
SeleniumBase
to make the necessary changes. One way is by forcingblinker==1.7.0
, which does not have the issue.Because Wire Mode is optional, I don't want to create a dependency on
blinker==1.7.0
in the standard SeleniumBase dependencies. Instead, this issue can be fixed by automatically installingblinker==1.7.0
in Wire Mode if that is not the current version ofblinker
.