Using xpath to find tables which match: he开发者_开发问答ader text at column 1 is "header1" AND header text at column2 is "header2"...etc.
Assuming you are talking about HTML tables: //table[thead/tr/th[1] = 'header1' and thead/tr/th[2] = 'header2']
.
//table[columns[1]/header/text() = 'header1' and columns[2]/header/text() = 'header2']
精彩评论