Skip to main content
Version: Next

Page.viewport() method

Current page viewport settings.

Signature:

class Page {
abstract viewport(): Viewport | null;
}

Returns:

Viewport | null