I have some trouble with Xpath and on assigment 12 I played around a bit (even though were supposed to use clipboard) to learn and I got a question.
I managed to get the Xpath: //tr[contains(@class,‘TblRow’)] for the table and when I post it in the search row in Chromes dev I get 25 results.
And I added a index to get the second row and it worked:
So happy to get those working… however, when I use these in the code… the result is an empty variable:
Would you please shead some light on why my xpath isn’t working as I thought they would… and how to fix them.