diff --git a/docs/api.md b/docs/api.md index 29a4a605df3..78454d0ead9 100644 --- a/docs/api.md +++ b/docs/api.md @@ -1315,6 +1315,8 @@ puppeteer.launch().then(async browser => { ElementHandle prevents DOM element from garbage collection unless the handle is [disposed](#elementhandledispose). 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. + #### elementHandle.click([options]) - `options` <[Object]> - `button` <[string]> `left`, `right`, or `middle`, defaults to `left`.