Angular Protractor - Leave browser open after E2E tests

后端 未结 5 1404
名媛妹妹
名媛妹妹 2020-12-17 07:31

Is it possible to leave the test browser windows open after Angular Protractor tests run? I have a tough test failing in FireFox and it\'d be useful to access the state of t

5条回答
  •  不知归路
    2020-12-17 08:12

    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.

提交回复
热议问题