Web platform 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.

Browser support

  • Chrome 72 Released on 2019-01-29
  • Chrome Android
  • Edge 79 Released on 2020-01-15
  • Firefox 33 Released on 2014-10-14
  • Firefox for Android
  • Safari 13 Released on 2019-09-19
  • Safari on iOS