How do I find both Data QA Id and CSS Class in Selenium C# ?
Trying to locate both DataQAid attribute and also see if its class ng-invalid, (Angular Material Textbox Error)
This is what wrote so far, Open to using CssSelector or anything else, instead of Xpath
private By PhoneError => By.XPath("//*[@attr.data-qa='homephone']");
Resource: Find element in Selenium using XPATH or CSS Selector
