---
sidebar_label: Page.setDefaultTimeout
---

# Page.setDefaultTimeout() method

### Signature

```typescript
class Page {
  abstract setDefaultTimeout(timeout: number): void;
}
```

## Parameters

<table><thead><tr><th>

Parameter

</th><th>

Type

</th><th>

Description

</th></tr></thead>
<tbody><tr><td>

timeout

</td><td>

number

</td><td>

Maximum time in milliseconds.

</td></tr>
</tbody></table>
**Returns:**

void
