marathonv5
marathonv5 copied to clipboard
Marathonite / JavaDriver cannot locate elements
I posted on StackOverflow but wasn't sure where was best to place: https://stackoverflow.com/questions/68223428/marathon-marathonite-javadriver-cannot-locate-objects-without-class
I am currently evaluating JavaDriver / Marathonite and have an issue whereby all objects that don't appear to have a "cls"/"class" attribute when inspecting using Java Access Bridge (via UIPath implementation) are not returned in Marathon's recognised WebElement objects (via driver.findElements...).
Example:
The highlighted element has only attributes name, role but no cls. There is a direct correlation between these elements and those that are missing from JavaDriver when I find all accessible elements with driver.findElementsByCssSelector("*").
In Marathonite itself (currently evaluating on a trial) I am stuck validating a step as I need to assert the text of one of these "non-existant" elements, but it fails to locate the element and returns the "GlassMouseGrabProvider" element and mouse coordinates instead of a recognised element.
Any help would be much appreciated! (Hopefully this makes sense!)
I tried to add definitions to the omap.yaml, but it appears this requires the object class for mapping, which I can't see in the access bridge as being a property...