Does page.goto(url, {waitUntil: 'domcontentloaded'})
actually wait until Javascript has finished manipulating the DOM? Like for instance on a SPA? If not, how do I find out when the DOM is ready?
To wait for 'networkidle2' seems rather inefficient...
Thx!