Selenium WebDriver helper utilities for writing browser tests
Project description
jc-selenium-helper
Selenium WebDriver helper utilities for writing browser tests.
Browser wraps a Selenium WebDriver with concise, XPath-by-default finders,
waits, actions, assertions, and frame handling. Optional extras add a ready-made
pytest fixture, a Dynaconf settings loader, and axe-core accessibility checks.
Install
pip install jc-selenium-helper # core (selenium only)
pip install "jc-selenium-helper[pytest]" # + pytest fixtures
pip install "jc-selenium-helper[config]" # + Dynaconf settings loader
pip install "jc-selenium-helper[axe]" # + accessibility checks
pip install "jc-selenium-helper[all]" # everything
Quickstart
from selenium import webdriver
from jc_selenium_helper import Browser
driver = webdriver.Chrome()
browser = Browser(driver, default_timeout=30)
browser.open("https://example.com")
browser.wait_and_click("//a[@id='more']") # XPath by default
Links
- Full documentation: https://jc-selenium-helper.readthedocs.io
- PyPI: https://pypi.org/project/jc-selenium-helper/
- Source: https://github.com/jacob-consulting/jc-selenium-helper
License
MIT — see LICENSE.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jc_selenium_helper-0.4.0.tar.gz.
File metadata
- Download URL: jc_selenium_helper-0.4.0.tar.gz
- Upload date:
- Size: 13.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2bf8b5eeb7e626e4651c0cb68b456ec24448d20b3c035b86bc0bcbf31ac0872
|
|
| MD5 |
50f760184dbd93622045a59a5cc4d21e
|
|
| BLAKE2b-256 |
7ba73e3e04e44c923ded16e3ae97fbfc90b017d7db44f183923d56a90a34daf1
|
Provenance
The following attestation bundles were made for jc_selenium_helper-0.4.0.tar.gz:
Publisher:
publish.yml on jacob-consulting/jc-selenium-helper
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jc_selenium_helper-0.4.0.tar.gz -
Subject digest:
b2bf8b5eeb7e626e4651c0cb68b456ec24448d20b3c035b86bc0bcbf31ac0872 - Sigstore transparency entry: 2082464811
- Sigstore integration time:
-
Permalink:
jacob-consulting/jc-selenium-helper@c30a9af3942a6f1ae7ac12f16b7d05c001b7fa67 -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/jacob-consulting
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c30a9af3942a6f1ae7ac12f16b7d05c001b7fa67 -
Trigger Event:
release
-
Statement type:
File details
Details for the file jc_selenium_helper-0.4.0-py3-none-any.whl.
File metadata
- Download URL: jc_selenium_helper-0.4.0-py3-none-any.whl
- Upload date:
- Size: 10.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09850841080f57aa1be84a92b7be85dc9c279410cdeb764d212ba29e171ce6e5
|
|
| MD5 |
8f1c9d737b62caa5a7b3931aee13ad53
|
|
| BLAKE2b-256 |
1ffee5e7743ed61d2184a7755fa5f55be48019fd9ad5c6e90863be92b12c2e7e
|
Provenance
The following attestation bundles were made for jc_selenium_helper-0.4.0-py3-none-any.whl:
Publisher:
publish.yml on jacob-consulting/jc-selenium-helper
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jc_selenium_helper-0.4.0-py3-none-any.whl -
Subject digest:
09850841080f57aa1be84a92b7be85dc9c279410cdeb764d212ba29e171ce6e5 - Sigstore transparency entry: 2082464815
- Sigstore integration time:
-
Permalink:
jacob-consulting/jc-selenium-helper@c30a9af3942a6f1ae7ac12f16b7d05c001b7fa67 -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/jacob-consulting
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c30a9af3942a6f1ae7ac12f16b7d05c001b7fa67 -
Trigger Event:
release
-
Statement type: