title: how select element generated by script selenium webdriver
body: <p>I need to choose element <strong>APPLICATION</strong> from list on UI. html code of this element (in html I have 10 such elements)is:</p>
  
  <pre><code>&lt;tr id="4676856" class="menuItem" orientation="vertical" collectionid="tr4" radioid="12"&gt;
  &lt;td id="ItemL" class="left" data-click="[["runScript",["switchApplication('myapp')"]]]" data-ctl="nav"&gt;
  &lt;div class="menuRB"/&gt;
  &lt;/td&gt;
  &lt;td id="ItemM" class="middleBack" tabindex="0" data-click="[["runScript",["switchApplication('myapp')"]]]"     data-ctl="nav"&gt;**APPLICATION**&lt;/td&gt;
  &lt;td id="ItemR" class="rightEdge" data-click="[["runScript",["switchApplication('myapp')"]]]" data-ctl="nav"/&gt;
  </code></pre>
  
  <p>I have never worked with such script, how can I find such element using selenium webdriver?</p>
  
  <p>I have tried </p>
  
  <pre><code>driver.findElement(By.xpath(".//*[@id='yui-gen0']/div[6]/table/tbody/tr[12]/td[1]")).click();
  </code></pre>