Skip to main content

AI utility functions for webscraping and selenium automation scripts

Project description

selenium-ai

AI utility functions for webscraping and selenium automation scripts

Installation

pip install selenium-ai

Requirements

  • Written for Python 3.3+
  • Requires selenium, bs4
  • Requires installation of geckodriver compatible with selenium. Read about setup here

back to top

Features

The following features are available:

Find Elements by Attribute Pattern

from selenium_ai import ElementFinder

from selenium import webdriver
driver = webdriver.Firefox()
element_finder = ElementFinder(driver)

driver.get("https://bing.com")
elements = element_finder.find_elements_by_attribute_pattern("enter your search term")

Returns list of selenium elements

back to top

Credits

This package was created with Cookiecutter and the cs01/cookiecutter-pypackage project template.

Cookiecutter

cs01/cookiecutter-pypackage

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_ai-0.1.2.tar.gz (4.5 kB view hashes)

Uploaded Source

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