deleteCookie method

  1. @Deprecated('This command is deprecated')
Future<void> deleteCookie(
  1. String cookieName,
  2. String url
)

Deletes browser cookie with given name, domain and path. cookieName Name of the cookie to remove. url URL to match cooke domain and path.

Implementation

@Deprecated('This command is deprecated')
Future<void> deleteCookie(String cookieName, String url) async {
  await _client.send('Page.deleteCookie', {
    'cookieName': cookieName,
    'url': url,
  });
}