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 details)

Uploaded Source

File details

Details for the file selenium_ai-0.1.2.tar.gz.

File metadata

  • Download URL: selenium_ai-0.1.2.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

File hashes

Hashes for selenium_ai-0.1.2.tar.gz
Algorithm Hash digest
SHA256 9750eec5b39794bee3d5fdf27d619b224494caf86f8e7e2b22dcd049c4d7b128
MD5 3768760aff08539d76ee297ca1305785
BLAKE2b-256 07fa309f96b4f65317bed77b9171439133d3bde6ed47c5cfcfe58fa21b47379c

See more details on using hashes here.

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