File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -153,6 +153,14 @@ Please note that network traffic is not cleared when you visit new page. You can
153
153
manually clear the network traffic by calling ` page.driver.clear_network_traffic `
154
154
or ` page.driver.reset `
155
155
156
+ * ` page.driver.wait_for_reload ` unlike ` wait_for_network_idle ` will wait until
157
+ the whole page is reloaded or raise a timeout error. It's useful when you know
158
+ that for example after clicking autocomplete suggestion you expect page to be
159
+ reloaded, you have a few choices - put sleep or wait for network idle, but both
160
+ are bad. Sleep makes you wait longer or less than needed, network idle can
161
+ return earlier even before the whole page is started to reload. Here's the
162
+ rescue.
163
+
156
164
157
165
## Manipulating cookies
158
166
You can’t perform that action at this time.
0 commit comments