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

[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Page](./puppeteer.page.md) &gt; [setDefaultTimeout](./puppeteer.page.setdefaulttimeout.md)

## Page.setDefaultTimeout() method

<b>Signature:</b>

```typescript
setDefaultTimeout(timeout: number): void;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  timeout | number | Maximum time in milliseconds. |

<b>Returns:</b>

void

