Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

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

Harikrishna953f96b49397
diff --git a/docs/src/input.md b/docs/src/input.md
index 1423bd115d..08a33b3bcd 100644
--- a/docs/src/input.md
+++ b/docs/src/input.md
@@ -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