Re: [WICG/webcomponents] [WebDriver] Testability of web components (#771)

I'd like to add, that we have super useful xpath libraries like capybara, that allow to express things like 'find the input that has a label that contains this text'. (Of course the actual XPATH expressions are way more complex). This allows to define web tests in such a more succinct way, it's not even funny.

However the current situation of WebComponents and especially the non piercing aspect of selectors (and especially xpath) makes the approach of developing reusable xpath expressions for ease of selection a complete non starter. :-(

As I haven't seen that discussed in the above thread (sorry if I missed it) I am really hoping to add that to the proposed solution.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/771#issuecomment-1038766028
You are receiving this because you are subscribed to this thread.

Message ID: <WICG/webcomponents/issues/771/1038766028@github.com>

Received on Monday, 14 February 2022 07:59:35 UTC