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.2.2.tar.gz (7.4 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.2.2-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for selenium_web_automation_utils-0.2.2.tar.gz
Algorithm Hash digest
SHA256 d01c5efdaae289ac8c18300c228542e33a8c96e114b541c95ca8202fb074fa43
MD5 569f5de613330fa20d14e1d6f27a8839
BLAKE2b-256 573260e376e4f99ebd178b42021b708573a3a5aaa72b317b16dea452b6d60437

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for selenium_web_automation_utils-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 95e2d0ca7d088182055e1c8d5d5ae1eb934e2f9febd693bcbbdef7e15f036b16
MD5 1a24f36e9ab0777397d1ca043c5c1592
BLAKE2b-256 c1223dac4e54eaecd7868a62d2f7958f15ae559931ab0a3626dc3905951861d5

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