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
|
||||
assertThat(page.locator(".my-element")).toBeVisible();
|
||||
assertThat(page.locator(".my-element")).isVisible();
|
||||
```
|
||||
|
||||
```python async
|
||||
|
|
|
|||
Loading…
Reference in a new issue