Skip to content

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

docs(java): Remove hardcoded params from SoftAssertions alias (#26531)

uchaganie15db7993ad2
diff --git a/docs/src/api/class-softassertions.md b/docs/src/api/class-softassertions.md
index 5c8d0918e3..01f25c2e57 100644
--- a/docs/src/api/class-softassertions.md
+++ b/docs/src/api/class-softassertions.md
@@ -36,7 +36,7 @@ SoftAssertions softly = SoftAssertions.create();
## method: SoftAssertions.expectLocator
* since: v1.38
* langs:
- - alias-java: assertThat(locator)
+ - alias-java: assertThat
- returns: <[LocatorAssertions]>
Creates a [LocatorAssertions] object for the given [Locator].
@@ -58,7 +58,7 @@ softly.assertThat(locator).isVisible();
## method: SoftAssertions.expectPage
* since: v1.38
* langs:
- - alias-java: assertThat(page)
+ - alias-java: assertThat
- returns: <[PageAssertions]>
Creates a [PageAssertions] object for the given [Page].
@@ -80,7 +80,7 @@ softly.assertThat(page).hasTitle("News");
## method: SoftAssertions.expectAPIResponse
* since: v1.38
* langs:
- - alias-java: assertThat(response)
+ - alias-java: assertThat
- returns: <[APIResponseAssertions]>