TestProject Forum

General => General Questions => Topic started by: Karen on May 05, 2016, 22:06:30 pm

Title: navigating back in history with nightwatch
Post by: Karen 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 ?
Title: Re: navigating back in history with nightwatch
Post by: Ruhit on May 08, 2016, 17:25:52 pm
Not sure where i saw reference for it, but this works

Code
client.back();