How to compose a Patrol finder to find a widget that contains two Text descendants? #1133
Unanswered
proximilian
asked this question in
Q&A
Replies: 1 comment 5 replies
-
Hi again, @proximilian :) Does the following work for you? $(#ExampleListView).$(ExampleWidgetType).containing('text1').containing('text2').tap(); |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello guys,
I stuck on the following issue -> I would like to to tap on the first widget of a listView, but that widget must contain both e.g. 'text1' and 'text2'. These
Text
are both descendants of the widget. As far as I am familiar with Patrols documentation in case of only oneText
I would use e.g.$(#ExampleListView).$(ExampleWidgetType).containing('text1').tap()
My question is how to add the additional 'text2' that must be contained by the widget as well? Or any suggestion for a workaround?
Thanks in advance, guys :)
Beta Was this translation helpful? Give feedback.
All reactions