How to pass the fake camera in the capabilities in Java?
Hi Joe,
You can use the below capabilities code snippet:
ChromeOptions options = new ChromeOptions();
options.addArguments("use-fake-device-for-media-stream");
options.addArguments("use-fake-ui-for-media-stream");
caps.setCapability(ChromeOptions.CAPABILITY, options);
Hope this helps!