Do like this:
pip uninstall selenium
And:
pip install selenium==2.33
質問
Is there a way to uninstall Selenium Webdriver in linux? I want to reinstall an older version ie 2.33 which worked for me. Can you please let me know the syntax for installing specific version of selenium in linux?
In Selenium website previous release of java are present. Where can I previous versions of Python?
解決
Do like this:
pip uninstall selenium
And:
pip install selenium==2.33
他のヒント
You can install your required version with following command
pip install selenium==2.53.6
it will automatically uninstall previous version installed on your system and install your required version.
if you want to update selenium to latest version, then run following command
pip install -u selenium
selenium
As for installing previous version of selenium you can simply use as the others said.
pip install selenium== VERSION_YOU_WANT
selenium
pip install -u selenium
is not working for now.
There is a new version of selenium 4.9
To update to the latest version of selenium
you can use this command:
pip install -U selenium