docs: declare expect_navigation as returning Response (#5020)
This commit is contained in:
parent
ff20b9d107
commit
5dcb7bb290
|
|
@ -224,7 +224,7 @@ Shortcut for main frame's [`method: Frame.expectNavigation`].
|
||||||
|
|
||||||
## async method: Frame.expectNavigation
|
## async method: Frame.expectNavigation
|
||||||
* langs: python
|
* langs: python
|
||||||
- returns: <[EventContextManager]>
|
- returns: <[EventContextManager[Response]]>
|
||||||
|
|
||||||
Performs action and waits for the next navigation. In case of multiple redirects, the navigation will resolve with
|
Performs action and waits for the next navigation. In case of multiple redirects, the navigation will resolve with
|
||||||
the response of the last redirect. In case of navigation to a different anchor or navigation due to History API
|
the response of the last redirect. In case of navigation to a different anchor or navigation due to History API
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue