mirror of
https://github.com/microsoft/playwright.git
synced 2024-11-29 01:53:54 +03:00
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**.
|
||||
|
||||
**Navigations** can be initiated 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
|
||||
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 starts** by changing the page URL or by interacting with the page (e.g., clicking a link).
|
||||
The navigation intent may be canceled, for example, on hitting an unresolved DNS address or transformed into a file download.
|
||||
|
||||
**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
|
||||
events:
|
||||
|
Loading…
Reference in New Issue
Block a user