コード例 #1
0
 /// <summary>
 /// On IE on saucelabs, when returning to a window with SwitchTo.Window() a click is required to refocus on the window
 /// </summary>
 /// <param name="targetLocator"></param>
 /// <param name="handle"></param>
 /// <param name="browser"></param>
 /// <param name="usingSauce"></param>
 /// <returns></returns>
 public static IWebDriver Window(this ITargetLocator targetLocator, string handle, string browser, bool usingSauce)
 {
     return(WebDriverSupport.Window(targetLocator, handle, browser, usingSauce));
 }