Skip to content

Commit 2942e1f

Browse files
committed
add new paragraph
1 parent 569a6b8 commit 2942e1f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/content/partials/browser-rendering/single-page-application.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ When scraping a Single Page Application (SPA) with dynamic content, you must ens
44

55
:::note
66
Use `waitForSelector` to wait for a specific element to appear on the page. This is often the most reliable and efficient method.
7+
78
Use `goToOptions` with `"networkidle0"` or `"networkidle2"`
89
- `"networkidle0"` waits for all network connections to be idle, meaning all resources (including asynchronous JavaScript) have been loaded
910
- `"networkidle2"` is a more efficient alternative that waits until there are only two or fewer ongoing network connections

0 commit comments

Comments
 (0)