Class Geolocation
- Namespace
- Microsoft.Playwright
- Assembly
- Microsoft.Playwright.dll
public class Geolocation
- Inheritance
-
Geolocation
- Inherited Members
Constructors
Geolocation()
public Geolocation()
Properties
Accuracy
Non-negative accuracy value. Defaults to 0
.
[JsonPropertyName("accuracy")]
public float? Accuracy { get; set; }
Property Value
Latitude
Latitude between -90 and 90.
[Required]
[JsonPropertyName("latitude")]
public float Latitude { get; set; }
Property Value
Longitude
Longitude between -180 and 180.
[Required]
[JsonPropertyName("longitude")]
public float Longitude { get; set; }