const browsers = await Promise.all([
puppeteer.launch(puppeteerOptions),
puppeteer.launch(puppeteerOptions),
puppeteer.launch(puppeteerOptions),
]);
const page1 = await browsers[0].newPage();
const page2 = await browsers[1].newPage();
const page3 = await browsers[2].newPage();
let result = await translate('Привет', {from: 'ru', to: lang});
console.log(result.text);
var privateKey = fs.readFileSync( 'privatekey.pem' , 'utf8');
var certificate = fs.readFileSync( 'certificate.pem', 'utf8');
https.createServer({
key: privateKey,
cert: certificate
}, app).listen(port);