Is it possible to get values of some of the attributes of an element at webview? #1071
Unanswered
proximilian
asked this question in
Q&A
Replies: 3 comments 11 replies
-
Hi @proximilian – thanks for creating this Discussion. This is not possible currently, but it seems like we should have it. Pinging @mateuszwojtczak and @jBorkowska (other members of Patrol core team) to voice their opinions on this and how they think about it. |
Beta Was this translation helpful? Give feedback.
9 replies
-
I like this idea, I'll add this to our backlog. |
Beta Was this translation helpful? Give feedback.
2 replies
-
For the record, this is tracked in #1087 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Guys,
My use case is the following:

In a webview I have the
resource-id
of a web element that I can use as aSelector
to interact with it thanks to the great native feature of Patrol. But, however, I want to get thetext
attribute that it has. The text is not visible on the screen. In my particular case the web element is a QR code picture whichtext
attribute I want to get as a String. Is that possible? And in general, can we get any attribute of a web element by having a selector?Here is a screenshot from the inspector in order to be more clear:
Beta Was this translation helpful? Give feedback.
All reactions