title: AttributeError: type object 'By' has no attribute 'name'
body: <p>I'm doing a selenium program that can enter to my email, but I'm having problems with a <code>By</code>, and it cannot be <code>By.name(&quot;&quot;)</code> or that seems.</p>
  <p>Here is the mentioned part of the code: (running on windows 7):</p>
  <pre><code>psswd = WebDriverWait(driver, 20).until(
  EC.presence_of_element_located((By.name, &quot;password&quot;)))
  psswd.send_keys(&quot;MyPassword&quot;)
  </code></pre>