Skip to content

Commit 88defbd

Browse files
authored
docs(network): fixed proxy typo with username (#6716)
1 parent 48b4882 commit 88defbd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/src/network.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Here is an example of a global proxy:
7777
const browser = await chromium.launch({
7878
proxy: {
7979
server: 'http://myproxy.com:3128',
80-
user: 'usr',
80+
username: 'usr',
8181
password: 'pwd'
8282
}
8383
});
@@ -93,15 +93,15 @@ Browser browser = chromium.launch(new BrowserType.LaunchOptions()
9393
```python async
9494
browser = await chromium.launch(proxy={
9595
"server": "http://myproxy.com:3128",
96-
"user": "usr",
96+
"username": "usr",
9797
"password": "pwd"
9898
})
9999
```
100100

101101
```python sync
102102
browser = chromium.launch(proxy={
103103
"server": "http://myproxy.com:3128",
104-
"user": "usr",
104+
"username": "usr",
105105
"password": "pwd"
106106
})
107107
```

0 commit comments

Comments
 (0)