text: /**
   * when steps
   */
  
  module.exports = function () {
      this
          .when(/^I click "$string"$/,
              require('../support/action/jq'))
  
          .when(/^I (click|doubleclick) on the (link|button|element) "$string"$/,
              require('../support/action/clickElement'))
  
          .when(/^I click on the panel "$string"$/,
              require('../support/action/clickPanel'))
  
          .when(/^I (add|set) "$string" to the inputfield "$string"$/,
              require('../support/action/setInputField'))
  
          .when(/^I clear the inputfield "$string"$/,
              require('../support/action/clearInputField'))
  
          .when(/^I drag element "$string" to element "$string"$/,
              require('../support/action/dragElement'))
  
          .when(/^I submit the form "$string"$/,
              require('../support/action/submitForm'))
  
          .when(/^I pause for (\d+)ms$/,
              require('../support/action/pause'))
  
          .when(/^I set a cookie "$string" with the content "$string"$/,
              require('../support/action/setCookie'))
  
          .when(/^I delete the cookie "$string"$/,
              require('../support/action/readCookie'))
  
          .when(/^I press "$string"$/,
              require('../support/action/pressButton'))
  
          .when(/^I (accept|dismiss) the (alertbox|confirmbox|prompt)$/,
              require('../support/action/handleModal'))
  
          .when(/^I enter "$string" into the prompt$/,
              require('../support/action/setPromptText'))
  
          .when(/^I scroll to element "$string"$/,
              require('../support/action/scroll'))
  
          .when(/^I close the last opened (window|tab)$/,
              require('../support/action/closeLastOpenedWindow'))
  
          .when(/^I focus the last opened (window|tab)$/,
              require('../support/action/focusLastOpenedWindow'))
  
          .when(/^I select the (\d+)(st|nd|rd|th) option for element "$string"$/,
              require('../support/action/selectOptionByIndex'))
  
          .when(/^I select the option with the (name|value|text) "$string" for element "$string"$/,
              require('../support/action/selectOption'));
  };
  