Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Selenium Tools

A wrapper around selenium for quick and simple implementations

Installation

pip install git+https://github.com/HMellor/selenium-tools.git#egg=selenium-tools
# or
git clone https://github.com/HMellor/selenium-tools.git
pip install ./selenium_tools

Usage

from selenium_tools import browser, selector

chrome_browser = browser.Browser("chrome")
chrome_browser.navigate_to("https://github.com/HMellor/selenium-tools")

actions = selector.find_element(
    find_by="class",
    selector="pagehead-actions",
    in_parent=chrome_browser.driver,
    condition="located",
)
action_buttons = selector.find_element(
    find_by="class",
    selector="btn",
    in_parent=actions,
    condition="all_located",
    highlight=True
)

About

Tools to speed up using Selenium

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages