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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for selenium_make-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 744ab6d7948e2178cd5714e79afcbd75709f15fbed581b1843fac8b241557785 |
|
MD5 | 74247e39547d8439488a7cca9123f38b |
|
BLAKE2b-256 | 364d5e9dbf107efa3b0644fbdc6c7b181cbbf47ee45fad10bafc213dadc8a9e3 |