ENTER key press using Selenium WebDriver with python
<p>How can I simulate the ENTER key press using selenium python bindings? I have tried the following block but it is not working.</p>

<pre><code>driver.find_element_by_xpath("html/xxxxx").send_keys('keys.ENTER')
</code></pre>

<p>or</p>

<pre><code>driver.find_element_by_name("element_name").send_keys("ENTER")
</code></pre>