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
How to get the number of frames on a page?
How to hover the mouse on an element?
Can we test apis or web services using selenium webdriver?
What is group test in testng?
What api is required for database testing in selenium webdriver?
How many exemptions do you know in selenium webdriver?
How would one access the value of a side variable named name from within a javascript snippet used as the argument to a selenese command?
What is the purpose of creating a reference variable- ‘driver’ of type
How to get an attribute value using selenium webdriver?
Why do you need session handling while working with selenium?
What methods of robot class do you know?
Is the firefoxdriver a class or an interface?
What is the command that is used in order to display the values of a variable into the output console or log?
Mention in what ways you can customize testng report?
What is Selenese?