setNavigatorOverrides method

  1. @Deprecated('This command is deprecated')
Future<void> setNavigatorOverrides(
  1. String platform
)

Overrides value returned by the javascript navigator object. platform The platform navigator.platform should return.

Implementation

@Deprecated('This command is deprecated')
Future<void> setNavigatorOverrides(String platform) async {
  await _client.send('Emulation.setNavigatorOverrides', {
    'platform': platform,
  });
}