We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A shortcut match() selector for data attributes.
Need to specify the whole css selector
Using the example in https://medium.com/swlh/5-tricks-to-elevate-your-automated-regression-tests-762f437c55e6
<a href="/footwear/boots/ankle-boots" data-qaid="shop-ankle-boots">Shop ankle boots</a>
it could be along the lines of:
$i->click(['data' => 'qaid|shop-ankle-boots'])
while today it is:
$i->click(['css' => '[data-qaid="shop-ankle-boots"]']);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What are you trying to achieve? (Expected behavior)
A shortcut match() selector for data attributes.
What do you get instead? (Actual behavior)
Need to specify the whole css selector
How could the issue be reproduced? (Steps to reproduce)
Using the example in https://medium.com/swlh/5-tricks-to-elevate-your-automated-regression-tests-762f437c55e6
it could be along the lines of:
while today it is:
Details
The text was updated successfully, but these errors were encountered: