puppeteer/docs/api/puppeteer.jshandle.getproperty_2.md
2023-02-09 18:04:06 +01:00

561 B

sidebar_label
JSHandle.getProperty_2

JSHandle.getProperty() method

Signature:

class JSHandle {
  getProperty<K extends keyof T>(
    propertyName: HandleOr<K>
  ): Promise<HandleFor<T[K]>>;
}

Parameters

Parameter Type Description
propertyName HandleOr<K>

Returns:

Promise<HandleFor<T[K]>>