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

[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Target](./puppeteer.target.md) &gt; [type](./puppeteer.target.type.md)

## Target.type() method

Identifies what kind of target this is.

<b>Signature:</b>

```typescript
type(): 'page' | 'background_page' | 'service_worker' | 'shared_worker' | 'other' | 'browser' | 'webview';
```
<b>Returns:</b>

'page' \| 'background\_page' \| 'service\_worker' \| 'shared\_worker' \| 'other' \| 'browser' \| 'webview'

## Remarks

See [docs](https://developer.chrome.com/extensions/background_pages) for more info about background pages.

