How to click on this specific element using Selenium and C#
问题 I've tried lots of ways but none seem to work its not a clear id="ezidgrab" the element can be found on this url: https://www.ahem.email/mailbox/QI2R89LNDT but how do I click the email there with selenium? What I have tried: 1. driver.FindElement(By.XPath("//p[contains(text(), 'Thank you for registering your email')]")).Click(); 2. driver.FindElement(By.TagName("mat-list-item")).Click(); 3. driver.FindElement(By.ClassName("mat-list-item-content")).Click(); and the html of the link: <app-email