How to get previous versions of Python Selenium Webdriver
Asked Answered
S

4

6

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?

https://code.google.com/p/selenium/downloads/list?can=1&q=

Smitherman answered 3/5, 2014 at 5:45 Comment(0)
W
17

Do like this:

pip uninstall selenium

And:

pip install selenium==2.33

Whig answered 3/5, 2014 at 6:17 Comment(2)
if we dont have pip installed is there any other way to uninstall? Can i try "python setup.py uninstall"?Smitherman
You can use pip even if it didn't install the package. So, go ahead install pip and follow the procedure.Whig
T
4

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
Trinidadtrinitarian answered 8/5, 2017 at 23:28 Comment(0)
C
0
Installing any previous version of selenium

As for installing previous version of selenium you can simply use as the others said. pip install selenium== VERSION_YOU_WANT

For Updating to the latest version of 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

Cartierbresson answered 18/5, 2023 at 10:55 Comment(2)
This does not answer the questionAbattoir
I've changed it with the answer for the question asked. My previous comment was meant for those who were facing the trouble update their selenium version 4.8. I had a trouble updating. So, thought it would help if anyone come across this page and face trouble updating their selenium.Cartierbresson
C
0

if anyone want to upgrade or download specific version of selenium then run this in your command prompt- pip install selenium==4.10.0

Colloidal answered 26/7, 2023 at 6:2 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.