Web platform features explorer

Element capture

Limited availability
Tags: api

The restrictTo() method on screen capture media tracks limits capture to a specific element, excluding content which might occlude the element itself, such as video conferencing controls.

Learning resources on MDN

Browser support

Specifications