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.