Below method will wait until page title changes to the one passed as parameter in Selenium.
What do you think on above selenium topic. Please provide your inputs and comments. You can write to me at reply2sagar@gmail.com
public boolean waitUntilTitleChanges(String title){ for (int i=0;i<60;i++){ if (driver.getTitle().equalsIgnoreCase(title)) return true else sleep(1000) } return false }
What do you think on above selenium topic. Please provide your inputs and comments. You can write to me at reply2sagar@gmail.com
No comments:
Post a Comment