Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
docs: remove redundant TOC usages (#32096)
Max Schmitt98a6e14e9d2f
diff --git a/docs/src/accessibility-testing-java.md b/docs/src/accessibility-testing-java.mdindex 9db8246bcb..d62bac64fa 100644--- a/docs/src/accessibility-testing-java.md+++ b/docs/src/accessibility-testing-java.md@@ -14,8 +14,6 @@ A few examples of problems this can catch include:The following examples rely on the [`com.deque.html.axe-core/playwright`](https://mvnrepository.com/artifact/com.deque.html.axe-core/playwright) Maven package which adds support for running the [axe accessibility testing engine](https://www.deque.com/axe/) as part of your Playwright tests.-<!-- TOC -->-## DisclaimerAutomated accessibility tests can detect some common accessibility problems such as missing or invalid properties. But many accessibility problems can only be discovered through manual testing. We recommend using a combination of automated testing, manual accessibility assessments, and inclusive user testing.diff --git a/docs/src/api-testing-csharp.md b/docs/src/api-testing-csharp.mdindex f68ff8a8f7..6a8482e244 100644--- a/docs/src/api-testing-csharp.md+++ b/docs/src/api-testing-csharp.md@@ -18,8 +18,6 @@ All of that could be achieved via [APIRequestContext] methods.The following examples rely on the [`Microsoft.Playwright.MSTest`](./test-runners.md) package which creates a Playwright and Page instance for each test.-<!-- TOC -->-## Writing API Test[APIRequestContext] can send all kinds of HTTP(S) requests over network.diff --git a/docs/src/api-testing-java.md b/docs/src/api-testing-java.mdindex 41265776a5..987aad5de8 100644--- a/docs/src/api-testing-java.md+++ b/docs/src/api-testing-java.md@@ -16,8 +16,6 @@ A few examples where it may come in handy:All of that could be achieved via [APIRequestContext] methods.-<!-- TOC -->-## Writing API Test[APIRequestContext] can send all kinds of HTTP(S) requests over network.diff --git a/docs/src/api-testing-js.md b/docs/src/api-testing-js.mdindex 680b085a3c..325d9984b4 100644--- a/docs/src/api-testing-js.md+++ b/docs/src/api-testing-js.md@@ -16,8 +16,6 @@ A few examples where it may come in handy:All of that could be achieved via [APIRequestContext] methods.-<!-- TOC3 -->-## Writing API Test[APIRequestContext] can send all kinds of HTTP(S) requests over network.diff --git a/docs/src/api-testing-python.md b/docs/src/api-testing-python.mdindex 9930605a52..68f2626111 100644--- a/docs/src/api-testing-python.md+++ b/docs/src/api-testing-python.md@@ -18,8 +18,6 @@ All of that could be achieved via [APIRequestContext] methods.The following examples rely on the [`pytest-playwright`](./test-runners.md) package which add Playwright fixtures to the Pytest test-runner.-<!-- TOC -->-## Writing API Test[APIRequestContext] can send all kinds of HTTP(S) requests over network.diff --git a/docs/src/junit-java.md b/docs/src/junit-java.mdindex 7ea43399dd..ef6afcb5fd 100644--- a/docs/src/junit-java.md+++ b/docs/src/junit-java.md@@ -10,8 +10,6 @@ With a few lines of code, you can hook up Playwright to your favorite Java testIn [JUnit](https://junit.org/junit5/), you can use Playwright [fixtures](./junit.md#fixtures) to automatically initialize [Playwright], [Browser], [BrowserContext] or [Page]. In the example below, all three test methods use the same[Browser]. Each test uses its own [BrowserContext] and [Page].-<!-- TOC -->-```javapackage org.example;diff --git a/docs/src/screenshots.md b/docs/src/screenshots.mdindex 28aca1200b..d1c7e0e04f 100644--- a/docs/src/screenshots.md+++ b/docs/src/screenshots.md@@ -33,8 +33,6 @@ await Page.ScreenshotAsync(new()[Screenshots API](./api/class-page#page-screenshot) accepts many parameters for image format, clip area, quality, etc. Make sure to check them out.-<!-- TOC -->-## Full page screenshotsFull page screenshot is a screenshot of a full scrollable page, as if you had a verydiff --git a/docs/src/test-runners-java.md b/docs/src/test-runners-java.mdindex d29da2e8ba..1aaa7135c4 100644--- a/docs/src/test-runners-java.md+++ b/docs/src/test-runners-java.md@@ -11,8 +11,6 @@ Playwright and Browser instances can be reused between tests for better performarecommend running each test case in a new BrowserContext, this way browser state will beisolated between the tests.-<!-- TOC -->-## JUnitIn [JUnit](https://junit.org/junit5/) you can initialize [Playwright] and [Browser] in [@BeforeAll](https://junit.org/junit5/docs/current/api/org.junit.jupiter.api/org/junit/jupiter/api/BeforeAll.html) method and