Tutorial by Examples

The pause() method is one of the easiest solution Protractor provides you to debug the code, in order to use it you have to add it in your code where you want to pause the execution.Once the execution is in paused state: You can use C (type C) to move forward. Be careful while using it, you hav...
You can use browser.debugger() to stop the execution. You can insert it any place in your code and it will stop the execution after that line until you don't command to continue. Note: To run the tests in debugger mode you have to issue command like this: `protractor debug <configuration.fi...

Page 1 of 1