Winium.Desktop
Winium.Desktop copied to clipboard
How to click an element which does not have any attribute
I am trying to get the element attribute using UISpy.
You should use the immediate unique parent id and the elements localized control type.
driver.find_element(parent_element).find_element(xpath(//*[@LocalizedControlType='button']))[n]
Please use the relative xpath to identify the child.