Skip to main content

A lightweight Selenium automation utility package.

Project description

Selenium Web Automation Utils

A lightweight Python utility package for web scraping and automation using Selenium.

🚀 Features

  • Reusable Selenium Utilities: Simplify automation tasks.
  • Web Scraping Helpers: Easily interact with web elements.
  • Task Automation: Automate logins, form submissions, and more.
  • Human-Like Interactions: Simulate realistic browsing behavior.

📦 Installation

Install the package using pip:

pip install selenium-web-automation-utils

To include optional colored logging support, install with the [color] extra:

pip install selenium-web-automation-utils[color]

📖 Usage Example

from selenium_web_automation_utils.selenium_utils import get_webdriver, find_element_wait

with get_webdriver() as driver:
    driver.get("https://example.com")
    element = find_element_wait(driver, "//h1")
    print(element.text)

🛠 Requirements

  • Python 3.7+
  • selenium

Optional:

  • colorfulPyPrint (for colored logging)

📝 Contributing

  1. Fork the repo
  2. Create a branch
  3. Commit your changes
  4. Submit a PR

📜 License

MIT License

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_web_automation_utils-0.1.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

selenium_web_automation_utils-0.1.0-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file selenium_web_automation_utils-0.1.0.tar.gz.

File metadata

File hashes

Hashes for selenium_web_automation_utils-0.1.0.tar.gz
Algorithm Hash digest
SHA256 21726004b2d8d0ae214d12b833c5aefc0e4116bdc1f307672b2ffe0ef19ef36d
MD5 965062c5952dd53627db4c3dee258016
BLAKE2b-256 bcce11539fe2887384982d13e195cdf301d7041f6f2339446ef8e34dfb9ed223

See more details on using hashes here.

File details

Details for the file selenium_web_automation_utils-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for selenium_web_automation_utils-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 426fbd12f6e8121145a2146f5a64bbe74550b6d4f44945ea1c141696340b59a2
MD5 1447a3b26ea61a663dbe456db0296173
BLAKE2b-256 cdcc5ba3ca00906fcf6ef8f1785f0334077b84194385edfcce3852e05c3e310a

See more details on using hashes here.

Supported by

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