title: Selenium - WebElement object has no attribute 'sendKeys'
body: <p>I'm trying to enter text into an input field using selenium but it's giving an error. The code is:</p>
  
  <pre><code>input1 = browser.find_element_by_xpath('//*[@id="login-dialog dialog"]/div[2]/div[2]/div[2]/form/div[1]/input')
  input1.sendKeys("myusername")
  </code></pre>
  
  <p>However it gives this error</p>
  
  <pre><code>Traceback (most recent call last):
  File "C:\Users\Bradley Jo\Desktop\Project\app.py", line 14, in 
  &lt;module&gt;
  input1.sendKeys("hello")
  AttributeError: 'WebElement' object has no attribute 'sendKeys'
  </code></pre>