Skip to main content

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

cssselectorbuilder-0.4.2.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cssselectorbuilder-0.4.2-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file cssselectorbuilder-0.4.2.tar.gz.

File metadata

  • Download URL: cssselectorbuilder-0.4.2.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

Hashes for cssselectorbuilder-0.4.2.tar.gz
Algorithm Hash digest
SHA256 fde63a81bcc47f2c69d36977b86e79254494dc1ab40459b6b59b7143e385c4a2
MD5 b26c935176959f720b725688480e682d
BLAKE2b-256 c0c38df4589b0b16ba359ffcec6ba1ef51db0b14dca9eee6eb064937535d4b3d

See more details on using hashes here.

File details

Details for the file cssselectorbuilder-0.4.2-py3-none-any.whl.

File metadata

File hashes

Hashes for cssselectorbuilder-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6a6a426d95353726d20288a0daf9093cf0f45e3f31cc61246028d765c680edd1
MD5 b6c72fe776e6c93c843de01d49c63089
BLAKE2b-256 f9c939c5f435e6629f3109c717f98621cf6e3caebe05e62e64e6d42e4dd0506d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page