title: Robot Framework using Python, key press without selecting any button or element in the page
body: <p>I am automating one application using Robot Framework using Python. In a certain situation I need to press <kbd>Enter</kbd> without selecting any button or element of the page once the page is loaded.</p>
  
  <p>I have tried with the below example (using <a href="https://robotframework.org/SeleniumLibrary/SeleniumLibrary.html#Press%20Key" rel="nofollow noreferrer"><code>Press Key</code></a>), but it didn't work as I don't want to select any specific button or element of the page before press <kbd>Enter</kbd> on the page.</p>
  
  <p>Examples:</p>
  
  <pre><code>Press Key    text_field     q
  Press Key    login_button   \\\13    # ASCII code for the Enter key
  </code></pre>
  
  <p>The below keyword is not recognized by the IDE, most probably because of version:</p>
  
  <pre><code>Press Key Native
  </code></pre>
  
  <p>Is there a solution to get rid of this problem?</p>