开发者

Xpath: how to find tables with header names equals 'headerName'

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']
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜