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 some disadvantages of Selenium automation?
What is testng and how is it better than junit?
Explain how to iterate through options in test script?
How are web-based pop-ups handled in selenium?
How can we handle web-based pop-up?
How to mouse hover an element in selenium?
What is robot api?
What are the types of webdriver apis available in selenium?
How do you capture an element loading after the page load?
Which are the commands used for capturing the bitmaps?
What are the advantages and disadvantages of selenium over other testing tools like qtp and testcomplete?
How many types of locators are there in selenium?
How to insert a start point in selenium ide?
How you will login into any site if it is showing any authentication popup for username and password?
What is soft assertion in selenium?