Delete all cookies visible to the current page.

Usage:

.deleteCookies([callback])

Parameters:

Name Type description
callback
Optional
function

Optional callback function to be called when the command finishes.

Example:

this.demoTest = function(browser) {
  browser.deleteCookies(function() {
    // do something more in here
  });
}

See also: