As it is in .NET: "excludedArguments": [ "enable-automation" ], e.g. private void SetEdgeExcludedArguments(EdgeOptions options) { options.AddExcludedArguments(BrowserExcludedArguments); } in Java would be options.setExperimentalOption("excludeSwitches",Collections.singletonList("enable-automation")); Also consider designing a way to set experimental options e.g. when set capability failed