Answer Posted / dolly
We can ensure that the page is loaded completely by using javascriptwait method, by defining the wait time to check the condition.
(“return document.readyState”.equal(complete) ---boolean(Y/N) – true means its loaded completely.
Using TRY n Catch method (catch the exception saying page did not load in the stipulated time)
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the limitations of using selenium as a test tool?
List some of the operating systems that are supported by selenium webdriver.
What is a data driven framework?
What are driver.close and driver.quit in WebDriver? Which is more preferable?
How a text written in a text field could be cleared?
Do you know what are the main advantages of selenium grid?
What is the automation test?
What are the main advantages of selenium grid?
What is the difference between find elements () and find element ()?
What are the advantages and disadvantages of using selenium as testing tool?
How can we get a text of a web element?
What are the prerequisites to run selenium webdriver?
How can we launch different browsers in selenium webdriver?
What is junit annotations and what are different types of annotations which are useful?
Do you know any alternative test automation tools for selenium?