debug

This command helps you to debug your integration tests. It stops the running queue and gives you time to jump into the browser and check the state of your application (e.g. using the dev tools). Once you are done go to the command line and press Enter.

Usage

1
client.debug().then(callback);

Parameters

Param Type Details

Example

debug.js
1
2
3
4
5
6
7
client
.setValue('#input', 'FOO')
.debug() // jumping into the browser and change value of #input to 'BAR'
.getValue('#input').then(function(value) {
console.log(value); // outputs: "BAR"
})
.end();