Exemple #1
0
 public IEnumerable <Element> FindWindows(string titleOrName, Scope scope, Options options)
 {
     elementFinder.SeleniumScope(scope);
     return(windowHandleFinder.FindWindowHandles(titleOrName, options)
            .Select(h => new SeleniumWindow(webDriver, h, seleniumWindowManager))
            .Cast <Element>());
 }