Selenium_python ✔️

What is Selenium ?

Selenium is an open-source testing tool, which means it can be downloaded from the internet without spending anything. Selenium is a functional testing tool and also compatible with non-functional testing tools as well.


Selenium WebDriver

Selenium WebDriver is a web framework that permits you to execute cross-browser tests. This tool is used for automating web-based application testing to verify that it performs expectedly. Selenium WebDriver allows you to choose a programming language of your choice to create test scripts. As discussed earlier, it is an advancement over Selenium RC to overcome a few limitations. Selenium WebDriver is not capable of handling window components, but this drawback can be overcome by using tools like Sikuli, Auto IT, etc.
Getting Started with Selenium WebDriver for Automation Testing

Links 🔗


Downloads


Getting Started with Selenium

pip install selenium
from selenium import webdriver

driver = webdriver.Chrome(executable_path=r"<LOCATION OF CHROMEDRIVER OR GECKODRIVER>")

INSTALLATION

git clone https://github.com/hhhrrrttt222111/Selenium_python.git

cd Selenium_python

python3 -m pip install -r requirements.txt

USAGE

python3 Pyselenium.py

Required Modules

pip install requests
pip install beautifulsoup4
pip install lxml