Can i use FindWebElement with dynamic objects?


I’m using a dynamic objects and i have a question about if is possible to use in:
WebUiCommonHelper.findWebElements(findTestObject(MyDynamicObject), 30)

Otherwhise when i’m execute my object:

TestObject buttons = new TestObject(‘buttons’)

botones.addProperty(‘class’, ConditionType.EQUALS, ‘slick-dots’)


The results is:
Found 3 web elements with id: ‘buttons’ located by ‘By.xpath: //*[@class = ‘slick-dots’]’

So, how can i know these 3 elements? Because I have 3 slides-dots and if i can collect in an array to click one by one, it would be perfect!

Ok, i found the solution reading in forum:

WebElement element = WebUiCommonHelper.findWebElements(buttons, 30)

Hi Can you please provide the forum where you were able to get the information regarding the question.