Browser.addScreen() method
Adds a new screen, returns the added screen information object.
Signature
class Browser {
abstract addScreen(params: AddScreenParams): Promise<ScreenInfo>;
}
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
params |
Returns:
Promise<ScreenInfo>
Remarks
Only supported in headless mode.