0

I have a link that shows through inspect code as below:

<span _ngcontent-wvt-c48="" xpath="1">
Email
</span>

I tried the xpath:

@FindBy(xpath="//span[contains(text(),'Email')]")

But it is not working for Selenium Java. It has been little frustrating not able to click on that and Error displayed is:

stale element reference: element is not attached to the page document.

frianH
  • 7,295
  • 6
  • 20
  • 45
JOE_D
  • 21
  • 5

0 Answers0