setCookies method

Future<void> setCookies(
  1. List<CookieParam> cookies
)

Sets given cookies. cookies Cookies to be set.

Implementation

Future<void> setCookies(List<CookieParam> cookies) async {
  await _client.send('Network.setCookies', {
    'cookies': [...cookies],
  });
}