[js] correct capabilities test for Firefox
@@ -207,9 +207,15 @@ describe('WebDriver', function () {
let executor = new FakeExecutor()
.expect(CName.NEW_SESSION)
.withParameters({
- desiredCapabilities: { browserName: 'firefox' },
+ desiredCapabilities: {
+ 'moz:debuggerAddress': true,
+ browserName: 'firefox'
+ },
capabilities: {
- alwaysMatch: { browserName: 'firefox' },
+ alwaysMatch: {
+ 'moz:debuggerAddress': true,
+ browserName: 'firefox'
+ },
},
})
.andReturnSuccess(aSession)
