Previously, those pseudos used the text of the candidate element, but now they will use the text returned by the getText driver command (i.e., visible text, including that from children elements), which would allow using them instead of attribute-based selection.
Previously, those pseudos used the text of the candidate element, but now they will use the text returned by the getText driver command (i.e., visible text, including that from children elements), which would allow using them instead of attribute-based selection.