puppeteer/website/versioned_docs/version-9.1.1/puppeteer.elementhandle.contentframe.md
2021-08-10 11:09:48 +01:00

531 B

Home > puppeteer > ElementHandle > contentFrame

ElementHandle.contentFrame() method

Resolves to the content frame for element handles referencing iframe nodes, or null otherwise

Signature:

contentFrame(): Promise<Frame | null>;

Returns:

Promise<Frame | null>