Location class

Platform: Selenium 4Language: JavaScript SDK:
Provides an object that describes a coordinate. An object of this type is required as a parameter in some methods.

Constructor

Location()
A constructor that provides several ways to specify the Location coordinates.

Properties

xType:number
The horizontal coordinate of the point in pixels (from the left of the image).
yType:number
The vertical coordinate of the point in pixels (from the top of image).