Class: LocationPlatform: AppiumLanguage: Java SDK:
A constructor that provides several ways to specify the Location coordinates.
For user convenience, the values may be given as numbers or taken from another object.
Location obj = new Location(); Location obj = new Location(x, y); Location obj = new Location(point); Location obj = new Location(other);
- The horizontal coordinate of the point in pixels (from the left of the image).
- The vertical coordinate of the point in pixels (from the top of image).
- The top left corner.
- Another location object whose coordinate value is cloned to create this object.
- Type: Location