Reuse the browser session for Selenium WebDriver for Nightwatch.js tests
问题 I need to write multiple tests (e.g. login test, use application once logged in tests, logout test, etc.) and need them all to be in separate files. The issue I run into is after each test, at the beginning of the next test being run, a new browser session start and it is no longer logged in due to the new session, so all my tests will fail except the login test. So, is there a way to use the same browser session to run all of my tests sequentially without having to duplicate my login code?