APIPagePage.mainFrameVersion: 18.2.1On 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.