Need to get element/object present in a Frame


I need to get the object present in a Frame.
Does anyone know how to get the object by using X, Y coordinates?


You could probably use WebUI.clickOffset() if you know the anchor element’s starting position.

TestObject anchor = new TestObject().addProperty('add some property to define the element')
WebUI.clickOffset(anchor, 5, 5)