Table of Contents

Class SetGeolocationOverrideCommandSettings

Namespace
OpenQA.Selenium.DevTools.V146.Page
Assembly
Selenium.WebDriver.dll

Overrides the Geolocation Position or Error. Omitting any of the parameters emulates position unavailable.

public sealed class SetGeolocationOverrideCommandSettings : ICommand
Inheritance
SetGeolocationOverrideCommandSettings
Implements
Inherited Members

Properties

Accuracy

Mock accuracy

[JsonPropertyName("accuracy")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public double? Accuracy { get; set; }

Property Value

double?

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

Latitude

Mock latitude

[JsonPropertyName("latitude")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public double? Latitude { get; set; }

Property Value

double?

Longitude

Mock longitude

[JsonPropertyName("longitude")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public double? Longitude { get; set; }

Property Value

double?