Download the PHP package edwinhuish/css-to-xpath without Composer
On this page you can find all versions of the php package edwinhuish/css-to-xpath. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download edwinhuish/css-to-xpath
More information about edwinhuish/css-to-xpath
Files in edwinhuish/css-to-xpath
Download edwinhuish/css-to-xpath
More information about edwinhuish/css-to-xpath
Files in edwinhuish/css-to-xpath
Vendor edwinhuish
Package css-to-xpath
Short Description CssToXpath easy way to translate jquery / css selector to Xpath
License MIT
Package css-to-xpath
Short Description CssToXpath easy way to translate jquery / css selector to Xpath
License MIT
Please rate this library. Is it a good library?
Informations about the package css-to-xpath
CssToPath
This is a 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]
- :empty
- :root
- :even
- :odd
- :first-child
- :last-child
- :only-child
- :parent
- :first
- :last
- :header
- :not(foo)
- :has(foo)
- :contains(foo)
Jquery selector support:
- :eq(2)
- :eq(-5)
- :gt(4)
- :lt(8)
All versions of css-to-xpath with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.0.0
The package edwinhuish/css-to-xpath contains the following files
Loading the files please wait ....