title: In Cucumber, is it possible to programmatically get the current step being executed?
body: <pre><code>Scenario: As a user, I want to login to the system
  Given I am on my website
  When I enter valid credentials
  Then I am taken to the home page
  </code></pre>
  
  <p>The scenario name can be retrieved using the <code>getName()</code> function. Is there a way to also get the step being executed (in <code>Java</code>)? We foresee the use of this in logging and reporting.</p>
  
  <p>So, for the scenario above, <code>I am on my website</code> would be returned while the corresponding step definition is being executed.</p>