Download the PHP package webforge/behat-css-extension without Composer
On this page you can find all versions of the php package webforge/behat-css-extension. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download webforge/behat-css-extension
More information about webforge/behat-css-extension
Files in webforge/behat-css-extension
Download webforge/behat-css-extension
More information about webforge/behat-css-extension
Files in webforge/behat-css-extension
Vendor webforge
Package behat-css-extension
Short Description Helpers for css selection in behat tests
License MIT
Package behat-css-extension
Short Description Helpers for css selection in behat tests
License MIT
Please rate this library. Is it a good library?
Informations about the package behat-css-extension
Behat css Extension
(not yet an extension, but usable)
It extends the mink extension to actual usuable, chained css expressions
You need:
- behat
- behat/mink-extension
- behat/mink-selenium2-driver
- symfony/css-selector
- hamcrestphp
installation
you need to install (additional to your normal behat setup):
use those dependencies in your dev-dependencies.
usage
Use in your BehatFeatureContext:
- use $this->css($selector) to start from document, $selector is a valid css3 selector (supported by
symfony/css-selector
) - set $this->context to whatever dialog/page/subarea you want to select elements
- use $this->context() to start from context
- use $this->resetContext() to reset context to document
- use wait*, exists, isVisible, isNotVisible to make assertions against your selected element
- move down with ->css() to find sub-selectors
- move with ->end() back up to the chain, to the last css() call
- use all(), getElements(), get* to retrieve elements, attributes or others an break the chain
All versions of behat-css-extension with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
hamcrest/hamcrest-php Version ^2.0
behat/mink-extension Version *
behat/mink-selenium2-driver Version *
symfony/css-selector Version >=5
hamcrest/hamcrest-php Version ^2.0
behat/mink-extension Version *
behat/mink-selenium2-driver Version *
symfony/css-selector Version >=5
The package webforge/behat-css-extension contains the following files
Loading the files please wait ....