jibri
jibri copied to clipboard
Chrome is being controlled by automated test software
Hello everyone and congratulations to the developers and contributors of this project.
I want to bring to the developers' attention this issue occurring in the implementation of the jibri recordings and live stream using chrome and chromedriver:
I don't consider this issue to be a duplicate for #289 I don't find this solution optimal either: https://community.jitsi.org/t/chrome-is-being-controlled-by-automated-software-message-at-recorded-video/52365/4
The solution would be to call the chromedriver with the respective options to overcome this warning, included by google in the recent versions of chrome. This https://help.applitools.com/hc/en-us/articles/360007189411--Chrome-is-being-controlled-by-automated-test-software-notification describe how to disable the warning.
Example for Java
ChromeOptions options = new ChromeOptions(); options.setExperimentalOption("excludeSwitches", new String[]{"enable-automation"}); WebDriver driver = new ChromeDriver(options);
Example for Javascript
var chromeCapabilities=webdriver.Capabilities.chrome() var chromeOptions = { 'excludeSwitches': ['enable-automation'] }; chromeCapabilities.set('chromeOptions', chromeOptions); var driver = new webdriver.Builder() .withCapabilities(chromeCapabilities) .build();
@danionescu2007 The solution I posted in #289 works for the latest versions of Chrome and Jibri - you just have to make sure there is only the one entry in /etc/opt/chrome/policies/managed/managed_policies.json and that the entry is formatted properly.
See this post for the solution: https://community.jitsi.org/t/chrome-is-being-controlled-by-automated-software-message-at-recorded-video/52365