Class Navigation

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void back()
      Move back a single "item" in the browser's history.
      void forward()
      Move a single "item" forward in the browser's history.
      void refresh()
      Refresh the current page
      void to​(java.lang.String url)
      Load a new web page in the current browser window.
      void to​(java.net.URL url)
      Overloaded version of to(String) that makes it easy to pass in a URL.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • back

        public void back()
        Move back a single "item" in the browser's history.
        Specified by:
        back in interface WebDriver.Navigation
      • forward

        public void forward()
        Move a single "item" forward in the browser's history.
        Specified by:
        forward in interface WebDriver.Navigation
      • to

        public void to​(java.lang.String url)
        Load a new web page in the current browser window.
        Specified by:
        to in interface WebDriver.Navigation
      • to

        public void to​(java.net.URL url)
        Overloaded version of to(String) that makes it easy to pass in a URL.
        Specified by:
        to in interface WebDriver.Navigation