getElementByXpath returns first visible element, not last.