I want to enable camera and mic in automation testing on emulator. Please let me know how I can do this.
Hi Brett,
We need to define chrome capabilities to enable the fake camera and mic.
ChromeOptions optionsC = new ChromeOptions();
optionsC.addArguments(Arrays.asList("disable-infobars", "ignore-certificate-errors", "start-maximized","use-fake-ui-for-media-stream"));