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 is the wait? How many types of waits in selenium?
How does one capture a page title in selenium 2.0?
What the webdriver supported mobile testing drivers do you know?
How do you read test data from excels?
Which are the languages supported by selenium rc?
How to type text in a textbox using selenium?
How to create and run testng.xml?
Tell us how will you use selenium to upload a file?
Name the different types of waits in webdriver.
From selenium ide how you can execute a single line?
How to do drag and drop in selenium?
What are the main advantages of selenium?
Explain the difference between single and double slash in x-path?
What are heightened privileges browsers?
How to scroll web page down or up using selenium webdriver?