Files
puppeteer/docs/api/puppeteer.browser.removescreen.md
2025-11-24 16:03:06 +00:00

528 B

sidebar_label
sidebar_label
Browser.removeScreen

Browser.removeScreen() method

Removes a screen.

Signature

class Browser {
  abstract removeScreen(screenId: string): Promise<void>;
}

Parameters

Parameter

Type

Description

screenId

string

Returns:

Promise<void>

Remarks

Only supported in headless mode. Fails if the primary screen id is specified.