Cannot figure out how can I write text into a popup, here is how the pop-up looks like:
<textarea style="position: absolute; padding: 0px; width: 1px; height: 1em; outline: currentcolor none medium;" autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" wrap="off"></textarea>
This is how I tried to access it by using XPath:
driver.find_element_by_xpath("/html/body/div/div[1]/textarea").send_keys("Some text here")
Getting error that element is not found on the page:
selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: /html/body/div/div[1]/textarea
I used as well css_selector to access element, but still same error. How can I access popup properly?
Here is more HTML code: https://pastebin.com/6jdix2Cm