The information in this topic may be out of date. The current SDK reference guide has moved here.

Region class

Platform: PlaywrightLanguage: JavaScript SDK:
Provides an object that describes a rectangular area at a coordinate. An object of this type is required as a parameter in some methods.

Constructor

Region()
A constructor to an object describes a rectangular region at a particular coordinate.