---
title: Setting up Playwright with Next.js
description: Learn how to set up Next.js with Playwright for End-to-End (E2E) and Integration testing.
url: "https://nextjs.org/docs/14/pages/building-your-application/testing/playwright"
version: 14.2.35
lastUpdated: 2023-12-13
prerequisites:
  - "Building Your Application: /docs/14/pages/building-your-application"
  - "Testing: /docs/14/pages/building-your-application/testing"
---


---

For an index of all available documentation, see [/docs/14/llms.txt](/docs/14/llms.txt)