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