Get coordinates of a web table

I’m trying to get the coordinates of a web table (x, y of the top left …) to used them to click aleatory on a cell of the table with the following line of code :

WebUI.clickOffset(findTestObject(‘Object’), x, y)

@dylan.campion Depends on your version of KS.

Thanks for your answer.

My KS’s version is 7.5.5 but getElementPosition is not recognized

Here is my import :


@dylan.campion Oh, my bad. I just reread the info and it is for Windows apps (desktop testing). However, here is another possible example: