Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions dotnet/docs/actionability.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,9 @@ For example, consider a scenario where Playwright will click `Sign Up` button re
[Page]: /api/class-page.mdx "Page"
[PageAssertions]: /api/class-pageassertions.mdx "PageAssertions"
[Playwright]: /api/class-playwright.mdx "Playwright"
[PlaywrightAssertionException]: /api/class-playwrightassertionexception.mdx "PlaywrightAssertionException"
[PlaywrightAssertions]: /api/class-playwrightassertions.mdx "PlaywrightAssertions"
[PlaywrightException]: /api/class-playwrightexception.mdx "PlaywrightException"
[Request]: /api/class-request.mdx "Request"
[Response]: /api/class-response.mdx "Response"
[Route]: /api/class-route.mdx "Route"
Expand Down
2 changes: 2 additions & 0 deletions dotnet/docs/api-testing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1594,7 +1594,9 @@ var context = await Browser.NewContextAsync(new() { StorageState = state });
[Page]: /api/class-page.mdx "Page"
[PageAssertions]: /api/class-pageassertions.mdx "PageAssertions"
[Playwright]: /api/class-playwright.mdx "Playwright"
[PlaywrightAssertionException]: /api/class-playwrightassertionexception.mdx "PlaywrightAssertionException"
[PlaywrightAssertions]: /api/class-playwrightassertions.mdx "PlaywrightAssertions"
[PlaywrightException]: /api/class-playwrightexception.mdx "PlaywrightException"
[Request]: /api/class-request.mdx "Request"
[Response]: /api/class-response.mdx "Response"
[Route]: /api/class-route.mdx "Route"
Expand Down
2 changes: 2 additions & 0 deletions dotnet/docs/api/class-apirequest.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,9 @@ await ApiRequest.NewContextAsync(options);
[Page]: /api/class-page.mdx "Page"
[PageAssertions]: /api/class-pageassertions.mdx "PageAssertions"
[Playwright]: /api/class-playwright.mdx "Playwright"
[PlaywrightAssertionException]: /api/class-playwrightassertionexception.mdx "PlaywrightAssertionException"
[PlaywrightAssertions]: /api/class-playwrightassertions.mdx "PlaywrightAssertions"
[PlaywrightException]: /api/class-playwrightexception.mdx "PlaywrightException"
[Request]: /api/class-request.mdx "Request"
[Response]: /api/class-response.mdx "Response"
[Route]: /api/class-route.mdx "Route"
Expand Down
2 changes: 2 additions & 0 deletions dotnet/docs/api/class-apirequestcontext.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,9 @@ ApiRequestContext.Tracing
[Page]: /api/class-page.mdx "Page"
[PageAssertions]: /api/class-pageassertions.mdx "PageAssertions"
[Playwright]: /api/class-playwright.mdx "Playwright"
[PlaywrightAssertionException]: /api/class-playwrightassertionexception.mdx "PlaywrightAssertionException"
[PlaywrightAssertions]: /api/class-playwrightassertions.mdx "PlaywrightAssertions"
[PlaywrightException]: /api/class-playwrightexception.mdx "PlaywrightException"
[Request]: /api/class-request.mdx "Request"
[Response]: /api/class-response.mdx "Response"
[Route]: /api/class-route.mdx "Route"
Expand Down
2 changes: 2 additions & 0 deletions dotnet/docs/api/class-apiresponse.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,9 @@ ApiResponse.Url
[Page]: /api/class-page.mdx "Page"
[PageAssertions]: /api/class-pageassertions.mdx "PageAssertions"
[Playwright]: /api/class-playwright.mdx "Playwright"
[PlaywrightAssertionException]: /api/class-playwrightassertionexception.mdx "PlaywrightAssertionException"
[PlaywrightAssertions]: /api/class-playwrightassertions.mdx "PlaywrightAssertions"
[PlaywrightException]: /api/class-playwrightexception.mdx "PlaywrightException"
[Request]: /api/class-request.mdx "Request"
[Response]: /api/class-response.mdx "Response"
[Route]: /api/class-route.mdx "Route"
Expand Down
2 changes: 2 additions & 0 deletions dotnet/docs/api/class-apiresponseassertions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ await Expect(response).Not.ToBeOKAsync();
[Page]: /api/class-page.mdx "Page"
[PageAssertions]: /api/class-pageassertions.mdx "PageAssertions"
[Playwright]: /api/class-playwright.mdx "Playwright"
[PlaywrightAssertionException]: /api/class-playwrightassertionexception.mdx "PlaywrightAssertionException"
[PlaywrightAssertions]: /api/class-playwrightassertions.mdx "PlaywrightAssertions"
[PlaywrightException]: /api/class-playwrightexception.mdx "PlaywrightException"
[Request]: /api/class-request.mdx "Request"
[Response]: /api/class-response.mdx "Response"
[Route]: /api/class-route.mdx "Route"
Expand Down
2 changes: 2 additions & 0 deletions dotnet/docs/api/class-browser.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,9 @@ Browser.Disconnected += async (_, browser) => {};
[Page]: /api/class-page.mdx "Page"
[PageAssertions]: /api/class-pageassertions.mdx "PageAssertions"
[Playwright]: /api/class-playwright.mdx "Playwright"
[PlaywrightAssertionException]: /api/class-playwrightassertionexception.mdx "PlaywrightAssertionException"
[PlaywrightAssertions]: /api/class-playwrightassertions.mdx "PlaywrightAssertions"
[PlaywrightException]: /api/class-playwrightexception.mdx "PlaywrightException"
[Request]: /api/class-request.mdx "Request"
[Response]: /api/class-response.mdx "Response"
[Route]: /api/class-route.mdx "Route"
Expand Down
2 changes: 2 additions & 0 deletions dotnet/docs/api/class-browsercontext.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1491,7 +1491,9 @@ BrowserContext.BackgroundPages
[Page]: /api/class-page.mdx "Page"
[PageAssertions]: /api/class-pageassertions.mdx "PageAssertions"
[Playwright]: /api/class-playwright.mdx "Playwright"
[PlaywrightAssertionException]: /api/class-playwrightassertionexception.mdx "PlaywrightAssertionException"
[PlaywrightAssertions]: /api/class-playwrightassertions.mdx "PlaywrightAssertions"
[PlaywrightException]: /api/class-playwrightexception.mdx "PlaywrightException"
[Request]: /api/class-request.mdx "Request"
[Response]: /api/class-response.mdx "Response"
[Route]: /api/class-route.mdx "Route"
Expand Down
2 changes: 2 additions & 0 deletions dotnet/docs/api/class-browsertype.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,9 @@ BrowserType.Name
[Page]: /api/class-page.mdx "Page"
[PageAssertions]: /api/class-pageassertions.mdx "PageAssertions"
[Playwright]: /api/class-playwright.mdx "Playwright"
[PlaywrightAssertionException]: /api/class-playwrightassertionexception.mdx "PlaywrightAssertionException"
[PlaywrightAssertions]: /api/class-playwrightassertions.mdx "PlaywrightAssertions"
[PlaywrightException]: /api/class-playwrightexception.mdx "PlaywrightException"
[Request]: /api/class-request.mdx "Request"
[Response]: /api/class-response.mdx "Response"
[Route]: /api/class-route.mdx "Route"
Expand Down
2 changes: 2 additions & 0 deletions dotnet/docs/api/class-cdpsession.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,9 @@ CdpSession.Close += async (_, cDPSession) => {};
[Page]: /api/class-page.mdx "Page"
[PageAssertions]: /api/class-pageassertions.mdx "PageAssertions"
[Playwright]: /api/class-playwright.mdx "Playwright"
[PlaywrightAssertionException]: /api/class-playwrightassertionexception.mdx "PlaywrightAssertionException"
[PlaywrightAssertions]: /api/class-playwrightassertions.mdx "PlaywrightAssertions"
[PlaywrightException]: /api/class-playwrightexception.mdx "PlaywrightException"
[Request]: /api/class-request.mdx "Request"
[Response]: /api/class-response.mdx "Response"
[Route]: /api/class-route.mdx "Route"
Expand Down
2 changes: 2 additions & 0 deletions dotnet/docs/api/class-cdpsessionevent.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ CdpSessionEvent.OnEvent += async (_, jsonElement) => {};
[Page]: /api/class-page.mdx "Page"
[PageAssertions]: /api/class-pageassertions.mdx "PageAssertions"
[Playwright]: /api/class-playwright.mdx "Playwright"
[PlaywrightAssertionException]: /api/class-playwrightassertionexception.mdx "PlaywrightAssertionException"
[PlaywrightAssertions]: /api/class-playwrightassertions.mdx "PlaywrightAssertions"
[PlaywrightException]: /api/class-playwrightexception.mdx "PlaywrightException"
[Request]: /api/class-request.mdx "Request"
[Response]: /api/class-response.mdx "Response"
[Route]: /api/class-route.mdx "Route"
Expand Down
2 changes: 2 additions & 0 deletions dotnet/docs/api/class-clock.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,9 @@ await page.Clock.SetSystemTimeAsync("2020-02-02");
[Page]: /api/class-page.mdx "Page"
[PageAssertions]: /api/class-pageassertions.mdx "PageAssertions"
[Playwright]: /api/class-playwright.mdx "Playwright"
[PlaywrightAssertionException]: /api/class-playwrightassertionexception.mdx "PlaywrightAssertionException"
[PlaywrightAssertions]: /api/class-playwrightassertions.mdx "PlaywrightAssertions"
[PlaywrightException]: /api/class-playwrightexception.mdx "PlaywrightException"
[Request]: /api/class-request.mdx "Request"
[Response]: /api/class-response.mdx "Response"
[Route]: /api/class-route.mdx "Route"
Expand Down
2 changes: 2 additions & 0 deletions dotnet/docs/api/class-consolemessage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,9 @@ ConsoleMessage.Worker
[Page]: /api/class-page.mdx "Page"
[PageAssertions]: /api/class-pageassertions.mdx "PageAssertions"
[Playwright]: /api/class-playwright.mdx "Playwright"
[PlaywrightAssertionException]: /api/class-playwrightassertionexception.mdx "PlaywrightAssertionException"
[PlaywrightAssertions]: /api/class-playwrightassertions.mdx "PlaywrightAssertions"
[PlaywrightException]: /api/class-playwrightexception.mdx "PlaywrightException"
[Request]: /api/class-request.mdx "Request"
[Response]: /api/class-response.mdx "Response"
[Route]: /api/class-route.mdx "Route"
Expand Down
2 changes: 2 additions & 0 deletions dotnet/docs/api/class-credentials.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,9 @@ await Credentials.InstallAsync();
[Page]: /api/class-page.mdx "Page"
[PageAssertions]: /api/class-pageassertions.mdx "PageAssertions"
[Playwright]: /api/class-playwright.mdx "Playwright"
[PlaywrightAssertionException]: /api/class-playwrightassertionexception.mdx "PlaywrightAssertionException"
[PlaywrightAssertions]: /api/class-playwrightassertions.mdx "PlaywrightAssertions"
[PlaywrightException]: /api/class-playwrightexception.mdx "PlaywrightException"
[Request]: /api/class-request.mdx "Request"
[Response]: /api/class-response.mdx "Response"
[Route]: /api/class-route.mdx "Route"
Expand Down
2 changes: 2 additions & 0 deletions dotnet/docs/api/class-debugger.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,9 @@ Debugger.PausedStateChanged += async (_, void) => {};
[Page]: /api/class-page.mdx "Page"
[PageAssertions]: /api/class-pageassertions.mdx "PageAssertions"
[Playwright]: /api/class-playwright.mdx "Playwright"
[PlaywrightAssertionException]: /api/class-playwrightassertionexception.mdx "PlaywrightAssertionException"
[PlaywrightAssertions]: /api/class-playwrightassertions.mdx "PlaywrightAssertions"
[PlaywrightException]: /api/class-playwrightexception.mdx "PlaywrightException"
[Request]: /api/class-request.mdx "Request"
[Response]: /api/class-response.mdx "Response"
[Route]: /api/class-route.mdx "Route"
Expand Down
2 changes: 2 additions & 0 deletions dotnet/docs/api/class-dialog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,9 @@ Dialog.Type
[Page]: /api/class-page.mdx "Page"
[PageAssertions]: /api/class-pageassertions.mdx "PageAssertions"
[Playwright]: /api/class-playwright.mdx "Playwright"
[PlaywrightAssertionException]: /api/class-playwrightassertionexception.mdx "PlaywrightAssertionException"
[PlaywrightAssertions]: /api/class-playwrightassertions.mdx "PlaywrightAssertions"
[PlaywrightException]: /api/class-playwrightexception.mdx "PlaywrightException"
[Request]: /api/class-request.mdx "Request"
[Response]: /api/class-response.mdx "Response"
[Route]: /api/class-route.mdx "Route"
Expand Down
2 changes: 2 additions & 0 deletions dotnet/docs/api/class-download.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,9 @@ Download.Url
[Page]: /api/class-page.mdx "Page"
[PageAssertions]: /api/class-pageassertions.mdx "PageAssertions"
[Playwright]: /api/class-playwright.mdx "Playwright"
[PlaywrightAssertionException]: /api/class-playwrightassertionexception.mdx "PlaywrightAssertionException"
[PlaywrightAssertions]: /api/class-playwrightassertions.mdx "PlaywrightAssertions"
[PlaywrightException]: /api/class-playwrightexception.mdx "PlaywrightException"
[Request]: /api/class-request.mdx "Request"
[Response]: /api/class-response.mdx "Response"
[Route]: /api/class-route.mdx "Route"
Expand Down
2 changes: 2 additions & 0 deletions dotnet/docs/api/class-elementhandle.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1630,7 +1630,9 @@ This method does not work across navigations, use [Page.WaitForSelectorAsync()](
[Page]: /api/class-page.mdx "Page"
[PageAssertions]: /api/class-pageassertions.mdx "PageAssertions"
[Playwright]: /api/class-playwright.mdx "Playwright"
[PlaywrightAssertionException]: /api/class-playwrightassertionexception.mdx "PlaywrightAssertionException"
[PlaywrightAssertions]: /api/class-playwrightassertions.mdx "PlaywrightAssertions"
[PlaywrightException]: /api/class-playwrightexception.mdx "PlaywrightException"
[Request]: /api/class-request.mdx "Request"
[Response]: /api/class-response.mdx "Response"
[Route]: /api/class-route.mdx "Route"
Expand Down
2 changes: 2 additions & 0 deletions dotnet/docs/api/class-filechooser.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@ await FileChooser.SetFilesAsync(files, options);
[Page]: /api/class-page.mdx "Page"
[PageAssertions]: /api/class-pageassertions.mdx "PageAssertions"
[Playwright]: /api/class-playwright.mdx "Playwright"
[PlaywrightAssertionException]: /api/class-playwrightassertionexception.mdx "PlaywrightAssertionException"
[PlaywrightAssertions]: /api/class-playwrightassertions.mdx "PlaywrightAssertions"
[PlaywrightException]: /api/class-playwrightexception.mdx "PlaywrightException"
[Request]: /api/class-request.mdx "Request"
[Response]: /api/class-response.mdx "Response"
[Route]: /api/class-route.mdx "Route"
Expand Down
2 changes: 2 additions & 0 deletions dotnet/docs/api/class-formdata.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,9 @@ FormData.Set(name, value);
[Page]: /api/class-page.mdx "Page"
[PageAssertions]: /api/class-pageassertions.mdx "PageAssertions"
[Playwright]: /api/class-playwright.mdx "Playwright"
[PlaywrightAssertionException]: /api/class-playwrightassertionexception.mdx "PlaywrightAssertionException"
[PlaywrightAssertions]: /api/class-playwrightassertions.mdx "PlaywrightAssertions"
[PlaywrightException]: /api/class-playwrightexception.mdx "PlaywrightException"
[Request]: /api/class-request.mdx "Request"
[Response]: /api/class-response.mdx "Response"
[Route]: /api/class-route.mdx "Route"
Expand Down
4 changes: 4 additions & 0 deletions dotnet/docs/api/class-frame.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,8 @@ await page.GetByAltText("Playwright logo").ClickAsync();

Allows locating input elements by the text of the associated `<label>` or `aria-labelledby` element, or by the `aria-label` attribute.

Associated `<label>` elements are also supported for form-associated custom elements.

**Usage**

For example, this method will find inputs by label "Username" and "Password" in the following DOM:
Expand Down Expand Up @@ -2783,7 +2785,9 @@ await Frame.WaitForTimeoutAsync(timeout);
[Page]: /api/class-page.mdx "Page"
[PageAssertions]: /api/class-pageassertions.mdx "PageAssertions"
[Playwright]: /api/class-playwright.mdx "Playwright"
[PlaywrightAssertionException]: /api/class-playwrightassertionexception.mdx "PlaywrightAssertionException"
[PlaywrightAssertions]: /api/class-playwrightassertions.mdx "PlaywrightAssertions"
[PlaywrightException]: /api/class-playwrightexception.mdx "PlaywrightException"
[Request]: /api/class-request.mdx "Request"
[Response]: /api/class-response.mdx "Response"
[Route]: /api/class-route.mdx "Route"
Expand Down
4 changes: 4 additions & 0 deletions dotnet/docs/api/class-framelocator.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ await page.GetByAltText("Playwright logo").ClickAsync();

Allows locating input elements by the text of the associated `<label>` or `aria-labelledby` element, or by the `aria-label` attribute.

Associated `<label>` elements are also supported for form-associated custom elements.

**Usage**

For example, this method will find inputs by label "Username" and "Password" in the following DOM:
Expand Down Expand Up @@ -581,7 +583,9 @@ FrameLocator.Nth(index);
[Page]: /api/class-page.mdx "Page"
[PageAssertions]: /api/class-pageassertions.mdx "PageAssertions"
[Playwright]: /api/class-playwright.mdx "Playwright"
[PlaywrightAssertionException]: /api/class-playwrightassertionexception.mdx "PlaywrightAssertionException"
[PlaywrightAssertions]: /api/class-playwrightassertions.mdx "PlaywrightAssertions"
[PlaywrightException]: /api/class-playwrightexception.mdx "PlaywrightException"
[Request]: /api/class-request.mdx "Request"
[Response]: /api/class-response.mdx "Response"
[Route]: /api/class-route.mdx "Route"
Expand Down
2 changes: 2 additions & 0 deletions dotnet/docs/api/class-jshandle.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,9 @@ await JsHandle.JsonValueAsync();
[Page]: /api/class-page.mdx "Page"
[PageAssertions]: /api/class-pageassertions.mdx "PageAssertions"
[Playwright]: /api/class-playwright.mdx "Playwright"
[PlaywrightAssertionException]: /api/class-playwrightassertionexception.mdx "PlaywrightAssertionException"
[PlaywrightAssertions]: /api/class-playwrightassertions.mdx "PlaywrightAssertions"
[PlaywrightException]: /api/class-playwrightexception.mdx "PlaywrightException"
[Request]: /api/class-request.mdx "Request"
[Response]: /api/class-response.mdx "Response"
[Route]: /api/class-route.mdx "Route"
Expand Down
2 changes: 2 additions & 0 deletions dotnet/docs/api/class-keyboard.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,9 @@ await Keyboard.UpAsync(key);
[Page]: /api/class-page.mdx "Page"
[PageAssertions]: /api/class-pageassertions.mdx "PageAssertions"
[Playwright]: /api/class-playwright.mdx "Playwright"
[PlaywrightAssertionException]: /api/class-playwrightassertionexception.mdx "PlaywrightAssertionException"
[PlaywrightAssertions]: /api/class-playwrightassertions.mdx "PlaywrightAssertions"
[PlaywrightException]: /api/class-playwrightexception.mdx "PlaywrightException"
[Request]: /api/class-request.mdx "Request"
[Response]: /api/class-response.mdx "Response"
[Route]: /api/class-route.mdx "Route"
Expand Down
4 changes: 4 additions & 0 deletions dotnet/docs/api/class-locator.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1119,6 +1119,8 @@ await page.GetByAltText("Playwright logo").ClickAsync();

Allows locating input elements by the text of the associated `<label>` or `aria-labelledby` element, or by the `aria-label` attribute.

Associated `<label>` elements are also supported for form-associated custom elements.

**Usage**

For example, this method will find inputs by label "Username" and "Password" in the following DOM:
Expand Down Expand Up @@ -2771,7 +2773,9 @@ To press a special key, like `Control` or `ArrowDown`, use [Locator.PressAsync()
[Page]: /api/class-page.mdx "Page"
[PageAssertions]: /api/class-pageassertions.mdx "PageAssertions"
[Playwright]: /api/class-playwright.mdx "Playwright"
[PlaywrightAssertionException]: /api/class-playwrightassertionexception.mdx "PlaywrightAssertionException"
[PlaywrightAssertions]: /api/class-playwrightassertions.mdx "PlaywrightAssertions"
[PlaywrightException]: /api/class-playwrightexception.mdx "PlaywrightException"
[Request]: /api/class-request.mdx "Request"
[Response]: /api/class-response.mdx "Response"
[Route]: /api/class-route.mdx "Route"
Expand Down
2 changes: 2 additions & 0 deletions dotnet/docs/api/class-locatorassertions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,9 @@ await Expect(locator).Not.ToContainTextAsync("error");
[Page]: /api/class-page.mdx "Page"
[PageAssertions]: /api/class-pageassertions.mdx "PageAssertions"
[Playwright]: /api/class-playwright.mdx "Playwright"
[PlaywrightAssertionException]: /api/class-playwrightassertionexception.mdx "PlaywrightAssertionException"
[PlaywrightAssertions]: /api/class-playwrightassertions.mdx "PlaywrightAssertions"
[PlaywrightException]: /api/class-playwrightexception.mdx "PlaywrightException"
[Request]: /api/class-request.mdx "Request"
[Response]: /api/class-response.mdx "Response"
[Route]: /api/class-route.mdx "Route"
Expand Down
2 changes: 2 additions & 0 deletions dotnet/docs/api/class-mouse.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,9 @@ await Mouse.WheelAsync(deltaX, deltaY);
[Page]: /api/class-page.mdx "Page"
[PageAssertions]: /api/class-pageassertions.mdx "PageAssertions"
[Playwright]: /api/class-playwright.mdx "Playwright"
[PlaywrightAssertionException]: /api/class-playwrightassertionexception.mdx "PlaywrightAssertionException"
[PlaywrightAssertions]: /api/class-playwrightassertions.mdx "PlaywrightAssertions"
[PlaywrightException]: /api/class-playwrightexception.mdx "PlaywrightException"
[Request]: /api/class-request.mdx "Request"
[Response]: /api/class-response.mdx "Response"
[Route]: /api/class-route.mdx "Route"
Expand Down
4 changes: 4 additions & 0 deletions dotnet/docs/api/class-page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -926,6 +926,8 @@ await page.GetByAltText("Playwright logo").ClickAsync();

Allows locating input elements by the text of the associated `<label>` or `aria-labelledby` element, or by the `aria-label` attribute.

Associated `<label>` elements are also supported for form-associated custom elements.

**Usage**

For example, this method will find inputs by label "Username" and "Password" in the following DOM:
Expand Down Expand Up @@ -5209,7 +5211,9 @@ await page.WaitForTimeoutAsync(1000);
[Page]: /api/class-page.mdx "Page"
[PageAssertions]: /api/class-pageassertions.mdx "PageAssertions"
[Playwright]: /api/class-playwright.mdx "Playwright"
[PlaywrightAssertionException]: /api/class-playwrightassertionexception.mdx "PlaywrightAssertionException"
[PlaywrightAssertions]: /api/class-playwrightassertions.mdx "PlaywrightAssertions"
[PlaywrightException]: /api/class-playwrightexception.mdx "PlaywrightException"
[Request]: /api/class-request.mdx "Request"
[Response]: /api/class-response.mdx "Response"
[Route]: /api/class-route.mdx "Route"
Expand Down
2 changes: 2 additions & 0 deletions dotnet/docs/api/class-pageassertions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,9 @@ await Expect(Page).Not.ToHaveURLAsync("error");
[Page]: /api/class-page.mdx "Page"
[PageAssertions]: /api/class-pageassertions.mdx "PageAssertions"
[Playwright]: /api/class-playwright.mdx "Playwright"
[PlaywrightAssertionException]: /api/class-playwrightassertionexception.mdx "PlaywrightAssertionException"
[PlaywrightAssertions]: /api/class-playwrightassertions.mdx "PlaywrightAssertions"
[PlaywrightException]: /api/class-playwrightexception.mdx "PlaywrightException"
[Request]: /api/class-request.mdx "Request"
[Response]: /api/class-response.mdx "Response"
[Route]: /api/class-route.mdx "Route"
Expand Down
2 changes: 2 additions & 0 deletions dotnet/docs/api/class-playwright.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,9 @@ Playwright.Webkit
[Page]: /api/class-page.mdx "Page"
[PageAssertions]: /api/class-pageassertions.mdx "PageAssertions"
[Playwright]: /api/class-playwright.mdx "Playwright"
[PlaywrightAssertionException]: /api/class-playwrightassertionexception.mdx "PlaywrightAssertionException"
[PlaywrightAssertions]: /api/class-playwrightassertions.mdx "PlaywrightAssertions"
[PlaywrightException]: /api/class-playwrightexception.mdx "PlaywrightException"
[Request]: /api/class-request.mdx "Request"
[Response]: /api/class-response.mdx "Response"
[Route]: /api/class-route.mdx "Route"
Expand Down
Loading
Loading