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.

Leave a Reply

Your email address will not be published. Required fields are marked *