In my program i am able to find the element and click it, so I know I have the correct element but when trying to get the link text it returns `Promise { <pending> }` instead of the link, i am using this code as of now

```
target = driver.wait(until.elementLocated(By.partialLinkText("iptlogin"))).getText();

```

it is also a hyperlink in an email if that helps