I have element newdevice, with the following attribute remove device from account.
newdevice is unique, but a lot of same attributes.

Problem that I unable to perform click button.
WebElement newdevice = driver.findElement(By.linkText(devicename));
if (newdevice.isDisplayed() && newdevice.isEnabled()) {
newdevice.getAttribute("remove device from account");
Thread.sleep(3000);
newdevice.click();
}
So I expecting to find new element, if element is presence, then find attribute bellow element and click on it.