diff --git a/docs/api.md b/docs/api.md index 3d913f3e16600..604527679fd6e 100644 --- a/docs/api.md +++ b/docs/api.md @@ -3230,7 +3230,7 @@ await elementHandle.press('Enter'); ``` #### elementHandle.uploadFile(...filePaths) -- `...filePaths` <...[string]> Sets the value of the file input these paths. If some of the `filePaths` are relative paths, then they are resolved relative to [current working directory](https://nodejs.org/api/process.html#process_process_cwd). +- `...filePaths` <...[string]> Sets the value of the file input to these paths. If some of the `filePaths` are relative paths, then they are resolved relative to the [current working directory](https://nodejs.org/api/process.html#process_process_cwd). - returns: <[Promise]> This method expects `elementHandle` to point to an [input element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input).