[spectron] can I access variables in main.js?


#1

In trying to test my application, I’d like to call some functions defined in main.js to open files/save files, etc…

How do I access things in main.js from spectron?


#2

I’m going with this method until a better idea comes along.