This code dont start js and return base-load image. How i can get page after load ? the same thing happens with other projects: https://jaguarswap.com/farms , https://pancakebunny.finance/pool and more
const Nightmare = require('nightmare');
const nightmare = Nightmare({
show: true,
waitTimeout: 20 * 1000
});
nightmare
.useragent('Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0')
.goto('https://app.acryptos.com/')
.wait('#vaults')
.then(() => {
console.log('then');
nightmare.screenshot('acryptos_then.png');
return nightmare.end();
})
.catch(error => {
console.error('catch');
nightmare.screenshot('acryptos_catch.png');
return nightmare.end();
})
;