How can I restart the browser in the middle of a test?



  • I need to verify some functionality around present the user with the option to pick up where they left off when they return to the site after having abandoned their cart. How can I close the browser and start it again in the middle of the test case so I can verify that the modal appears? I'm using RemoteWebDriver.



  • Use the close command and then start a new instance


Log in to reply
 

Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2