title: Can I access parameters in my protractor configuration file?
body: <p>I start my protractor tests by running the following: </p>
  
  <pre><code>protractor protractor.conf.js --params.baseUrl=http://www.google.com --suite all
  </code></pre>
  
  <p>I would like to run a 'before launch' function which is dependant of one parameter (in this case, the baseUrl). Is it that possible?</p>
  
  <pre class="lang-js prettyprint-override"><code>exports.config = {
      seleniumServerJar: './node_modules/protractor/selenium/selenium-server-standalone-2.45.0.jar',
      seleniumPort: 4455,
      suites: {
          all: 'test/*/*.js',
      },
      capabilities: {
          'browserName': 'firefox'
      },
      beforeLaunch: function() {
          console.log('I want to access my baseUrl parameter here: ' + config.params.baseUrl);
      },
      onPrepare: function() {
  
          require('jasmine-reporters');
          jasmine.getEnv().addReporter(
              new jasmine.JUnitXmlReporter('output/xmloutput', true, true));
  
      }
  };
  </code></pre>
  
  <p>If I run that I get a ReferenceError because config is not defined. How should I do that? Is that even possible?</p>