<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [BrowserConnectOptions](./puppeteer.browserconnectoptions.md) &gt; [targetFilter](./puppeteer.browserconnectoptions.targetfilter.md)

## BrowserConnectOptions.targetFilter property

Callback to decide if Puppeteer should connect to a given target or not.

<b>Signature:</b>

```typescript
targetFilter?: TargetFilterCallback;
```
