Skip to content
New issue

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

ENH Allow clicking on text directly in an element #290

Merged

Conversation

GuySartorelli
Copy link
Member

This resolves situations where the text in a child element gets confused with text in the element we want to click and results in errors finding the correct element.

Issue

Copy link
Member

@emteknetnz emteknetnz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a docblock type with description for the param

This resolves situations where the text in a child element gets confused
with text in the element we want to click and results in errors finding
the correct element.
@GuySartorelli
Copy link
Member Author

Descriptions in behat params is a bit weird but I did it

@GuySartorelli GuySartorelli force-pushed the pulls/6/improve-click-xpath branch from 4db499a to 7faf94d Compare November 25, 2024 01:05
@emteknetnz emteknetnz merged commit 3e4bb89 into silverstripe:6 Nov 26, 2024
8 checks passed
@emteknetnz emteknetnz deleted the pulls/6/improve-click-xpath branch November 26, 2024 03:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants