Unable to screenshare using selenium browsers
As mentioned in the title, we have some selenium automated tests that used to be able to successfully screenshare on our macs locally but started to fail after an update a while back. I'm not sure which update caused the issues but now they fail as if it's permissions related. I've tried to make all changes suggested by others who have reported screenshare issues such as enabling screensharing for all browsers, I've even added intellij and chromedrivers to this list to see if it would help but was unsuccessful. My screen sharing toggle is turned on as well already in settings. Any suggestions or fixes for this issue?
It appears to be permissions related because trying to share screen using the chromium browsers immediately fails upon selecting a screen/window to share and we see the same error in the console that's given when I've turned permissions off for regular chrome browser. If I logged in with the same user in a regular chrome session, the screensharing works.
MacBook Pro 15″, macOS 13.2