You may need to grant permission for your browser to share your screen
- Open System Preferences (⌘ + space)
- Open Security & Privacy
- Click on the padlock icon and allow access
- Scroll down to Screen Recording
- Make sure your preferred browser is checked, and you'll be prompted to restart the browser.