In C# I use FindElement to find element:
string text = driver.FindElement(By.XPath("//*[@id='errorPopup']")).text;
Is there a way to perform such action on chrome without Selenium altogether (that means no IJavaScriptExecutor as well)?
Here’s my problem: I’m working with Selenium on a Chrome page in a certain IFrame in my main thread. I need to constantly search for an Error Popup, in a different IFrame which the Driver points to, without (and this is very important), using SwitchTo(), in a different thread.
Is there a way to go outside an IFrame without SwitchTo()?