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.1.tar.gz (6.9 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.1-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for selenium_web_automation_utils-0.1.1.tar.gz
Algorithm Hash digest
SHA256 773852c4d6e85f216973eb11c60a334db47540c9c14644bfcd2e92b0cc0741ab
MD5 8838f7763369f0b3820bb929ab0226fc
BLAKE2b-256 0d57e61ba26d4ada37e9e9e4301dcca698f4d4c9813fc14567320d1c19d4e6b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for selenium_web_automation_utils-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7c7e26093d7a5ede393acae4e02e2d307637ee9a63abe1ea86b4860a40049731
MD5 ed92d540f57e9066d3718d35ff4a2e25
BLAKE2b-256 a307c21fb2bc9e57f1abc3058b123e02a73a0e9c7dc126afda5b83c860909cc3

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