Selenium can't be uninstalled - selenium

I installed selenium 4.4.3 but when I tried to find_elements(By.NAME, "") command it gave an error about the "By" command. I tried to uninstall selenium but even though I uninstall selenium, selenium4.4.3 still runs on my computer. I tried pip, pip3, conda uninstall selenium command on cmd but selenium is still in my computer. I want to uninstall this library and install the selenium 3.14 version. Can anyone help me?

Related

Install selenium and webdriver offline in PyCharm without Pip & Interpreter

I have been trying to install selenium and webdriver in PyCharm without PIP and install package via Interpreter settings as both are blocked. Can someone please help?
Tried via pip in terminal and install package in interpreter but both didn't work

Chocolatey says "Software installed to 'C:\Program Files\Chromium\Application" but nothing is there

I'm trying to install Chromium with Chocolatey: choco install -y chromium
I get the following output:
Installing the following packages:
chromium
By installing, you accept licenses for the packages.
Progress: Downloading chromium 104.0.5112.102... 100%
chromium v104.0.5112.102 [Approved]
chromium package files install completed. Performing other installation steps.
Chromium 104.0.5112.102 is already installed.
Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
The install of chromium was successful.
Software installed to 'C:\Program Files\Chromium\Application'
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
However, no folder is created for the Chromium application in C:\Program Files. I am getting a new installation of the NuGet for Chromium in C:\ProgramData\chocolatey\lib\chromium.
I'm doing this as part of an attempt to automate a Chromium installation, so I've been messing around with lots of different chromium versions and force installs. The line Chromium 104.0.5112.102 is already installed. looks pretty suspect, as does the note in the Chocolatey chromium page that says that sometimes the package will be installed on %localappdata%\Chromium instead, but I can't find chromium installed in C:\Users\jkatofsky\AppData\Local either.
I feel like the issue is just within reach, but I can't figure it out. Any ideas?
The package is already installed (note I said package) so it won't be installed again. I think messing around with versions has caused that issue.
Uninstall the package and install it again.
Doing choco uninstall -n --skipautouninstaller chromium and going to Control Panel -> Programs -> Uninstall a program then uninstalling Chromium, and getting rid of it from the registry when prompted, fixed things for me. The next choco install chromium worked as expected.

Chromium-browser version 83 on Raspbian

I am trying to do browser automation on a raspberry pi 3b using selenium and chromedriver.
I am using chromedriver version 9.3.2 which apparently needs chrome version 83. I now want to install chromium-browser version 83 onto my raspberry pi in order to successfully run my browser-automation. Can anyone tell me, where I can find and install chromium-browser 83, or where I can find a newer version of chromedriver which will work with chromium-browser version 86?
Thanks a lot in advance!
I seem to have found a/the solution to this problem.
Since I started using selenium for browser automation I always tried to install certain versions of chromedriver as well as chromium-browser as I have read that this specific combination seems to be working for raspbian.
As it turns out, there is a possibility to always have a working latest-version setup:
Run:
sudo apt-get install chromium-chromedriver
to get the latest chromedriver, then run:
sudo apt-get install chromium-browser
to get the latest version of the chromium browser.
This should be it for successfully running selenium in Python.
Date today (29.12.2020) versions for chromedriver and chromium-browser are
86.0.4240.197-rpt1.
Hope this is helpfull.

I am failing to install Selenium module via command line

I use Ubuntu 16.10. I tried installing Selenium module of python via the command - sudo pip3 install -U selenium. But, I am not able to install it. It is giving an unexpected error. I am sharing the screenshot of the terminal here. Please help!
Please click here for the screenshot
If you are using Ubuntu, I'd suggest checking in the package manager as it may already be there. I'm on Mint and it was already there when I loaded python (2.7 also).

Appium does not start with non sudo installation

Platform: Ubuntu 14.10
Appium - 1.3.7
One similar question I had come across -
How to setup Appium in Ubuntu for android
and following suggestion, I install npm via HomeBrew
And eventually, appium execution fails with error -
error: Appium will not work if used or installed with sudo. Please rerun/install as a non-root user. If you had to install Appium using `sudo npm install -g appium`, the solution is to reinstall Node using a method (Homebrew, for example) that doesn't require sudo to install global npm packages.
Is there anything I missed?
Appium allows to run under sudo since 1.2.3: source
apparently I was on wrong directory when invoking invoking appium. I should be in /node-v0.12.2-linux-x64/bin$ and invoke appium.
even though I was in wrong directory, the error message I received was so descriptive (and misleading) that it made me believe that I installed appium in wrong way.