NoSuchWindowError: Browsing context has been discarded with GeckoDriver Firefox and Protractor(Selenium)
问题 I'm trying to run a simple test script using protractor. Environment: Node Version: v9.8.0 Protractor Version: 5.4.1 Angular Version: 1.x Browser(s): Mozilla Firefox 60.1.0 Operating System and Version: HELiOS release 6.10 Here's my protractor config file. exports.config = { specs: ['todo-spec.js'], capabilities: { browserName: 'firefox', marionette : true } }; This is my test script (todo-spec.js) describe('application homepage', function() { it('should open homepage', function() { console