getthecourse.blogspot.com is an Online Portal that will teach you Selenium From Scratch. selenium is a Web Application Framework Used to Automate the Front End Web Applications. Selenium can be Coded Using Various Languages such as Java, C#, Python, Ruby, etc.
Before the process of automating the Web Application, It is necessary to Set Up an Environment where we will write Python Selenium Scripts and we will Run them.
Steps Involved in Downloading And Installing Python:
- Navigate to the Python.Org This is the Official Website where You Need to Download the python .exe File.
- After Downloading You need to Install it By Double Clicking the .exe File.
- In the Installation Process, You can Click the CheckBox: Add to path So that, the Python will be Added to the Environmental Variables Automatically. Or else, You Need to tell to your system where exactly python is located after downloading.
Adding Path To Your Environmental Variables:
If you did not click the Checkbox Add to path, during Installation process and installed Python. Then You need to Execute the Following process.
First Locate the Path Where Python is installed. By default, Path Of the Python Location in My System is:
C:\Users\Satyanarayana Pindi\AppData\Local\Programs\Python\Python311
Also Locate the Pip file in the Python Folder As Follows :
C:\Users\Satyanarayana Pindi\AppData\Local\Programs\Python\Python311\Scripts
And Paste these two File Paths manually in the Environmental Variables. Now to check Whether Python is Installed Successfully Or Not, Open the Command Prompt and Type the Following Command:
python --version
Congratulations! Python was Installed Successfully. Now It's time to Install Selenium
Installing Selenium:
To Install Selenium, Type the following Command in Command Prompt:
pip install selenium
pip:
PiP is a Standard Package Manager for Python. PiP Will get Installed in Your Machine When You Install Python. PIP is used to install third party packages that are not part of Python Standard Package Library.
- Selenium Will be get installed with the Help of pip.
- When You download any package, that package will be installed in the python environment using pip.
- When you download Selenium, Selenium will be injected into this python libraries by default. You no need to again importing something seperately.
- PIP will help you to download the package from internet and push the selenium packages in to python libraries.
It is necessary to Learn Some python Basics, Before proceeding to the Selenium Automation. We will be learning Python Basics before Learning Selenium
Learn Python Basics!