puppeteer/new-docs/puppeteer.jshandle.getproperty.md
2020-06-25 15:49:35 +01:00

634 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>