Skip to content

Commit

Permalink
docs: change default return type of Response.finished to string (#5261)
Browse files Browse the repository at this point in the history
  • Loading branch information
yury-s committed Feb 2, 2021
1 parent c51a1f9 commit e0f41bf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/src/api/class-response.md
Expand Up @@ -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.

Expand Down
4 changes: 4 additions & 0 deletions docs/src/api/javascript.md
@@ -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-%%
Expand Down
4 changes: 0 additions & 4 deletions docs/src/api/python.md
Expand Up @@ -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]>
Expand Down

0 comments on commit e0f41bf

Please sign in to comment.