This is based on #257. Currently our xpath selectors for label text use contains(#{actual_text}). This can lead to "Multiple Element Errors" if 2 different fields have similar label texts. I think it would be good to match against the exact label text for an element instead of using contains(). This change would require users to use a fully qualified label text but, anecdotally, thats all I've ever seen anyone do in practice anyway.
This is based on #257. Currently our xpath selectors for label text use
contains(#{actual_text}). This can lead to "Multiple Element Errors" if 2 different fields have similar label texts. I think it would be good to match against the exact label text for an element instead of usingcontains(). This change would require users to use a fully qualified label text but, anecdotally, thats all I've ever seen anyone do in practice anyway.