title: How to skip steps if imacros found a specific text?
body: <p>Hi and happy new year all,</p>
  
  <p>I'm testing a website using imacros plugin for firefox.</p>
  
  <p>My problem is :
  On certain webpages, there is no data, juste a text :
  TAG POS=1 TYPE=SPAN ATTR=TXT:No information</p>
  
  <p>I would like to skip steps if I found this, is it possible ?</p>
  
  <p>For information, I tried :</p>
  
  <pre><code>'Test
  TAG POS=1 TYPE=SPAN ATTR=TXT:ATTR=TXT:No&lt;SP&gt;information
  SET !VAR1 EVAL("var text=\"{{!EXTRACT}}\"; if(text!=\"No&lt;SP&gt;information\"){
  my code
  })"
  </code></pre>
  
  <p>Without succes :(</p>
  
  <p>EDIT : I thing, the best way would  be to put an if statement like that :</p>
  
  <pre><code>TAG POS=1 TYPE=SPAN ATTR=TXT:No&lt;SP&gt;information EXTRACT=TXT
  SET !VAR1 EVAL("var s=\"{{!EXTRACT}}\"; if (s ==\"No&lt;SP&gt;information\") else SET !TIMEOUT_TAG 0" )
  </code></pre>
  
  <p>But this syntax returns a 910 error code</p>
  
  <p>EDIT 2 : 
  I took another way and I created a JS file but now, i'm blocked on a simple task (click on a tag^^)</p>
  
  <p>This is my new code :</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var macro;
  var start;
  
  for(var i = 1; i &lt;11; i++)
  {
  macro = "CODE:";
  macro += "VERSION BUILD=8940826 RECORDER=FX" + "\n";
  macro += "TAB T=1" + "\n";
  macro += "SET !TIMEOUT_TAG 10" + "\n";
  macro += "SET !EXTRACT_TEST_POPUP NO" + "\n";
  macro += "'SET !ERRORIGNORE YES" + "\n";
  macro += "TAG  XPATH=\"(.//span/center/a)[" + i + "]\"" + "\n";
  macro += "WAIT SECONDS=2" + "\n";
  
  macro += "TAG POS=1 TYPE=SPAN ATTR=TXT:More&lt;SP&gt;informations&lt;SP&gt;+" + "\n";
  
  
  start = iimPlay(macro);  
  }</code></pre>
  </div>
  </div>
  </p>
  
  <p>Now, Imacros don't click on the TAG "More informations+". It ws working using a simple macro.</p>