# noPlaywrightPagePause

Rule `biome/noPlaywrightPagePause`. Disallow using `page.pause()`.

- Source: biome
- Technologies: Testing
- Kind: suspicious
- Needs type information: no
- Autofix: no
- Reach: 0 weekly downloads of presets that enable it
- Trend: 0% last quarter
- Rank: #1923 by reach

## Linters

| Linter | Rule name | Recommended | Autofix | Details | Docs |
| --- | --- | --- | --- | --- | --- |
| Biome | `suspicious/noPlaywrightPagePause` | no | no | group suspicious, since 2.4.2 | [docs](https://biomejs.dev/linter/rules/no-playwright-page-pause/) |

## Code examples

### Incorrect: the rule reports this

```js
await page.pause();
```

```js
test('example', async ({ page }) => {
    await page.click('button');
    await page.pause();
});
```

### Correct: the rule accepts this

```js
test('example', async ({ page }) => {
    await page.click('button');
    await expect(page.locator('.result')).toBeVisible();
});
```

Examples from the Biome documentation.

## Enable it

### Biome: `biome.json`

```json
{
  "linter": {
    "rules": {
      "suspicious": {
        "noPlaywrightPagePause": "error"
      }
    }
  }
}
```

## Related rules

- [biome/noPlaywrightNthMethods](https://lintradar.dev/rules/biome/noPlaywrightNthMethods.md): Disallow selecting Playwright elements by position with `first()`, `last()`, and `nth()`.
- [biome/noPlaywrightUselessAwait](https://lintradar.dev/rules/biome/noPlaywrightUselessAwait.md): Disallow unnecessary `await` for Playwright methods that don't return promises.
- [biome/noPlaywrightNetworkidle](https://lintradar.dev/rules/biome/noPlaywrightNetworkidle.md): Disallow usage of the `networkidle` option.
- [biome/noPlaywrightWaitForNavigation](https://lintradar.dev/rules/biome/noPlaywrightWaitForNavigation.md): Disallow using `page.waitForNavigation()`.
- [biome/noPlaywrightForceOption](https://lintradar.dev/rules/biome/noPlaywrightForceOption.md): Disallow usage of the `{ force: true }` option.
- [biome/noPlaywrightWaitForSelector](https://lintradar.dev/rules/biome/noPlaywrightWaitForSelector.md): Disallow using `page.waitForSelector()`.

---

Web page: https://lintradar.dev/rules/biome/noPlaywrightPagePause. Data from npm and the linters' documentation, collected Dec 4, 2026. Site guide for agents: https://lintradar.dev/llms.txt
