Merge remote-tracking branch 'origin/main'

This commit is contained in:
Timothyxxx
2024-06-02 01:22:50 +08:00
2 changed files with 13 additions and 1 deletions

View File

@@ -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"]
```

BIN
logs/.gitignore vendored Normal file

Binary file not shown.