Open
Description
I get the following error:
TypeError: BrowserWindow is not a constructor
When trying to create a new empty browser window in Spectron.
this.app = new Application({
path: electronPath,
args: ['.'],
});
// ...
const { BrowserWindow } = app.electron.remote;
const webBrowser = new BrowserWindow({ width: 800, height: 800 });