diff --git a/PROXY_GUIDELINE.md b/PROXY_GUIDELINE.md index a1770db..913ddda 100644 --- a/PROXY_GUIDELINE.md +++ b/PROXY_GUIDELINE.md @@ -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"] +``` \ No newline at end of file diff --git a/logs/.gitignore b/logs/.gitignore new file mode 100644 index 0000000..21beb45 Binary files /dev/null and b/logs/.gitignore differ