TLDR: I want to suggest (or contribute if possible) the ability to share system/tab audio via a argument so I can automatically enable it when I run custom driver scripts like Selenium, Puppeteer, or Playwright
Longer explanation:
[Source code attached as 'code.html' if you do not wish to click any links]
This is a code snippet that allows you to share your screen but it also has the "audio": true (line 94) which allows this option to appear
Currently, there is no way to automatically enable this option because there exist no flag to enable it , we only have these flags:
- --auto-accept-this-tab-capture
- --auto-select-desktop-capture-source
- --auto-select-tab-capture-source-by-title
When these are passed, the prompts do not show up when using Chromedriver. Even if they did, you cannot programmatically select the "Share System audio" or "Share tab audio"
I am proposing for a feature like this to be made but I am wondering from the wider community whether this would be accepted or not.