[Spectron] how I can set up offline mode for app?


#1

I would like to switch on/off “internet connection” in test scenario. How it is possible? Can you provide some links, code or ideas?