Skip to main content

A simple CLI tool to set up Selenium scripts and install browser drivers for automation.

Project description

selenium-make

selenium-make automates the installation of essential dependencies for web scraping and browser automation using Selenium and BeautifulSoup. It creates a simple Selenium-based web automation script tailored for the specified browser (Chrome or Firefox).

Installation

To install selenium-make, you can use pip. Run the following command in your terminal:

pip install selenium-make

Usage

After installing the package, you can initialize the selenium project by running the following command:

slm init <browser name>

Supported Browsers

  • Chrome: Use slm init chrome to download the ChromeDriver that is compatible with your browser version.
  • Firefox: Use slm init firefox to download the GeckoDriver that is compatible with your browser version.

Example

To initialize selenium script for using chrome, you would run:

slm init chrome

To initialize selenium script for using firefox, the command would be:

slm init firefox

Requirements

  • Python 3.6 or higher

Contribution

If you would like to contribute to this project, please fork the repository and submit a pull request. Any enhancements, bug fixes, or suggestions are welcome!

License

This project is licensed under the MIT License. See the LICENSE file for more information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

selenium_make-0.0.1.tar.gz (4.4 kB view hashes)

Uploaded Source

Built Distribution

selenium_make-0.0.1-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page