Comment Comment by kamocyc It depends on the content of the HTML document but I agree with you.I tried running the algorithm in Chrome. It output much shorter XPath than one copied from Chrome Developer tool. e.g. "//*[@id="rso"]/div[4]/div/div[1]/a/h3" => "//*[contains(text(),'(text of the element)')]" parent kamocyc 6 years ago
I tried running the algorithm in Chrome. It output much shorter XPath than one copied from Chrome Developer tool.