Read the Screen_Capture_API for better understanding https://developer.mozilla.org/en-US/docs/Web/API/Screen_Capture_API