setBlockedURLs method

Future<void> setBlockedURLs(
  1. List<String> urls
)

Blocks URLs from loading. urls URL patterns to block. Wildcards ('*') are allowed.

Implementation

Future<void> setBlockedURLs(List<String> urls) async {
  await _client.send('Network.setBlockedURLs', {
    'urls': [...urls],
  });
}