top of page

Page navigation with Selenium

  1. To refresh the current page:

  2. To go back to the previous page:

  3. To go to the next page (if the next page exists, for example if you go back from a page, then want to return to it; if there is no next page, it doesn't do anything):

  4. To go to a page whose URL you know (instead of using driver.get("url")):

Recent Posts

See All
bottom of page