How can I using Chrome Api in Electron


Due to the issue of electron desktopCapturer api, I want to work around it by using chrome.DesktopCapturer, but I am totally green in this area, Can any one point me a direction, a tutorial would be great. thank.


Electron’s DesktopCapturer API is meant to provide the functionality of the corresponding Chrome API, you can’t use chrome.DesktopCapturer in Electron because it doesn’t exist.