WebElementHighlighter
WebElementHighlighter is library to highlight WebElements. It was made to use it on automated tests, specially when you want to highlight errors on a webpage.
Features.
- You can make WebElements blink changing their background and border styles.
- You can change the background style of WebElements.
- You can change the border styles of WebElements.
How to use.
from webelement_highlighter import WebElementHighlighter
from selenium import webdriver
driver = webdriver.Chrome()
driver.get("https://www.w3schools.com/js/default.asp")
wh = WebElementHighlighter(driver)
we = driver.find_element_by_id("topnavbtn_references")
wes = driver.find_elements_by_class_name("w3-col")
wh.make_it_blink(we)
wh.make_them_blink(wes, times=20)
wh.highlight_element(we)
wh.highlight_elements(wes, stop=True)
How to install.
pip install webelement_highlighter
Metadata
Release files for webelement-highlighter 0.9.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| webelement_highlighter-0.9.5.tar.gz | 4.5 kB | Without provenance | Details for webelement_highlighter-0.9.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| webelement_highlighter-0.9.5-py3-none-any.whl | Python 3 | none | any | Details for webelement_highlighter-0.9.5-py3-none-any.whl |
Total release size: 10.6 kB
Release files / webelement_highlighter-0.9.5.tar.gz
| Download URL | webelement_highlighter-0.9.5.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a91a9816869040f15ff6cacc2f587fe774d1a2a4a75beab710b1e6e9f98d4941
|
|
BLAKE2b-256 checksum How to use checksums |
7b913a2392e4bf61796a6a14103adb455fc37111c8c08f7cc70080703c705ba1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
|
Release files / webelement_highlighter-0.9.5-py3-none-any.whl
| Download URL | webelement_highlighter-0.9.5-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fd2fd1acb5c6eda9c2d5824a254d3f936006eb80eb9e6815ebbfa417fd8003cd
|
|
BLAKE2b-256 checksum How to use checksums |
9edb25c7d7f1617d8b692e1d15ba67cad9ba6a5c84b924f0fdf57286bac1c8ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
|
Security for webelement-highlighter 0.9.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.