Winium.Desktop icon indicating copy to clipboard operation
Winium.Desktop copied to clipboard

How to click an element which does not have any attribute

Open KamarajuSahu opened this issue 4 years ago • 2 comments

I am trying to get the element attribute using UISpy.

KamarajuSahu avatar Sep 04 '19 12:09 KamarajuSahu

UIspy

KamarajuSahu avatar Sep 04 '19 12:09 KamarajuSahu

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.

nananand7 avatar Jan 30 '20 08:01 nananand7