title: How do I send text into a textarea through Selenium and Python as per the HTML
body: <p>Cannot figure out how can I write text into a popup, here is how the pop-up looks like: <a href="https://i.stack.imgur.com/xT7xi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xT7xi.png" alt="enter image description here"></a></p>
  
  <pre><code>&lt;textarea style="position: absolute; padding: 0px; width: 1px; height: 1em; outline: currentcolor none medium;" autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" wrap="off"&gt;&lt;/textarea&gt;
  </code></pre>
  
  <p>This is how I tried to access it by using XPath:</p>
  
  <pre><code>driver.find_element_by_xpath("/html/body/div/div[1]/textarea").send_keys("Some text here")
  </code></pre>
  
  <p>Getting error that element is not found on the page:</p>
  
  <pre><code>selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: /html/body/div/div[1]/textarea
  </code></pre>
  
  <p>I used as well <strong>css_selector</strong> to access element, but still same error.
  How can I access popup properly?</p>
  
  <p>Here is more HTML code: <a href="https://pastebin.com/6jdix2Cm" rel="nofollow noreferrer">https://pastebin.com/6jdix2Cm</a></p>