APIPagePage.mainFrameVersion: 19.1.2On this pagePage.mainFrame() methodSignature:class Page { mainFrame(): Frame;}Returns:FrameThe page's main frame.RemarksPage is guaranteed to have a main frame which persists during navigations.