docs: fix the typo error for 'Dragging manually' Java example (#20275)

This commit is contained in:
Harikrishna 2023-01-23 15:25:00 +05:30 committed by GitHub
parent 9f31bcfbab
commit 953f96b493
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -707,9 +707,9 @@ await page.mouse.up();
```java
page.locator("#item-to-be-dragged").hover();
page.mouse.down();
page.mouse().down();
page.locator("#item-to-drop-at").hover();
page.mouse.up();
page.mouse().up();
```
```python async