title: Use CodeCeption assertion in conditional (if) statement
body: <p>I'm totally new with CodeCeption.</p>
  
  <p>I want to do an action/assertion depending on another assertion result, like this:</p>
  
  <pre><code>if ($I-&gt;see('message')){
  
      $I-&gt;click('button_close');
  
  }
  </code></pre>
  
  <p>Is something like that possible? I tried, but doesn't work.
  Probably the assertion result doesn't apply to IF, but is there any alternative?</p>
  
  <p>Thanks in advance!</p>
  
  <h2><strong>IMPORTANT UPDATE:</strong></h2>
  
  <p>Finally Codeception now has the function <strong><code>performOn</code></strong>!!
  <a href="http://codeception.com/docs/modules/WebDriver#performOn" rel="noreferrer">http://codeception.com/docs/modules/WebDriver#performOn</a></p>