{"action":"created","issue":{"url":"https://api.github.com/repos/angular/protractor/issues/1826","labels_url":"https://api.github.com/repos/angular/protractor/issues/1826/labels{/name}","comments_url":"https://api.github.com/repos/angular/protractor/issues/1826/comments","events_url":"https://api.github.com/repos/angular/protractor/issues/1826/events","html_url":"https://github.com/angular/protractor/issues/1826","id":58094860,"number":1826,"title":"not able to set firefox profile with directConnect enabled ","user":{"login":"geedubey","id":2674880,"avatar_url":"https://avatars.githubusercontent.com/u/2674880?v=3","gravatar_id":"","url":"https://api.github.com/users/geedubey","html_url":"https://github.com/geedubey","followers_url":"https://api.github.com/users/geedubey/followers","following_url":"https://api.github.com/users/geedubey/following{/other_user}","gists_url":"https://api.github.com/users/geedubey/gists{/gist_id}","starred_url":"https://api.github.com/users/geedubey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geedubey/subscriptions","organizations_url":"https://api.github.com/users/geedubey/orgs","repos_url":"https://api.github.com/users/geedubey/repos","events_url":"https://api.github.com/users/geedubey/events{/privacy}","received_events_url":"https://api.github.com/users/geedubey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-18T16:55:49Z","updated_at":"2015-02-18T21:52:24Z","closed_at":null,"body":"I am using example available at below URL Demo-samples to set Firefox profile (for few security and Proxy) \r\nhttps://github.com/juliemr/protractor-demo/tree/master/howtos/setFirefoxProfile\r\n\r\nit is working fine when I am invoking firefox through selenium server, but i am getting below error when i am trying to use Firefox directly using directConnect.\r\n\r\nError: browserName (undefined) is not supported with directConnect.\r\n    at DirectDriverProvider.setupEnv (D:\\Program Files\\Node\\node_modules\\protractor\\lib\\driverProviders\\direct.js:37:13)\r\n    at Runner.run (D:\\Program Files\\Node\\node_modules\\protractor\\lib\\runner.js:252:31)\r\n    at TaskRunner.run (D:\\Program Files\\Node\\node_modules\\protractor\\lib\\taskRunner.js:123:19)\r\n    at createNextTaskRunner (D:\\Program Files\\Node\\node_modules\\protractor\\lib\\launcher.js:160:20)\r\n    at D:\\Program Files\\Node\\node_modules\\protractor\\lib\\launcher.js:183:7\r\n    at _fulfilled (D:\\Program Files\\Node\\node_modules\\protractor\\node_modules\\q\\q.js:797:54)\r\n    at self.promiseDispatch.done (D:\\Program Files\\Node\\node_modules\\protractor\\node_modules\\q\\q.js:826:30)\r\n    at Promise.promise.promiseDispatch (D:\\Program Files\\Node\\node_modules\\protractor\\node_modules\\q\\q.js:759:13)\r\n    at D:\\Program Files\\Node\\node_modules\\protractor\\node_modules\\q\\q.js:525:49\r\n    at flush (D:\\Program Files\\Node\\node_modules\\protractor\\node_modules\\q\\q.js:108:17)\r\n\r\nfurther directConnect is working fine without firefox profile setting.\r\n\r\nplease suggest any solution to me.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/angular/protractor/issues/comments/74955886","html_url":"https://github.com/angular/protractor/issues/1826#issuecomment-74955886","issue_url":"https://api.github.com/repos/angular/protractor/issues/1826","id":74955886,"user":{"login":"hankduan","id":1059345,"avatar_url":"https://avatars.githubusercontent.com/u/1059345?v=3","gravatar_id":"","url":"https://api.github.com/users/hankduan","html_url":"https://github.com/hankduan","followers_url":"https://api.github.com/users/hankduan/followers","following_url":"https://api.github.com/users/hankduan/following{/other_user}","gists_url":"https://api.github.com/users/hankduan/gists{/gist_id}","starred_url":"https://api.github.com/users/hankduan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hankduan/subscriptions","organizations_url":"https://api.github.com/users/hankduan/orgs","repos_url":"https://api.github.com/users/hankduan/repos","events_url":"https://api.github.com/users/hankduan/events{/privacy}","received_events_url":"https://api.github.com/users/hankduan/received_events","type":"User","site_admin":false},"created_at":"2015-02-18T21:52:23Z","updated_at":"2015-02-18T21:52:23Z","body":"You didn't copy the demo conf properly. Should be\r\n```\r\ngetMultiCapabilities: helper.getFirefoxProfile\r\n```\r\n\r\ni.e. getMultiCapabilities takes a function that returns a promise, not a promise"}}