quadraecom/pest-plugin-selectors
Larablocks Analysis
quadraecom/pest-plugin-selectors works with Laravel 8 and 9 (latest release v1.5.1, Jun 2, 2023), all past end of life (the last on Feb 6, 2024): no more fixes, even for security.
Recommendation checks
Not advisedNot advised: no release or commit in over 2 years.
- No release or commit in over 2 years
- Supports only Laravel 8 and 9, past end of life since Feb 6, 2024
- No release in the last 12 months (last: Jun 2, 2023)
- 0 downloads a month (needs 10,000)
- 1 GitHub star (needs 100)
State
Likely abandoned- No release or commit in over 2 years.
- Last stable release: Jun 2, 2023.
- No releases in the last 12 months.
- First released: Jun 23, 2022.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Dec 2, 2026.
| Install | |
|---|---|
composer require quadraecom/pest-plugin-selectors |
|
| Latest Version: | v1.5.1 |
| PHP: | ^7.4 || ^8.0 |
| Laravel: | 8 · 9 |
| License: | MIT |
| Last Updated: | Jun 2, 2023 |
| Links: | GitHub · Packagist |
CSS Selector Plugin for Pest
Add CSS selector-based testing capabilities to Pest
Install
composer require quadraecom/pest-plugin-selectors --dev
Usage
This package adds these methods:
getSelectorMatches(string $selector): DOMNodeList
This package adds these assertions:
assertSelectorExists(string $selector)
assertSelectorNotExists(string $selector)
assertSelectorCount(string $selector, int $count)
assertSelectorContains(string $selector, string $value)
assertSelectorsAllContain(string $selector, string $value)
assertSelectorEquals(string $selector, string $value)
assertSelectorsAllEqual(string $selector, string $value)
assertSelectorNotEquals(string $selector, string $value)
assertSelectorsAllNotEqual(string $selector, string $value)
assertSelectorAttributeExists(string $selector, string $attribute)
assertSelectorAttributeNotExists(string $selector, string $attribute)
assertSelectorAttributeEquals(string $selector, string $attribute, $value)
assertSelectorAttributeNotEquals(string $selector, string $attribute, $value)
See tests/Selectors.php for example usage.
If you want to start testing your application with Pest, visit the main Pest Repository.
Package Author
This package was created and is maintained by Quadra, Inc.
- Website: GoQuadra.com
- GitHub: QuadraEcommerce
The test assertions were inspired by code written by Liam Hammett (@ImLiam) that can be found in this post on his blog. Thank you, Liam! 🙌🏻
Alternatives to quadraecom/pest-plugin-selectors
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v1.5.1 | ^7.4 || | ^8.0 || | MIT | |
| v1.5.0 | ^7.4 || | ^8.0 || | MIT | |
| v1.4.0 | ^7.4 || | ^8.0 || | MIT | |
| v1.3.0 | ^7.4 || | ^8.0 || | MIT | |
| v1.2.0 | ^7.4 || | ^8.0 || | MIT | |
| v1.1.0 | ^7.4 || | ^8.0 || | MIT | |
| v1.0.0 | ^7.4 || | ^8.0 || | MIT |