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 dead link for element handle (#827)

aesyondu3ef23133a6bc
diff --git a/docs/api.md b/docs/api.md
index 30704f8bcd..5468e67218 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -2176,7 +2176,7 @@ const { chromium } = require('playwright'); // Or 'firefox' or 'webkit'.
})();
```
-ElementHandle prevents DOM element from garbage collection unless the handle is [disposed](#elementhandledispose). ElementHandles are auto-disposed when their origin frame gets navigated.
+ElementHandle prevents DOM element from garbage collection unless the handle is [disposed](#jshandledispose). ElementHandles are auto-disposed when their origin frame gets navigated.
ElementHandle instances can be used as arguments in [`page.$eval()`](#pageevalselector-pagefunction-args) and [`page.evaluate()`](#pageevaluatepagefunction-args) methods.