wirepair / gcd

Unofficial implementation of the Google Chrome Remote Debugger in Go
MIT License
186 stars 31 forks source link

Add additional arguments to start chrome process #16

Closed schjan closed 7 years ago

schjan commented 7 years ago

I want to start Chrome with --headless or some other args in some environments. Because args are optional, it's not a breaking change.

wirepair commented 7 years ago

I'm not sure I understand, gcd already supports flags (AddFlags) and environment variables (AddEnvironmentVars) see https://github.com/wirepair/gcd/blob/master/gcd_test.go#L449 for example usage.