{"action":"created","issue":{"url":"https://api.github.com/repos/angular/protractor/issues/4923","repository_url":"https://api.github.com/repos/angular/protractor","labels_url":"https://api.github.com/repos/angular/protractor/issues/4923/labels{/name}","comments_url":"https://api.github.com/repos/angular/protractor/issues/4923/comments","events_url":"https://api.github.com/repos/angular/protractor/issues/4923/events","html_url":"https://github.com/angular/protractor/issues/4923","id":351071501,"node_id":"MDU6SXNzdWUzNTEwNzE1MDE=","number":4923,"title":"Pass browser parameter through command line","user":{"login":"bharukaRupesh","id":17111714,"node_id":"MDQ6VXNlcjE3MTExNzE0","avatar_url":"https://avatars0.githubusercontent.com/u/17111714?v=4","gravatar_id":"","url":"https://api.github.com/users/bharukaRupesh","html_url":"https://github.com/bharukaRupesh","followers_url":"https://api.github.com/users/bharukaRupesh/followers","following_url":"https://api.github.com/users/bharukaRupesh/following{/other_user}","gists_url":"https://api.github.com/users/bharukaRupesh/gists{/gist_id}","starred_url":"https://api.github.com/users/bharukaRupesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bharukaRupesh/subscriptions","organizations_url":"https://api.github.com/users/bharukaRupesh/orgs","repos_url":"https://api.github.com/users/bharukaRupesh/repos","events_url":"https://api.github.com/users/bharukaRupesh/events{/privacy}","received_events_url":"https://api.github.com/users/bharukaRupesh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-08-16T06:27:45Z","updated_at":"2018-08-16T09:46:46Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI am using multiCapabilities for multiple browsers in config.js file as below,\r\n\r\n```\r\n multiCapabilities: [ \r\n        {\r\n          'browserName': 'chrome',\r\n          'chromeOptions': {\r\n          'prefs': {\r\n              // disable chrome's annoying password manager\r\n              'profile.password_manager_enabled': false,\r\n              'credentials_enable_service': false,\r\n              'password_manager_enabled': false\r\n            } \r\n          }\r\n   \r\n        } ,\r\n         \r\n        {\r\n            browserName : 'firefox',\r\n            marionette : true,\r\n            acceptInsecureCerts : true,\r\n            firefoxOptions:{\r\n                args: ['--headless']\r\n            },\r\n            'moz:firefoxOptions': {\r\n                args: [ '--headless' ]\r\n            }    \r\n        }\r\n    ]\r\n```\r\n\r\nbut instead of executing tests on multiple browsers, ```I want to make it parameterized like,``` whatever the browser name I'll pass from command line ```only that browser should work.```\r\n\r\n```So, is there a way we can pass specific browser name through protractor command line?```"},"comment":{"url":"https://api.github.com/repos/angular/protractor/issues/comments/413488246","html_url":"https://github.com/angular/protractor/issues/4923#issuecomment-413488246","issue_url":"https://api.github.com/repos/angular/protractor/issues/4923","id":413488246,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzQ4ODI0Ng==","user":{"login":"bharukaRupesh","id":17111714,"node_id":"MDQ6VXNlcjE3MTExNzE0","avatar_url":"https://avatars0.githubusercontent.com/u/17111714?v=4","gravatar_id":"","url":"https://api.github.com/users/bharukaRupesh","html_url":"https://github.com/bharukaRupesh","followers_url":"https://api.github.com/users/bharukaRupesh/followers","following_url":"https://api.github.com/users/bharukaRupesh/following{/other_user}","gists_url":"https://api.github.com/users/bharukaRupesh/gists{/gist_id}","starred_url":"https://api.github.com/users/bharukaRupesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bharukaRupesh/subscriptions","organizations_url":"https://api.github.com/users/bharukaRupesh/orgs","repos_url":"https://api.github.com/users/bharukaRupesh/repos","events_url":"https://api.github.com/users/bharukaRupesh/events{/privacy}","received_events_url":"https://api.github.com/users/bharukaRupesh/received_events","type":"User","site_admin":false},"created_at":"2018-08-16T09:46:46Z","updated_at":"2018-08-16T09:46:46Z","author_association":"NONE","body":"@anihuynh I don't want to send parameters to npm script rather ```I want to send browser parameter to my config.js file``` which I used in protractor framework."}}
{"actor":{"display_login":"bharukaRupesh"}}