add getTableRows helper method to get all rows tr of the table