Used along with selenium to identify Shadow Elements present under Shadow DOM.
The Structure of shadow DOM would be as below:
Shadow Host -> Shadow Root -> Shadow DOM Elements
check the shadow dom by inspecting the website here:
https://shrinivasbb.github.io/ShadowDomSite
Use this module to get Shadow DOM Elements matching the CSS selectors.
For usage check the below link:
https://github.com/shrinivasbb/shadowselenium
For implementation check the tests folder.
from shadowselenium import ShadowElement
shadowdom = ShadowElement(driver) #argument should be driver instance of opened browser i.e chromedriver etc.
shadowelement = shadowdom.find_shadow_element_by_css("shadow-hostnav", ".nav-link")
Metadata
Release files for shadowselenium 1.0.0
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 |
|---|---|---|---|---|
| shadowselenium-1.0.0.tar.gz | 2.4 kB | Without provenance | Details for shadowselenium-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| shadowselenium-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for shadowselenium-1.0.0-py3-none-any.whl |
Total release size: 5.0 kB
Release files / shadowselenium-1.0.0.tar.gz
| Download URL | shadowselenium-1.0.0.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7f539c92b1d1a030c178436e53971adcd47e26249411e46c9a90e0dc616dd635
|
|
BLAKE2b-256 checksum How to use checksums |
7c8e683794111bd7c13b9137ca630ca3684e99ede66b92456b744bd6ccd41e83
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.9 CPython/3.7.7 Windows/10
|
Release files / shadowselenium-1.0.0-py3-none-any.whl
| Download URL | shadowselenium-1.0.0-py3-none-any.whl |
|---|---|
| Size | 2.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
715a719df17368ce7047368a8a3a2dd13247efbb8a6667863cddc6c3330359b6
|
|
BLAKE2b-256 checksum How to use checksums |
83c444f263462ef15b9da8c47b0a440e67086f0d5039efed3b10e41a6c8ddd75
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.9 CPython/3.7.7 Windows/10
|
Security for shadowselenium 1.0.0
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.