browser.explore() vs the old ways to debug in Prortractor browser.explore() vs the old ways to debug in Prortractor selenium selenium

browser.explore() vs the old ways to debug in Prortractor


Each one has their own advantages and disadvantages.

browser.explore() is pretty new one and also this has great advantage of debugging the test using the same script we are using in our test cases for eg.

element(by.cssContainingText('Username')).click();

browser.pause() is just allowing to type command 'c' Every time you press c like below in command prompt. You will be jumped to the next step/line/breakpoints to perform in the test script.

wd-debug> c 

browser.debugger() can be used from the browser console instead of using from command prompts where web driver is running. This will enable the user to use the client side scripts on the console.

The other one i haven't worked with may be once i try let you know that too.