diff --git a/docs/api.md b/docs/api.md index df5791d871..5067a33eba 100644 --- a/docs/api.md +++ b/docs/api.md @@ -1302,10 +1302,11 @@ const fs = require('fs'); - `options` <[Object]> - `noWaitAfter` <[boolean]> Actions that initiate navigations are waiting for these navigations to happen and for pages to start loading. You can opt out of waiting via setting this flag. You would only need this option in the exceptional cases such as navigating to inaccessible pages. Defaults to `false`. - `timeout` <[number]> Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed by using the [browserContext.setDefaultTimeout(timeout)](#browsercontextsetdefaulttimeouttimeout) or [page.setDefaultTimeout(timeout)](#pagesetdefaulttimeouttimeout) methods. -- returns: <[Promise]> Promise which resolves when the element matching `selector` is successfully filled. The promise will be rejected if there is no element matching `selector`. +- returns: <[Promise]> -This method focuses the element and triggers an `input` event after filling. -If there's no text ``, `