diff --git a/docs/src/api/class-elementhandle.md b/docs/src/api/class-elementhandle.md index b34bf00572..8d87a44623 100644 --- a/docs/src/api/class-elementhandle.md +++ b/docs/src/api/class-elementhandle.md @@ -751,9 +751,9 @@ When all steps combined have not finished during the specified [`option: timeout ## async method: ElementHandle.setInputFiles Sets the value of the file input to these file paths or files. If some of the `filePaths` are relative paths, then they -are resolved relative to the the current working directory. For empty array, clears the selected files. +are resolved relative to the current working directory. For empty array, clears the selected files. -This method expects [`elementHandle`] to point to an +This method expects [ElementHandle] to point to an [input element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input). However, if the element is inside the `