selenium 定位元素可以用多个findElement selenium 定位元素可以用多个findElement,如driver.findElement(By.id"XXX").findElement(By.linkText(XXX)); 上一级的id 加上下一级需要定位的元素text文字