Skip to main content
Version: 17.1.3

Frame.parentFrame() method

Signature:

class Frame {
parentFrame(): Frame | null;
}

Returns:

Frame | null

The parent frame, if any. Detached and main frames return null.