width property

Class: RectangleSizePlatform: PlaywrightLanguage: JavaScript SDK:

The width of the rectangle in pixels.

Syntax

obj.width = value;
value = obj.width;

Type:number