title: Select the first item from a drop down by index is not working. Unbound method select_by_index
body: <p>I am trying to click the first item from a drop down.</p>
  <p>I want to use it's index value because the value could be different each time.</p>
  <p>I only need to select the 1st item in the drop down for this particular test.</p>
  <p>I have tried Select.select_by_index(1)</p>
  <p>I am getting the error:</p>
  <pre><code>    Traceback (most recent call last):
    File &quot;C:\Webdriver\ClearCore 501 Regression Test\ClearCore - Regression Test\TestCases\DataPreviewsPage_TestCase.py&quot;, line 398, in test_a2_sort_data_preview_advanced
      data_previews_view_page.select_option_from_new_sort_drop_down() # Select the sort from the sort drop down to view the sorted fields
    File &quot;C:\Webdriver\ClearCore 501 Regression Test\ClearCore - Regression Test\Pages\data_previews_view.py&quot;, line 144, in select_option_from_new_sort_drop_down
      Select.select_by_index(1) # select the 1st item from the sort drop down
  TypeError: unbound method select_by_index() must be called with Select instance as first argument (got int instance instead)
  </code></pre>
  <p>My code snippet to call the drop down is:</p>
  <pre><code>def select_option_from_new_sort_drop_down(self): # When sort is ready, select the 1st value from the drop to run the sort
      select = Select(WebDriverWait(self.driver, 20).until(EC.element_to_be_clickable((By.XPATH, '//option[contains(., &quot;(A-Z)&quot;)]'))))
      Select.select_by_index(1) # select the 1st item from the sort drop down
  </code></pre>