You may need to adjust your Security & Privacy settings to enable screen sharing of your desktop and other applications on your macOS device.
2) Open the System Preferences app:
3) Go to the Security & Privacy section.
4) Enable Google Chrome (or Firefox) under Screen Recording. You may first need to click the lock in the bottom-left corner to make changes to your settings:
5) Enable Google Chrome (or Firefox) under Accessibility:
You may be prompted to restart your browser in order for the changes to take effect. A reboot of your computer may also be required.