Class WaitForPageToLoad

java.lang.Object
jp.vmi.selenium.selenese.command.AbstractCommand
jp.vmi.selenium.selenese.command.WaitForPageToLoad
All Implemented Interfaces:
ArgumentInfo, ICommand

public class WaitForPageToLoad
extends AbstractCommand
Re-implementation of "waitForPageToLoad".
  • Method Details

    • mayUpdateScreen

      public boolean mayUpdateScreen()
      Description copied from interface: ICommand
      May the command update screen?
      Specified by:
      mayUpdateScreen in interface ICommand
      Overrides:
      mayUpdateScreen in class AbstractCommand
      Returns:
      true if the command may update screen.
    • executeImpl

      protected Result executeImpl​(Context context, String... curArgs)
      Specified by:
      executeImpl in class AbstractCommand
    • execute

      public static Result execute​(Context context, long timeout)
      Wait for page to load.
      Parameters:
      context - context object.
      timeout - timeout (ms).
      Returns:
      page is loaded within timeout if result value is Success.