Forum Discussion
christian0501
New Contributor
In case it's needed, this is the code:
var item = this.page.FindElement("//span[@data-testid='" + dataTestIdString + "']");
if(item.Parent.attributes.aria_selected == true)
{ ... do stuff
For all other attribute accesses, this code works but the "attributes" property doens't exist on the Parent
rraghvani
8 months agoChampion Level 3
Could you provide a screenshot of the combobox, the list of items and the selected item?
Related Content
- 11 years ago