puppeteer/website/versioned_docs/version-18.0.3/api/puppeteer.elementhandle.contentframe.md
release-please[bot] 692b48ab0e
chore(main): release 18.0.3 ()
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2022-09-20 08:49:51 +00:00

352 B

sidebar_label
ElementHandle.contentFrame

ElementHandle.contentFrame() method

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

Signature:

class ElementHandle {
  contentFrame(): Promise<Frame | null>;
}

Returns:

Promise<Frame | null>