Thanks for your answer. But I don’t know the values in table, so first I need I way to know previously which values are in column 2.
If value 1234 is in table, then the xpath contains 1234 within it. Because of that I was trying with Regex in order to check if I was able to catch all values and store them in a variable to use them later.
So, the values I’m looking for are in 2nd column of the table “MyTable” that is inside the form “MyForm”. In this sample showing only 2 “tr’s” and only 2 “td’s” in second “tr” the value I’d like would be 992. This value appears in tr’s id, within the “onclick” and within the < “a href=”…992…">992</a" >
How woudl be the way to the get all the values for column 2 of table MyTable?
But in this case I need to know previously the JS path and I’d like to store in an array or variable all values in column 2 of that table automatically without to know previously the values or JS paths for each one. Maybe something like mixing your first solution with the code that works or is possible to add a regex? I don’t know.