docs: committed navigation (#10023)
This commit is contained in:
parent
1a577ac344
commit
4c53824235
|
|
@ -12,10 +12,11 @@ to wait for page navigations and loading to complete.
|
||||||
|
|
||||||
Playwright splits the process of showing a new document in a page into **navigation** and **loading**.
|
Playwright splits the process of showing a new document in a page into **navigation** and **loading**.
|
||||||
|
|
||||||
**Navigations** can be initiated by changing the page URL or by interacting with the page (e.g., clicking a link).
|
**Navigation starts** by changing the page URL or by interacting with the page (e.g., clicking a link).
|
||||||
Navigation ends when response headers have been parsed and session history is updated. The navigation intent may be
|
The navigation intent may be canceled, for example, on hitting an unresolved DNS address or transformed into a file download.
|
||||||
canceled, for example, on hitting an unresolved DNS address or transformed into a file download. Only after the
|
|
||||||
navigation succeeds, page starts **loading** the document.
|
**Navigation is committed** when the response headers have been parsed and session history is updated. Only after the
|
||||||
|
navigation succeeds (is committed), the page starts **loading** the document.
|
||||||
|
|
||||||
**Loading** covers getting the remaining response body over the network, parsing, executing the scripts and firing load
|
**Loading** covers getting the remaining response body over the network, parsing, executing the scripts and firing load
|
||||||
events:
|
events:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue