Using getDisplayMedia in Electron

Dear Team,

Can I use navigator.mediaDevices.getDisplayMedia() function in Electron app.