How to handle microphone pop up on Chrome with JS-TestCafe?

How can I handle microphone pop up on Chrome with JS-TestCafe?

Hello Tim,

To handle microphone pop up on Chrome with JS-TestCafe, add the below command under Chrome options:

ChromeOptions options = new ChromeOptions();
    options.addArguments("use-fake-ui-for-media-stream")