Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 22nd, 2012  |  syntax: None  |  size: 0.27 KB  |  hits: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Selenium: how to ensure back() navigation works as expected across different sites?
  2. webdriver.navigate().back();
  3.        
  4. a) navigate back() (essentially hitting back button in firefox)
  5. b) make GET request to the previous page url
  6. c) click on "return to results" on current page