An open API service indexing awesome lists of open source software.

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

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).