docs: fix method name in java example (#14036)

This commit is contained in:
Yury Semikhatsky 2022-05-09 09:18:19 -07:00 committed by GitHub
parent 46e82e8fea
commit 3dc5a7c05a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -576,7 +576,7 @@ await expect(locator).toBeVisible();
```
```java
assertThat(page.locator(".my-element")).toBeVisible();
assertThat(page.locator(".my-element")).isVisible();
```
```python async