Skip to main content
Version: 17.0.0

Frame.parentFrame() method

Signature:

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

Returns:

Frame | null

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