title: Selenium / Python - Selecting an element id by a stored variable
body: <p>Issue: Unable to select an element id object using a stored variable.</p>
  
  <p>Situation: I need to open a page, make a selection, store that selection in a variable <code>card_id</code> and next, find the element on the last page with the id <code>pick_id</code> and the stored variable, and click it. Hope I am being clear on this situation. If not, please just ask. I have tried to find the Selenium API documentation to handle this, nope.</p>
  
  <p>Test Code:</p>
  
  <pre><code>def test_00_validation_test(self):
          driver = self.driver
          driver.get(self.base_url)
          driver.find_element_by_id("first_page").click()
          driver.find_element_by_id("make_pick").click()
          driver.find_element_by_xpath("(//input[@name='64'])[2]").click()
          driver.find_element_by_id("save_pick").click()
          self.assertEqual("Pick Was Saved", self.close_alert_and_get_its_text())
          card_id = driver.find_element_by_id("testingNum").get_attribute("value")
          driver.find_element_by_id("confirm_pick_page").click()
          driver.find_element_by_id("pick_id", card_id).click()
  </code></pre>