title: Is there any way to get specific id from element and use it afterwards in Selenium?
body: <p>For example, i've got elements with a specific id:</p>
  <blockquote>
  <p>my_id[1][50]</p>
  <p>my_id[1][51]</p>
  <p>...</p>
  </blockquote>
  <p>I need to find first element (with 50) and use this number in 'type' command afterwards. (i need to manipulate with selectors from test generator in php code).</p>
  <p>To be more clear, i need to do something like this:</p>
  <blockquote>
  <p>$s-&gt;command('type', 'some_id[1][${elementId}+1]', '...');</p>
  </blockquote>
  <p>I'm using <strong>selenium 1.0.1</strong></p>