mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
fix!: deprecate indirect network condition imports (#9074)
This commit is contained in:
@@ -4,6 +4,10 @@ sidebar_label: Page.setOfflineMode
|
||||
|
||||
# Page.setOfflineMode() method
|
||||
|
||||
Sets the network connection to offline.
|
||||
|
||||
It does not change the parameters used in [Page.emulateNetworkConditions()](./puppeteer.page.emulatenetworkconditions.md)
|
||||
|
||||
**Signature:**
|
||||
|
||||
```typescript
|
||||
@@ -21,7 +25,3 @@ class Page {
|
||||
**Returns:**
|
||||
|
||||
Promise<void>
|
||||
|
||||
## Remarks
|
||||
|
||||
NOTE: while this method sets the network connection to offline, it does not change the parameters used in \[page.emulateNetworkConditions(networkConditions)\] (\#pageemulatenetworkconditionsnetworkconditions)
|
||||
|
||||
Reference in New Issue
Block a user