My application opens up a new window on clicking a button and i need to perform some actions in that window. But the response getWindowHandles() method of selenium webdriver
Dunno what is Set, but I tested with following code
while (true) { int qw = ololo.WindowHandles.Count; string[] wh = ololo.WindowHandles.ToArray(); ololo.FindElement(By.LinkText("Помощь")).Click(); Thread.Sleep(1000); }
And it worked perfectly.