title: Selenium can't find element by name or id (python)
body: <pre class="lang-py prettyprint-override"><code>from selenium import webdriver
  import os
  from selenium.webdriver import chrome
  
  driver = webdriver.Chrome()
  driver.get("http://nmcunited.me.showenter.com/%D7%9C%D7%94-%D7%9C%D7%94-%D7%9C%D7%A0%D7%93.html")
  driver.implicitly_wait(15)
  christmasTag = driver.find_element_by_id('f_2561406_1')
  christsmasTag.click()
  driver.close()
  </code></pre>
  
  <p>I used the python code above in order to practice on some basic Selenium operations.
  I couldn't find any element, neither by name nor by id. No matter what I tried I always got the same error, which stated that the element I'm looking for doesn't exist. (the idea was to press one of the buttons, if it matters...)</p>
  
  <p>This is a part of the html code of the website:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;!-- main page --&gt;
  &lt;td 
  valign="top"&gt;
  &lt;table width="100%" cellspacing="0" cellpadding="0" border="0"&gt;
  &lt;!-- Page Content --&gt;
  &lt;!-- Page Content --&gt;
  &lt;tr&gt;
  &lt;td valign="top"&gt;
  &lt;table border="0" width="100%" cellpadding="3" cellspacing="0"&gt;
  &lt;tr&gt;
  &lt;!-- the form --&gt;
  &lt;td valign="top"&gt;
  &lt;form id="form2" name="form2" method="post" action="/site/form/sendForm.asp" OnSubmit="return CheckSubmit();" enctype="multipart/form-data"&gt;
  &lt;!-- Form Field List --&gt;
  &lt;table id='sop_form_594602' class='sop_all_form' align="center" border="0" width="100%" cellpadding="3" cellspacing="0" 
  &gt;
  &lt;tr&gt;
  &lt;td style="color:;" class="changeText14"&gt;
  &lt;span style="font-weight:bold;"&gt;באיזה חג מפוטר ראין גוסלינג?&lt;/span&gt;&lt;br&gt;
  &lt;input type="radio" name="f_2561406" id="f_2561406_0" value="1. חג הפסחא" class="rachbox" checked&gt;
  &lt;label for="f_2561406_0"&gt;1. חג הפסחא&lt;/label&gt;
  &lt;br&gt;
  &lt;input type="radio" name="f_2561406" id="f_2561406_1" value="2. חג המולד" class="rachbox"&gt;
  &lt;label for="f_2561406_1"&gt;2. חג המולד&lt;/label&gt;
  &lt;br&gt;
  &lt;input type="radio" name="f_2561406" id="f_2561406_2" value="3. סליבסטר" class="rachbox"&gt;
  &lt;label for="f_2561406_2"&gt;3. סליבסטר&lt;/label&gt;
  &lt;br&gt;
  &lt;input type="radio" name="f_2561406" id="f_2561406_3" value="4. חג ראש השנה" class="rachbox"&gt;
  &lt;label for="f_2561406_3"&gt;4. חג ראש השנה&lt;/label&gt;
  &lt;br&gt;
  &lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p><a href="http://nmcunited.me.showenter.com/%D7%9C%D7%94-%D7%9C%D7%94-%D7%9C%D7%A0%D7%93.html" rel="nofollow noreferrer">this is the said website</a> (broken link)</p>
  
  <p>Any help will be appreciated.</p>
  
  <p>By the way, this is the first program that uses Selenium I'm trying to run, is there any possibility that i need to change some settings or that i need to install something else? </p>