Skip to content

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

docs(api): add assertThat aliases for java (#9761)

Yury Semikhatskyada7f4be2330
diff --git a/docs/src/api/class-playwrightassertions.md b/docs/src/api/class-playwrightassertions.md
index cb33be943e..aa83119950 100644
--- a/docs/src/api/class-playwrightassertions.md
+++ b/docs/src/api/class-playwrightassertions.md
@@ -17,6 +17,7 @@ By default, the timeout for assertions is set to 5 seconds.
## method: PlaywrightAssertions.assertThatLocator
* langs: java
+ - alias-java: assertThat
- returns: <[LocatorAssertions]>
Creates a [LocatorAssertions] object for the given [Locator].
@@ -32,6 +33,7 @@ PlaywrightAssertions.assertThat(locator).isVisible();
## method: PlaywrightAssertions.assertThatPage
* langs: java
+ - alias-java: assertThat
- returns: <[PageAssertions]>
Creates a [PageAssertions] object for the given [Page].