PagePage.mainFrameVersion: 20.1.2On this pagePage.mainFrame() methodThe page's main frame.Signature:class Page { mainFrame(): Frame;}Returns:FrameRemarksPage is guaranteed to have a main frame which persists during navigations.