docs: fix broken link (#11687)

fix #11680
This commit is contained in:
Feng Yu 2022-01-28 05:00:09 +08:00 committed by GitHub
parent 81a7b2488f
commit 0698254253
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 11 deletions

View file

@ -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: | | 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: | | 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 ## Usage
@ -114,7 +114,7 @@ test('Intercept network requests', async ({ page }) => {
## Resources ## Resources
* [Documentation](https://playwright.dev/docs/intro/) * [Documentation](https://playwright.dev/docs/intro)
* [API reference](https://playwright.dev/docs/api/class-playwright/) * [API reference](https://playwright.dev/docs/api/class-playwright/)
* [Community showcase](https://playwright.dev/docs/showcase/) * [Community showcase](https://playwright.dev/docs/showcase/)
* [Contribution guide](CONTRIBUTING.md) * [Contribution guide](CONTRIBUTING.md)

View file

@ -9,18 +9,18 @@ The Playwright API is available in multiple languages.
## JavaScript and TypeScript ## 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) * [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) * [API](https://playwright.dev/docs/api/class-playwright)
* [GitHub repo](https://github.com/microsoft/playwright) * [GitHub repo](https://github.com/microsoft/playwright)
## Python ## 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) * [API](https://playwright.dev/python/docs/api/class-playwright)
* [Playwright on PyPI](https://pypi.org/project/playwright/) * [Playwright on PyPI](https://pypi.org/project/playwright/)
* [GitHub repo](https://github.com/microsoft/playwright-python) * [GitHub repo](https://github.com/microsoft/playwright-python)
@ -28,17 +28,17 @@ The Playwright API is available in multiple languages.
## Java ## 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) * [API](https://playwright.dev/java/docs/api/class-playwright)
* [GitHub repo](https://github.com/microsoft/playwright-java) * [GitHub repo](https://github.com/microsoft/playwright-java)
## .NET ## .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) * [API](https://playwright.dev/dotnet/docs/api/class-playwright)
* [GitHub repo](https://github.com/microsoft/playwright-dotnet) * [GitHub repo](https://github.com/microsoft/playwright-dotnet)
* [Playwright on NuGet](https://www.nuget.org/packages/Microsoft.Playwright) * [Playwright on NuGet](https://www.nuget.org/packages/Microsoft.Playwright)

View file

@ -223,7 +223,7 @@ function throwIfRunningInsideJest() {
throw new Error( throw new Error(
`Playwright Test needs to be invoked via 'npx playwright test' and excluded from Jest test runs.\n` + `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` + `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.`,
); );
} }
} }