docs: change default return type of Response.finished to string (#5261)

This commit is contained in:
Yury Semikhatsky 2021-02-02 12:18:05 -08:00 committed by GitHub
parent c51a1f96e5
commit e0f41bf1fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View file

@ -8,7 +8,7 @@
Returns the buffer with response body.
## async method: Response.finished
- returns: <[null]|[Error]>
- returns: <[null]|[string]>
Waits for this response to finish, returns failure error if request failed.

View file

@ -1,3 +1,7 @@
## async method: Response.finished
* langs: js
- returns: <[null]|[Error]>
### param: ElementHandle.evalOnSelector.expression = %%-js-evalonselector-pagefunction-%%
### param: ElementHandle.evalOnSelectorAll.expression = %%-js-evalonselectorall-pagefunction-%%
### param: Frame.evalOnSelector.expression = %%-js-evalonselector-pagefunction-%%

View file

@ -85,10 +85,6 @@ Raw script content.
* langs: python
- returns: <[null]|[string]>
## async method: Response.finished
* langs: python
- returns: <[null]|[string]>
## async method: Page.waitForEvent
* langs: python
- returns: <[EventContextManager]>