0
I am using Electron.js to load an external url. In this case, the whatsapp web
.
However, the following error is occurring: "O Whatsapp funciona com Google Chrome 49 ou superior"
.
I already changed Useragent however, the error continues.
wpp.loadURL('https://web.whatsapp.com/', {
userAgent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36'
});
What version of Electron are you using? Maybe it works with a newer useragent:
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.100 Safari/537.36'
– Gomiero