navigating back in history with nightwatch

  • 1 Replies
  • 1117 Views
*

Karen

  • *
  • 17
navigating back in history with nightwatch
« on: May 05, 2016, 22:06:30 pm »
my test clicks a link that navigates the browser do a different page on my site. I would like the browser to go back to main page for assertions.

how can I simulate a 'back' click with nightwatch ?

*

Ruhit

  • *
  • 22
Re: navigating back in history with nightwatch
« Reply #1 on: May 08, 2016, 17:25:52 pm »
Not sure where i saw reference for it, but this works

Code
client.back();

 

Sitemap 1 2 3 4 5 6 7 8