/html/body/div[3]/table/tbody/tr/td[1]/table/tbody/tr[2]/td/table/tbody/tr[1]/td/a/font
/html/body/div[3]/table/tbody/tr/td[1]/table/tbody/tr[2]/td/table/tbody/tr[3]/td/a/font
/html/body/div[3]/table/tbody/tr/td[1]/table/tbody/tr[2]/td/table/tbody/tr[5]/td/a/font
/html/body/div[3]/table/tbody/tr/td[1]/table/tbody/tr[2]/td/table/tbody/tr[7]/td/a/font
/html/body/div[3]/table/tbody/tr/td[1]/table/tbody/tr[2]/td/table/tbody/tr[9]/td/a/font
上面五个XPath路径,怎么获取循环的次数。
循环不能写成固定的比方说
for(int i=0;i<5;i++){}
循环的次数不能写死