Click on one xpath from a list, randomly

Hello team,

I would like to know if it is possible to click randomly on an xpath from a list.

I have a page in which there are showing 6 different items every time I refresh the page (xpaths are always the same). I want to click on any of those items randomly for extracting some info.


1 Like

Hi, @said033 it is. You can assign a random value to a Number variable and use it as index in the Mouse click action.

1 Like