0

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.

Ramandeep
  • 45
  • 6
  • 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 Answers1

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