|
|
|
|
|
by kabacha
2146 days ago
|
|
Would be nice if readme would show some actual example; now it just trails off: let element = robulaPlus.getElementByXPath('/html/body/div/span/a',
document);
robulaPlus.getRobustXPath(element, document);
# what's the result?
|
|
I tried running the algorithm in Chrome. It output much shorter XPath than one copied from Chrome Developer tool.