selenium_shortcuts
Installation:
pip install selenium_shortcuts
Usage:
from selenium_shortcuts import setup
helper = setup(driver) # Put this after you define the webdriver
find, finds, click, text, send = helper.find, helper.finds, helper.click, helper.text, helper.send
info = text('#info')
print(info)
click('#submit')
info = find('#info')
print(info.text)
info.click()
items = finds('.items')
for item in items:
print(item.text)
info, classes = find('#info', attribute='class')
print(classes)
Release files for selenium-shortcuts 1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| selenium_shortcuts-1.tar.gz | 1.6 kB | Details |
Release files / selenium_shortcuts-1.tar.gz
| Download URL | selenium_shortcuts-1.tar.gz |
|---|---|
| Size | 1.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9403a0b4e8c5c53b9d91867437c9a695bce1a2f9e1b3c05d00b9fcf08867247f
|
|
BLAKE2b-256 checksum How to use checksums |
0a5ca03a99398a903198c83f99063394519cc342f93c2d8fddd497a53573ff5e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.9
|