xparse/css-expression-translator

This package is abandoned and no longer maintained. The author suggests using the xparse/element-finder package instead.

Translate css to xpath

1.0.0 2021-05-31 16:24 UTC

This package is auto-updated.

Last update: 2024-01-12 06:09:03 UTC


README

See xparse/ElementFinder

CssExpressionTranslator

Packagist Travis Software License Coverage Status Quality Score Total Downloads

Translate css to xpath. Based on symfony/css-selector

Install

Via Composer

composer require xparse/css-expression-translator

Usage

$translator = new CssExpressionTranslator();
echo $translator->toXpath('a');

Testing

    ./vendor/bin/phpunit

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.