You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Summary
- **refactor: Improve browser configuration with stealth mode and
support for multiple engines**
- **docs: Update Dockerfile and configuration for browser selection and
Xvfb support**
- **chore: Update ADL CLI version to 0.23.9 in generated files**
---------
Signed-off-by: Eden Reich <eden.reich@gmail.com>
-`AGENT_NAME` - Agent name (default: `browser-agent`)
178
195
-`AGENT_DESCRIPTION` - Agent description (default: `AI agent for browser automation and web testing using Playwright`)
196
+
-`BROWSER_ENGINE` - Browser to install (`chromium`, `firefox`, `webkit`, or `all`) (default: `chromium`)
179
197
180
198
These values are embedded into the binary at build time using linker flags, making them accessible at runtime without requiring environment variables.
181
199
200
+
#### Xvfb Configuration
201
+
202
+
By default, the browser runs in native headless mode. For cases requiring a virtual display (e.g., extensions, specific rendering features), you can enable Xvfb:
203
+
204
+
```bash
205
+
# Run with Xvfb enabled
206
+
docker run -p 8080:8080 \
207
+
-e BROWSER_XVFB_ENABLED=true \
208
+
browser-agent
209
+
210
+
# Customize Xvfb display settings
211
+
docker run -p 8080:8080 \
212
+
-e BROWSER_XVFB_ENABLED=true \
213
+
-e BROWSER_XVFB_DISPLAY=:99 \
214
+
-e BROWSER_XVFB_SCREEN_RESOLUTION=1920x1080x24 \
215
+
browser-agent
216
+
```
217
+
218
+
**Security Note:** Xvfb is configured without the `-ac` flag (access control disabled) for security. The X server uses `-nolisten tcp` to prevent network access.
0 commit comments