8a099a0c2c
The former is not understood by TSDoc.
777 B
777 B
Home > puppeteer > Browser > waitForTarget
Browser.waitForTarget() method
Signature:
waitForTarget(predicate: (x: Target) => boolean, options?: {
timeout?: number;
}): Promise<Target>;
Parameters
Parameter | Type | Description |
---|---|---|
predicate | (x: Target) => boolean | |
options | { timeout?: number; } |
Returns:
Promise<Target>
{!Promise<!Target>}