Files
browser-automation-botGitHubrelease-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
4d7b677d1d chore: release main (#15201)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2026-07-27 14:29:23 +02:00

1.1 KiB

sidebar_label
sidebar_label
JSHandle.getProperty

JSHandle.getProperty() method

getProperty(): Promise<HandleFor<T\[K\]>>

Fetches a single property from the referenced object.

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

getProperty(): Promise<JSHandle<unknown>>

Signature

class JSHandle {
  getProperty(propertyName: string): Promise<JSHandle<unknown>>;
}

Parameters

Parameter

Type

Description

propertyName

string

Returns:

Promise<JSHandle<unknown>>