You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't work:
var window = driver.FindElementByClassName("CalcFrame");
I see my calculator but i have OpenQA.Selenium.NoSuchElementException : Element cannot be found in this string.
var dc = new DesiredCapabilities();
dc.SetCapability("app", @"C:/windows/system32/calc.exe");
var driver = new RemoteWebDriver(new Uri("http://localhost:9999"), dc);
var window = driver.FindElementByClassName("CalcFrame");
var resultField = window.FindElement(By.Id("150"));
resultField.GetAttribute("Name");
driver.Quit();
I change class name, and i start driver.
The text was updated successfully, but these errors were encountered:
Don't work:
var window = driver.FindElementByClassName("CalcFrame");
I see my calculator but i have OpenQA.Selenium.NoSuchElementException : Element cannot be found in this string.
I change class name, and i start driver.
The text was updated successfully, but these errors were encountered: