mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
docs: fix method name in java example (#14036)
This commit is contained in:
parent
46e82e8fea
commit
3dc5a7c05a
@ -576,7 +576,7 @@ await expect(locator).toBeVisible();
|
|||||||
```
|
```
|
||||||
|
|
||||||
```java
|
```java
|
||||||
assertThat(page.locator(".my-element")).toBeVisible();
|
assertThat(page.locator(".my-element")).isVisible();
|
||||||
```
|
```
|
||||||
|
|
||||||
```python async
|
```python async
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user