TestProject Forum
Powered by leading experts in the test automation community

Navigating back in history with nightwatch

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 ?

Not sure where i saw reference for it, but this works

client.back();