I have this simple code in a test chrome extension
chrome.browserAction.onClicked.addListener( () => { chrome.tabCapture.capture({video: false, audio: