title: Global Enviromental Variables for cucumber-jvm & selenium WebDriver
body: <p>I write automated tests for websites.I'm using cucumber-jvm and selenium webdriver.
  I want to have something like configs in my project.</p>
  
  <p>For example imagine I want to test two website's autorization. Everything is same on this two website.
  for example in my feature I have two cases - Successful autorization and boundary check of Username field.</p>
  
  <p>Imagine my feature file looks like this : </p>
  
  <pre><code>Scenario: User enters valid parameters ....
  Given  User is on main page 
  When   User enters "username" as "username"
  When   User enters "Test@123" as "password" 
  #Then   do something
  
  Scenario: User tries to enter more than 20 characters in username field 
  Given User is on main page 
  When  User enters "30" characters as "username" 
  Then  text length in the "username" field should be "20" 
  </code></pre>
  
  <p>But username and password are different for websites.Also max length of username field is different.I want the following:</p>
  
  <pre><code>Scenario: User enters valid parameters 
  Given  User is on main page 
  When   User enters "@username" as "username"
  When   User enters "@password" as "password" 
  #Then   do something
  
  Scenario: User tries to enter more than 20 characters in username field 
  Given User is on main page 
  When  User enters "30" characters as "username" 
  Then  text length in the "username" field should be "@max_length_username" 
  </code></pre>
  
  <p>And When I change my website,I want to only change some file,where this global variables are defined.</p>
  
  <p>Also in my code for example I've @given method</p>
  
  <pre><code>public void user_is_on_Registration_page() throws Exception {
      driver.get("https://website.test");
      username.sendKeys("username");
      password.sendKeys("Test123");
  }
  </code></pre>
  
  <p>I want to change it to method : </p>
  
  <pre><code>public void user_is_on_Registration_page() throws Exception {
      driver.get(website);
      username.sendKeys(username);
      password.sendKeys(password);
  }
  </code></pre>
  
  <p>I want a file where I can set all configs and variables and use them in my .java and .feature files.
  How can I achieve this?</p>