Hi @iSan,
try this to get the elements:
Global $aElements = _FindElements('//tr')
_ArrayDisplay($aElements)
Func _FindElements($sSelector)
Return _WD_FindElement($sSession, $_WD_LOCATOR_ByXPath, $sSelector, Default, True)
EndFunc
or this to get the count of the found elements:
MsgBox('', 'Count of found elements', _GetElementsCount('//tr'))
Func _FindElements($sSelector)
Return _WD_FindElement($sSession, $_WD_LOCATOR_ByXPath, $sSelector, Default, True)
EndFunc
Func _GetElementsCount($sSelector)
Return UBound(_FindElements($sSelector))
EndFunc
Please provide your tryouts/your code next time, thanks. ๐ค
Best regardsSven________________Stay innovative!