Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

docs: fix broken link (#11687)

Feng Yu069825425369
diff --git a/README.md b/README.md
index 0607bb3ab4..2067b1b59c 100644
--- a/README.md
+++ b/README.md
@@ -12,7 +12,7 @@ Playwright is a framework for Web Testing and Automation. It allows testing [Chr
| WebKit <!-- GEN:webkit-version -->15.4<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| Firefox <!-- GEN:firefox-version -->96.0.1<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
-Headless execution is supported for all the browsers on all platforms. Check out [system requirements](https://playwright.dev/docs/intro/#system-requirements) for details.
+Headless execution is supported for all the browsers on all platforms. Check out [system requirements](https://playwright.dev/docs/library#system-requirements) for details.
## Usage
@@ -114,7 +114,7 @@ test('Intercept network requests', async ({ page }) => {
## Resources
-* [Documentation](https://playwright.dev/docs/intro/)
+* [Documentation](https://playwright.dev/docs/intro)
* [API reference](https://playwright.dev/docs/api/class-playwright/)
* [Community showcase](https://playwright.dev/docs/showcase/)
* [Contribution guide](CONTRIBUTING.md)
diff --git a/docs/src/languages.md b/docs/src/languages.md
index dac002d0be..40dc56190c 100644
--- a/docs/src/languages.md
+++ b/docs/src/languages.md
@@ -9,18 +9,18 @@ The Playwright API is available in multiple languages.
## JavaScript and TypeScript
-[Playwright for Node.js](https://playwright.dev/docs/intro/) is available.
+[Playwright for Node.js](https://playwright.dev/docs/intro) is available.
* [NPM](https://www.npmjs.com/package/playwright)
-* [Documentation](https://playwright.dev/docs/intro/)
+* [Documentation](https://playwright.dev/docs/intro)
* [API](https://playwright.dev/docs/api/class-playwright)
* [GitHub repo](https://github.com/microsoft/playwright)
## Python
-[Playwright for Python](https://playwright.dev/python/docs/intro/) is available.
+[Playwright for Python](https://playwright.dev/python/docs/intro) is available.
-* [Documentation](https://playwright.dev/python/docs/intro/)
+* [Documentation](https://playwright.dev/python/docs/intro)
* [API](https://playwright.dev/python/docs/api/class-playwright)
* [Playwright on PyPI](https://pypi.org/project/playwright/)
* [GitHub repo](https://github.com/microsoft/playwright-python)
@@ -28,17 +28,17 @@ The Playwright API is available in multiple languages.
## Java
-[Playwright for Java](https://playwright.dev/java/docs/intro/) is available.
+[Playwright for Java](https://playwright.dev/java/docs/intro) is available.
-* [Documentation](https://playwright.dev/java/docs/intro/)
+* [Documentation](https://playwright.dev/java/docs/intro)
* [API](https://playwright.dev/java/docs/api/class-playwright)
* [GitHub repo](https://github.com/microsoft/playwright-java)
## .NET
-[Playwright for .NET](https://playwright.dev/dotnet/docs/intro/) is available.
+[Playwright for .NET](https://playwright.dev/dotnet/docs/intro) is available.
-* [Documentation](https://playwright.dev/dotnet/docs/intro/)
+* [Documentation](https://playwright.dev/dotnet/docs/intro)
* [API](https://playwright.dev/dotnet/docs/api/class-playwright)
* [GitHub repo](https://github.com/microsoft/playwright-dotnet)
* [Playwright on NuGet](https://www.nuget.org/packages/Microsoft.Playwright)
diff --git a/packages/playwright-test/src/testType.ts b/packages/playwright-test/src/testType.ts
index e30c6c2607..b0af49a36c 100644
--- a/packages/playwright-test/src/testType.ts
+++ b/packages/playwright-test/src/testType.ts
@@ -223,7 +223,7 @@ function throwIfRunningInsideJest() {
throw new Error(
`Playwright Test needs to be invoked via 'npx playwright test' and excluded from Jest test runs.\n` +
`Creating one directory for Playwright tests and one for Jest is the recommended way of doing it.\n` +
- `See https://playwright.dev/docs/intro/ for more information about Playwright Test.`,
+ `See https://playwright.dev/docs/intro for more information about Playwright Test.`,
);
}
}