public void Switch(string windowName) { ControlOp co = new ControlOp(); ITargetLocator target = driver.SwitchTo(); target.Window(co.FindWindowHandle(windowName).ToString("X8")); }
public void Switch(string windowName) { ControlOp co = new ControlOp(); ITargetLocator target = driver.SwitchTo(); target.Window(co.FindWindowHandle(windowName).ToString("X8")); }