https://github.com/mgobeaalcoba/selenium_python
Practicing selenium for testing and automation
https://github.com/mgobeaalcoba/selenium_python
automation htmltestrunner python3 selenium-webdriver testing unittest web-scraping
Last synced: 2 months ago
JSON representation
Practicing selenium for testing and automation
- Host: GitHub
- URL: https://github.com/mgobeaalcoba/selenium_python
- Owner: Mgobeaalcoba
- License: mit
- Created: 2023-05-10T19:36:11.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-18T21:55:22.000Z (about 3 years ago)
- Last Synced: 2026-01-01T10:38:56.575Z (6 months ago)
- Topics: automation, htmltestrunner, python3, selenium-webdriver, testing, unittest, web-scraping
- Language: Python
- Homepage:
- Size: 7.85 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
```bash
git clone https://github.com/Mgobeaalcoba/selenium_python.git
cd selenium_python
```
2. Install the required dependencies:
```bash
pip install selenium
```
3. Download the appropriate WebDriver for your browser:
- Chrome: ChromeDriver
- Firefox: GeckoDriver
- Safari: SafariDriver
4. Update the path to the WebDriver in the scripts:
```bash
# Example for ChromeDriver
webdriver_path = "/path/to/chromedriver"
```
5. Run the desired scripts:
```bash
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](LICENSE).