Skip to main content
Version: 16.1.0

Frame.parentFrame() method

Signature:

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

Returns:

Frame | null

the parent Frame, if any. Detached and main frames return null.