title: Using Selenium's Python API - How do I get the number of rows in a table?
body: <p>How do I get the number of rows in an HTML table using Selenium's Python API?</p>
  
  <p>I'd have a 2 column table of Keys and Values and I'd like to read it into a dictionary. Something like:</p>
  
  <pre><code>browser = Selenium(...)
  ...
  rows = ? (this is what I need)
  for r = range(row):
      key = browser.get_table('tablename.' + r + '.0')
      value = browser.get_table('tablename.' + r + '.1')
      my_dict[key] = value
  </code></pre>
  
  <p>thanks,
  jamie</p>