Click on XPath-selected href link in Nightwatch?
The href
text is identical to each other so I can't use XPath text.
I tried:
browser.useXpath().click("//a[href='./basket/removeItem.html?id=5de6710f75a5750f3d88495b')]");
but that doesn't work.
The href
text is identical to each other so I can't use XPath text.
I tried:
browser.useXpath().click("//a[href='./basket/removeItem.html?id=5de6710f75a5750f3d88495b')]");
but that doesn't work.