I am new with the WinAppDriver tool and not clear about how to create By instance AccessibilityId (Automation ID) as there is not straight forward option to achieve this.
Asked
Active
Viewed 127 times
0
-
I didn't understand your question. May be you need to rephrase and elaborate. Try adding the piece of code which is not working for you. – Amit Chouksey Aug 11 '21 at 11:45
1 Answers
0
You can try the below code:
By idToFind = ByAccessibilityId.AccessibilityId("string value");
var element = _driver.FindElement(idToFind);

Jeremy Caney
- 7,102
- 69
- 48
- 77

Shobhit Agrawal
- 36
- 2