Answer Posted / surya
using WebDriverWait we can check as we can wait until completion of expected condition.
ex:
WebDriverWait wait = new WebDriverWait(driver, 10);
WebElement elem = driver.findElement(By.id("myInvisibleElement"));
elem.click();
wait.until(ExpectedConditions.visibilityOf(elem));
please correct me if i m wrong.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the main difference between the close() and quit() methods?
How can we fetch a text written over an element?
Explain in selenium ide how can you debug the tests?
How will you find an element using selenium?
What regular expression special character(s) means "any character?"
What are the open-source frameworks supported by selenium webdriver?
what are the testing frameworks used in selenium?
Explain what is the main difference between web-driver and rc?
What is the difference between setspeed() and sleep() methods?
Explain how you can debug the tests in selenium ide?
When to use autoit?
What kind of testing does selenium support?
What if you have written your own element locator and how would you test it?
How to run selenium webdriver test from the command line?
What is page object model in selenium?