puppeteer/website/versioned_docs/version-10.1.0/puppeteer.jshandle.getproperty.md
2021-08-10 11:09:48 +01:00

610 B

Home > puppeteer > JSHandle > getProperty

JSHandle.getProperty() method

Fetches a single property from the referenced object.

Signature:

getProperty(propertyName: string): Promise<JSHandle | undefined>;

Parameters

Parameter Type Description
propertyName string

Returns:

Promise<JSHandle | undefined>