setGeolocationOverride method
Overrides the Geolocation Position or Error. Omitting any of the parameters emulates position
unavailable.
latitude
Mock latitude
longitude
Mock longitude
accuracy
Mock accuracy
Implementation
@Deprecated('This command is deprecated')
Future<void> setGeolocationOverride(
{num? latitude, num? longitude, num? accuracy}) async {
await _client.send('Page.setGeolocationOverride', {
if (latitude != null) 'latitude': latitude,
if (longitude != null) 'longitude': longitude,
if (accuracy != null) 'accuracy': accuracy,
});
}