I have different folderstest suites
inside test
folder . These folders contains so many .js
test files. Each test file invokes a separate browser.
Is their a way I can use single browser for all test files inside suite?
I have already gone through these links but couldn't find out a working solution.
Some one provided solution at this link Reuse the browser session for Selenium WebDriver for Nightwatch.js tests but I am more intersting in storing running browser session
in string and for next test file put a check to verify if there is already one existing session or not, if yes pass its value to next one and avoid creating/invoking new browser session.