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
When do you use selenium grid?
how to handle staleelementreferenceexception?
What is the difference between getwindowhandles() and getwindowhandle()?
How could ajax controls be handled in webdriver?
Explain me how to handle alerts in selenium webdriver?
Which is the package which is to be imported while working with webdriver?
What is a fundamental difference between xpath and css selector?
How to capture screenshot in selenium webdriver?
What does side stand for?
List out different types of locators?
What you say in regards to the flexibility of selenium test suite?
Tell me how you can find broken images in a page using selenium web driver?
what will be the first salary and what will be the hike in the salary?
How colors could be handled in selenium webdriver?
What are the important selenium ide commands or selenese commands?