docs: fix dead link for element handle (#827)

This commit is contained in:
aesyondu 2020-02-04 12:27:54 +08:00 committed by GitHub
parent 05d4746eb5
commit 3ef23133a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.