Skip to content

Practicing selenium for testing and automation

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.chromedriver
Notifications You must be signed in to change notification settings

Mgobeaalcoba/selenium_python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Selenium Python Automation

This repository contains a collection of scripts and examples for web automation using Selenium with Python. The scripts demonstrate how to automate various tasks on websites, including form filling, button clicking, data scraping, and more.

Features

  • Automated web browsing
  • Form filling
  • Button clicking
  • Data scraping
  • Element interaction

Requirements

  • Python 3.x
  • Selenium

Getting Started

To get started with Selenium Python automation, follow these steps:

  1. Clone the repository:
git clone https://github.com/Mgobeaalcoba/selenium_python.git
cd selenium_python
  1. Install the required dependencies:
pip install selenium
  1. Download the appropriate WebDriver for your browser:
  • Chrome: ChromeDriver
  • Firefox: GeckoDriver
  • Safari: SafariDriver
  1. Update the path to the WebDriver in the scripts:
# Example for ChromeDriver
webdriver_path = "/path/to/chromedriver"
  1. Run the desired scripts:
python script_name.py

Project Structure

The project structure follows a basic layout for Selenium Python automation:

  • script_name.py: Individual script for a specific task.
  • utils.py: Utility functions for common actions.
  • drivers/: Directory to store WebDriver executables.

Contributing

Contributions to this Selenium Python automation project are always welcome. Here are a few ways you can help:

  • Report bugs and issues
  • Suggest new scripts and features
  • Improve existing scripts and examples
  • Fix bugs and submit pull requests

Please make sure to follow the existing code style and conventions when making contributions.

License

This project is licensed under the MIT License.

Releases

No releases published

Packages

No packages published