Package that helps you to build compley css selectors
Project description
CssSelectorBuilder
This Package helps you to build css selectors for selenium or playwright tests.
Installation
pip install CssSelectorBuilder
Examples
Simple Selector
import CssSelector from CssSelectorBuilder
print(CssSelector().class_name("someClass"))
Results in: .someClass
Combine Selectors
import CssSelector from CssSelectorBuilder
print(CssSelector().class_name("someClass).is_not(CssSelector().id(someId)))
Results in: .someClass:not(#someId)
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 cssselectorbuilder-0.4.0.tar.gz.
File metadata
- Download URL: cssselectorbuilder-0.4.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6468aced3b825727a98e05340f61929431df9a83b7e95c691de2a36f33ae2017
|
|
| MD5 |
03628bb1936538c7738a95012e666d1e
|
|
| BLAKE2b-256 |
8ff3ce26de7a01b6b0fe7690dadb30fd21d009d2699eb24e0235bc9aa99aa754
|
File details
Details for the file cssselectorbuilder-0.4.0-py3-none-any.whl.
File metadata
- Download URL: cssselectorbuilder-0.4.0-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32b981e99c06529f2a1a8e77daa616387d54a036ec21436ab692b51bdb9ccd09
|
|
| MD5 |
09c487b21a6fc01c3348da509c4cba3b
|
|
| BLAKE2b-256 |
25ff5d371c13b200e532dac402d17043bbe271e4b10a0d8b5b3fb7085c98451a
|