How to Download & Install Selenium & Python

How to Download & Install Python?
1. Go to "www.python.org"
2. Go to Downloads & Download the latest version of python.
3. Double click on the python downloaded file and install it.

How to Check Python Installed on Your PC or Not?
Go to the command window and type “py” and click on enter. It shows python version number and date of installation.

How to Download & Install PyCharm?
Go to https://www.jetbrains.com/pycharm/download"and download the community file and install it.
How to Create a Project in PyCharm?
1. Open the PyCharm and Click on File
2. Click on New Project and Enter a Project Name

How to Create a Package under Project in PyCharm?
Click on Project-----Select New ---- Click on Python Package and Enter package name.
How to create a Python File?
Click on package---Select New---Click on Python file and Enter file name.

Note:
We can create multiple packages under a package.
The Package and File Names should be Added Without Spaces.

How to Delete a Project in PyCharm?
1. Go to File & Click on Close Project.
2. Delete the projects which you do not need.

How to Install Selenium Using PyCharm?
Approach -1
Go to cmd window and Type “pip install -U selenium” and click on Enter. Check in “PyCharm Interpreter” if selenium is installed or not.
Approach -2
Go to File in Pycharm and Click on Settings
Go to Python Interpreter and Click On “+” in Right side
Type “selenium” in the Search Bar and Click on Install Package.

Popular posts from this blog

WebDriver Basic Commands, Navigational Commands & Conditional Commands

How to Run Tests On Browsers