How to get sub-elements of elements? how to further select inner HtmlElement of HtmlElement? #46
Unanswered
FurkanGozukara
asked this question in
Q&A
Replies: 1 comment 1 reply
-
@amaitland thank you for help. I didn't ask this on stackoverflow. I made it work like this but i am not sure if it is the proper way
by the way the selectedTitle doesnt have GetInnerTextAsync as shown in example |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello. I am getting multiple elements like this :
var elements = await devToolsContext.QuerySelectorAllAsync<HtmlElement>("div.vehicle-card");
It returns a result like below
Now I want to iterate through elements inside elements like this and get specific information
For example
but this code is not working. So I want to further select inner element of selected HtmlElement
Beta Was this translation helpful? Give feedback.
All reactions