node.js - getting window instance with chrome-remote-interface -


i'm using chrome-remote-interface node package. need hold of window object in order bootstrap angular , wait angular event fired app code signal rendering complete.

doing:

const window = await runtime.evaluate({expression: 'window'}); 

doesn't work... there way i'm missing?

thanks!


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -