diff --git a/backend/remotebrowser/runner.go b/backend/remotebrowser/runner.go index 611e504..13ceb7e 100644 --- a/backend/remotebrowser/runner.go +++ b/backend/remotebrowser/runner.go @@ -517,6 +517,10 @@ func (r *Runner) Run(ctx context.Context) error { // Prevents navigator.webdriver from being set to true, which is // the primary signal sites like Gmail use to detect automation. Set("disable-blink-features", "AutomationControlled"). + // Disables the HID/USB device-detection service. Without udev (common + // in containers), Chrome's HidServiceLinux crashes with SIGSEGV when + // it tries to enumerate devices via a udev handle it failed to open. + Set("disable-features", "UsbDeviceDetection"). Env(chromeEnv( "XDG_CONFIG_HOME="+filepath.Join(rootDir, "config"), "XDG_CACHE_HOME="+filepath.Join(rootDir, "cache"),