FrameFrame.parentFrameVersion: 19.6.1On this pageFrame.parentFrame() methodSignature:class Frame { parentFrame(): Frame | null;}Returns:Frame | nullThe parent frame, if any. Detached and main frames return null.