I want to retrieve all matching elements

Hi.
There are about 10 tables on the Web and I want to put each element into a List.

Even in the sample “tic-tac-toe-condition.rpae”
cumbersome designation has been repeated, but it feels like useless effort.
Web Elements(Get value)

/html/body/div[3]/div[1]/div[1]/div
/html/body/div[3]/div[1]/div[2]/div
/html/body/div[3]/div[1]/div[3]/div
/html/body/div[3]/div[1]/div[4]/div
/html/body/div[3]/div[1]/div[5]/div
/html/body/div[3]/div[1]/div[6]/div
/html/body/div[3]/div[1]/div[7]/div
/html/body/div[3]/div[1]/div[8]/div
/html/body/div[3]/div[1]/div[9]/div

I want to get all matching elements using “regular expression” or “loop”

  • I would like to implement a custom script without using it if possible.

I think you can use Xpath /html/body/div[3]/div[1]//div/div, it should point to all of the elements above

1 Like

Thank you for answering.

In the sample we set one by one, so we misunderstood that the operator can not be used.
It is likely to get all the elements and insert only the necessary elements into the variable.

1 Like