Web features explorer

Screen capture

Limited availability
Tags: api html http

The navigator.mediaDevices.getDisplayMedia() method asks the user to choose a screen or portion of a screen (such as a window) to capture as a media stream.

Learning resources on MDN

Browser support