[Home](./index.md) > [puppeteer](./puppeteer.md) > [Browser](./puppeteer.browser.md) > [waitForTarget](./puppeteer.browser.waitfortarget.md)
## Browser.waitForTarget() method
Signature:
```typescript
waitForTarget(predicate: (x: Target) => boolean, options?: {
timeout?: number;
}): Promise;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| predicate | (x: [Target](./puppeteer.target.md)) => boolean | |
| options | { timeout?: number; } | {!Promise<!Target>} |
Returns:
Promise<[Target](./puppeteer.target.md)>