docs(api): add assertThat aliases for java (#9761)
This commit is contained in:
parent
2d4db7a6f0
commit
ada7f4be23
|
|
@ -17,6 +17,7 @@ By default, the timeout for assertions is set to 5 seconds.
|
||||||
|
|
||||||
## method: PlaywrightAssertions.assertThatLocator
|
## method: PlaywrightAssertions.assertThatLocator
|
||||||
* langs: java
|
* langs: java
|
||||||
|
- alias-java: assertThat
|
||||||
- returns: <[LocatorAssertions]>
|
- returns: <[LocatorAssertions]>
|
||||||
|
|
||||||
Creates a [LocatorAssertions] object for the given [Locator].
|
Creates a [LocatorAssertions] object for the given [Locator].
|
||||||
|
|
@ -32,6 +33,7 @@ PlaywrightAssertions.assertThat(locator).isVisible();
|
||||||
|
|
||||||
## method: PlaywrightAssertions.assertThatPage
|
## method: PlaywrightAssertions.assertThatPage
|
||||||
* langs: java
|
* langs: java
|
||||||
|
- alias-java: assertThat
|
||||||
- returns: <[PageAssertions]>
|
- returns: <[PageAssertions]>
|
||||||
|
|
||||||
Creates a [PageAssertions] object for the given [Page].
|
Creates a [PageAssertions] object for the given [Page].
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue