docs(network): fixed proxy typo with username (#6716)
This commit is contained in:
parent
48b48828cc
commit
88defbd5a6
|
|
@ -77,7 +77,7 @@ Here is an example of a global proxy:
|
||||||
const browser = await chromium.launch({
|
const browser = await chromium.launch({
|
||||||
proxy: {
|
proxy: {
|
||||||
server: 'http://myproxy.com:3128',
|
server: 'http://myproxy.com:3128',
|
||||||
user: 'usr',
|
username: 'usr',
|
||||||
password: 'pwd'
|
password: 'pwd'
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
@ -93,7 +93,7 @@ Browser browser = chromium.launch(new BrowserType.LaunchOptions()
|
||||||
```python async
|
```python async
|
||||||
browser = await chromium.launch(proxy={
|
browser = await chromium.launch(proxy={
|
||||||
"server": "http://myproxy.com:3128",
|
"server": "http://myproxy.com:3128",
|
||||||
"user": "usr",
|
"username": "usr",
|
||||||
"password": "pwd"
|
"password": "pwd"
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|
@ -101,7 +101,7 @@ browser = await chromium.launch(proxy={
|
||||||
```python sync
|
```python sync
|
||||||
browser = chromium.launch(proxy={
|
browser = chromium.launch(proxy={
|
||||||
"server": "http://myproxy.com:3128",
|
"server": "http://myproxy.com:3128",
|
||||||
"user": "usr",
|
"username": "usr",
|
||||||
"password": "pwd"
|
"password": "pwd"
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue