setDocumentCookieDisabled method

Future<void> setDocumentCookieDisabled(
  1. bool disabled
)

disabled Whether document.coookie API should be disabled.

Implementation

Future<void> setDocumentCookieDisabled(bool disabled) async {
  await _client.send('Emulation.setDocumentCookieDisabled', {
    'disabled': disabled,
  });
}