text: 921/selenium-waitforpagetoload-30000-method-selenium-webdriver
  I used the following code for page loading using Selenium RC:
  selenium.waitForPageToLoad("30000");
  How can I use it with the help of Selenium Webdriver
  You can use two approaches using Selenium Webdriver
  First you could use Thread.sleep(60000) and
  Second: If you want to make sure that the page is loaded or not below approach will help u out:
  Identify an element in the landing page & wait for it to be clickable. You are then sure that the page has been loaded.
  WebDriverWait wait = new WebDriverWait(driver,120);
  wait.until(ExpectedConditions.elementToBeClickable(By.id(id)));
  In this case it waits for a max of 120 sec. for the element to be clickable. If the element is clickable before that, your test will be executed.
  Hello Inderjeet, deselectAll() method is useful to ...READ MORE
  Hey Anushka, you can use clear() function to ...READ MORE
  using OpenQA.Selenium.Interactions;
  Actions builder = new Actions(driver); ...READ MORE
  First, find an XPath which will
  Mistake is that u r printing the ...READ MORE
  Check below links:
  Documentation:
  Page Objects and PageFactory
  Page Object Design Pattern
  Other ...READ MORE
  OR
  Already have an account? Sign in.