Metadata-Version: 2.1
Name: selenium-ai
Version: 0.1.0
Summary: AI utility functions for webscraping and selenium automation scripts
Home-page: https://github.com/KeshevK/SeleniumAI
Author: Keshev Kulkarni
Author-email: localized.analytics@gmail.com
License: MIT license
Keywords: selenium_ai
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.6
Description-Content-Type: text/markdown

# easy-selenium
<p align="center">

<a href="https://pypi.python.org/pypi/selenium_ai">
<img src="https://img.shields.io/pypi/v/selenium_ai.svg" /></a>
<a href="https://travis-ci.org/KeshevK/selenium_ai"><img src="https://travis-ci.org/KeshevK/selenium_ai.svg?branch=master" /></a>
</p>
Simple but effective selenium functions for lazy people like me

## Installation

    pip install easy-selenium

## Requirements

* Written for Python 3.3+
* Requires selenium, bs4
* Requires installation of geckodriver compatible with selenium. Read about setup [here](https://selenium-python.readthedocs.io/installation.html)

<sub><sup>[back to top](#easy-selenium)</sub></sup>

## Features

The following features are available:

* [find_elements_by_attribute_pattern](#find_elements_by_attribute_pattern): returns elements with attributes that match a regex pattern.

### 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

<sub><sup>[back to top](#find_elements_by_attribute_pattern)</sub></sup>

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

[Cookiecutter](https://github.com/audreyr/cookiecutter)

[cs01/cookiecutter-pypackage](https://github.com/cs01/cookiecutter-pypackage)


