mmarquee / ui-automation

Java wrapper for ms-uiautomation
https://mmarquee.github.io/ui-automation/
Apache License 2.0
111 stars 54 forks source link

Internet explorer #90

Open chaksoham opened 6 years ago

chaksoham commented 6 years ago

1) The tree structure for an element inside internet explorer does it denote the xpath of that element.? 2) Is there anyway i can fetch the xpath of an IE element.

mmarquee commented 6 years ago

Hi, using the Inspect Objects tool I can see all the objects within IR, so I can get the structure of the HTML. I am not sure the the automation API in IE will give out the xpath of the objects. It might be possible to manufacture this from the objects, but they might not directly correspond with the DOM.