Selenium通过Xpath取值的问题?在线坐等!

2025-03-28 07:49:17
推荐回答(1个)
回答1:

String CoreID = selenium.getText("//span[@id='ctl00_ContentPlaceHolder1_rptapp_ctl00_lbnAppID']");

td[6]的href: selenium.GetAttribute("//a[@id='ctl00_ContentPlaceHolder1_rptapp_ctl00_hlStatus']/@href");