I'm writing my first test and trying to access some global variables from window object.
window.top["myobj"] throws "window is not defined" exception
await Selector("window")() returns null.
What's correct way to access window object?
- operating system: Windows 10
- testcafe version: 0.15.0
- node.js version: 7.8.0