Angular Protractor - Leave browser open after E2E tests

browser.pause no longer works with current Node v8.1.0, see here, but you could use browser.sleep(10000); to keep the browser open for e.g. 10 seconds


You can use Protractor debug/pause feature to pause the e2e run which will ultimately leave the browser open: more info here

To do so, add this line on your protractor test before the failing one

browser.pause();

There is also a very useful tool called elementor that you may want to take a look later on.