Skip to main content
Version: 22.13.1

Page.mainFrame() method

The page's main frame.

Signature:

class Page {
abstract mainFrame(): Frame;
}

Returns:

Frame