Closed TasDePixels closed 5 years ago
Hello, is there a way to block webRTC in nightmare ? i know for a fact that there's a method in electron for that :
https://electronjs.org/docs/api/web-contents#contentssetwebrtciphandlingpolicypolicy
Setting the WebRTC IP handling policy allows you to control which IPs are exposed via WebRTC. See BrowserLeaks for more details.
any possible workaround ?
Found it. turns out, you can actually access electron's methods through Nightmare.action().
it works perfectly.
Hello, is there a way to block webRTC in nightmare ? i know for a fact that there's a method in electron for that :
https://electronjs.org/docs/api/web-contents#contentssetwebrtciphandlingpolicypolicy
Setting the WebRTC IP handling policy allows you to control which IPs are exposed via WebRTC. See BrowserLeaks for more details.
any possible workaround ?