This repository contains various Selenium automation scripts demonstrating different functionalities such as handling alerts, iframes, dropdowns, checkboxes, web tables, and more.
š Project Structure
selenium_demo/ āāā browser_commands.py # Basic browser operations āāā broken_images.py # Detecting broken images on a webpage āāā broken_links.py # Checking for broken links on a webpage āāā checkboxes.py # Handling checkboxes āāā date_picker.py # Automating date picker inputs āāā dropdown.py # Handling dropdown menus āāā handling_tabs.py # Switching between browser tabs āāā iframe.py # Interacting with iframes āāā java_script_alert.py # Handling JavaScript alerts āāā login.py # Automating login functionality āāā nested_frames.py # Handling nested frames āāā viewport.py # Changing browser viewport size āāā web_table.py # Extracting data from web tables
š§ Prerequisites
Python (>=3.x)
Google Chrome & ChromeDriver
Selenium
š Installation
Clone this repository:
Create a virtual environment (optional but recommended):
Install dependencies:
š Running the Scripts
Run any script using:
python script_name.py
Example:
python login.py
š Happy Testing with Selenium!
Like this project
Posted Apr 28, 2025
Created Selenium scripts for automation testing demonstrations.