This brach contains the method to access the window object using puppeteer-real-browser.
You can run tests for fail and success with the following commands.
git clone https://github.com/zfcsoftware/puppeteer-real-browser -b access-window
npm run fail_test
npm run success_test