-
Open anaconda prompt / Linux Terminal /CMD
-
Check python installed or not using
python --version -
Expected output
Python 3.x.x :: Anaconda, Inc.orPython 3.x.x-
sudo apt-get install software-properties-commonsudo add-apt-repository ppa:deadsnakes/ppasudo apt-get updatesudo apt-get install python3.6
-
- Download and install https://www.python.org/downloads/
-
-
Check pip is installed or not using
pip --version -
Expected Output
pip xx.x from C:\Users\Personal\AppData\Roaming\Python\Python3x\site-packages\pip (python 3.x)-
sudo apt updatesudo apt install python-pip
-
- Save the webpage to desktop (Automatically it save as a pyton file ) https://bootstrap.pypa.io/get-pip.py
- Go to desktop : press LSHIFT + MOUSE RIGHT CLICK
- choose open powershell/cmd here
python get-pip.py
-
-
Install selenium
Pip install Selenium -
Download browser automation tool
- if you are using Chrome :- http://chromedriver.chromium.org/downloads
- if you are using Firefox :- https://github.com/mozilla/geckodriver/releases
-
Extract and save it to desktop , inside a folder geckodriver or chromedriver accordingly
-
-
wget https://github.com/mozilla/geckodriver/releases/download/v0.23.0/geckodriver-v0.23.0-linux64.tar.gzsudo sh -c 'tar -x geckodriver -zf geckodriver-v0.23.0-linux64.tar.gz -O > /usr/bin/geckodriver'sudo chmod +x /usr/bin/geckodriverrm geckodriver-v0.23.0-linux64.tar.gz
-
wget https://chromedriver.storage.googleapis.com/2.29/chromedriver_linux64.zipunzip chromedriver_linux64.zipsudo chmod +x chromedriversudo mv chromedriver /usr/bin/rm chromedriver_linux64.zip
-
-
Day3-Python-WebAutomation_Exp
Directory actions
More options
Directory actions
More options
Day3-Python-WebAutomation_Exp
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||