如何获得'XPath‘而不是’:XPath‘?:XPath xmlns:dsig-xpath="http://www.w3.org/2002/06/xmldsig-filter2" Filter="intersect">/Root/Element1</XPath>
<dsig-xpath:XPath x
我在网页上有一个表,它的xpath不时不同,但它的类名不同。所以我可以通过类名来处理它,但是我的代码需要该元素的xpath,那么如何获得该元素的xpath呢?或如何处理这些不同的元素?String xpath = "here sould be the xpath of that element";
wait_page_loading(By.xpath(table_xpath)this other function in my class wa