Skip to content
Discussion options

You must be logged in to vote

Yes. Create a headless profile with browser profiles create ci --browser chromium --headless. In Docker, Chromium's sandbox needs user namespaces, which the default seccomp profile blocks, so run the container with --security-opt seccomp=unconfined or --cap-add SYS_ADMIN. Chromium then starts with its sandbox on, and Browser CLI keeps it that way.

To test your own app, point it at your dev server: browser start --url http://localhost:3000. The browser runs on your machine, so it reaches local apps with no tunnel.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bisma-nawazz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant