mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
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>}