Region method

Class: RegionPlatform: Selenium 3Language: Python SDK:

A constructor to an object describes a rectangular region at a particualar coordinate.

Syntax


obj = Region(left, top, width, height)

Parameters

left
Type:int
The X coordinate of the left edge of the region in pixels.
top
Type:int
The Y coordinate of the top edge of the region in pixels.
width
Type:int
The width of the region in pixels.
height
Type:int
The height of the region in pixels.

Return value

Type: <a class ='link' href='/Content/api/eyes-sdk/index-gen/class-region-selenium-python_sdk4.htm'>Region</a>