Download the PHP package theseer/css2xpath without Composer
On this page you can find all versions of the php package theseer/css2xpath. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download theseer/css2xpath
More information about theseer/css2xpath
Files in theseer/css2xpath
Download theseer/css2xpath
More information about theseer/css2xpath
Files in theseer/css2xpath
Vendor theseer
Package css2xpath
Short Description PHP Library to translate CSS selectors into XPath
License BSD-3-Clause
Package css2xpath
Short Description PHP Library to translate CSS selectors into XPath
License BSD-3-Clause
Please rate this library. Is it a good library?
Informations about the package css2xpath
CSS2XPath
This is yet another library to translate various CSS selectors to their XPath equivalent.
Example
Installation
You can add this library as a local, per-project dependency to your project using Composer:
Selectors supported
The following selectors are currently covered:
-
id
- tag#id
- tag #id
- tag
- tag tag
- tag > tag
- tag + tag
- tag ~ tag
- tag, tag
- .classname
- tag.classname
- tag .classname
- tag.classname, tag.classname
- tag.classname tag.classname
- tag.classname > tag.classname
- tag#id + tag > tag
- tag[id]:contains(Selectors)
- tag[attribute][attribute]
- tag[attribute]
- tag[attribute=example]
- tag[attribute^=exa]
- tag[class$=mple]
- tag[attribute*=e]
- tag[attribute|=dialog]
- tag[attribute!=made_up]
- tag[attribute!="made_up"]
- tag[attribute~=example]
- tag:not(.classname)
- tag:contains(selectors)
- tag:nth-child(n)
- tag:nth-child(even)
- tag:nth-child(odd)
- tag:nth-child(3n+8)
- tag:nth-child(2n+1)
- tag:nth-child(3)
- tag:nth-child(4n)
- tag:only-child
- tag:last-child
- tag:first-child
- foo|bar
- tag[attribute^=exa][attribute$=mple]
- tag:enabled
- tag:checked
- tag:disabled
- :empty
- :root
All versions of css2xpath with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.2|^8.0
The package theseer/css2xpath contains the following files
Loading the files please wait ....