Delete all cookies visible to the current page.

Usage

                    .deleteCookies([callback])
                

Example

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

Parameters

Name Type description
callback
Optional
function

Optional callback function to be called when the command finishes.

See also