PROXY_GUIDELINE.md Updates by Changyu Pang from Tsinghua (#41)
* fix proxy readme * Add logs directory with .gitignore * Update PROXY_GUIDELINE.md
This commit is contained in:
@@ -164,5 +164,17 @@ vmrun -T ws snapshot /path/to/vmx/file snapshot_name
|
||||
```
|
||||
|
||||
```python
|
||||
env = DesktopEnv(snapshot_name="snapshot_name")
|
||||
# Modify snapshot_name in "desktop_env/envs/desktop_env.py", line 50
|
||||
snapshot_name: str = "snapshot_name",
|
||||
```
|
||||
|
||||
#### 4. Modify chrome startup command
|
||||
|
||||
By searching `"--remote-debugging-port=1337"` , you can find all the places that involve Chrome startup commands, and add parameter `--proxy-server=host_IP:port`
|
||||
```python
|
||||
# example
|
||||
# before
|
||||
"command": ["google-chrome","--remote-debugging-port=1337"]
|
||||
# after
|
||||
"command": ["google-chrome","--remote-debugging-port=1337","--proxy-server=host_IP:port"]
|
||||
```
|
||||
Reference in New Issue
Block a user