I'm new to Selinium. There is a table (inside another table) that I want to click each <td>click here</td>
with a matching class value (note the text between opening and closing td
will change but is irrelevant for matching purposes). The class value I'm trying to match is open
. From here I learn the right way is with //*[contains(concat(" ", normalize-space(@class), " "), " open ")]
This seems to work but just for one random cell. How do I make it click all? I was planning on accomplishing this first and repeating the step, but it may be worth noting that the script should also do the same for class value available
and not just open
Is there away to do logical or?
TL;DR I want to click everything with <td class="open">...</td>
and
<td class="available">...</td>
where ...
is example text that will vary but should be ignored.