Wait for Webdriver Windows Count

In this blog post, we would like to show you a snippet for ExpectedConditions.numberOfWindowsToBe method.

NumberOfWindowsToBe is a new method in ExpectedConditions class and introduced in Selenium 2.48; it waits until the expected windows count matches with actual WebDriver windows count.

[Total: 0    Average: 0/5]