I'm not able to press ENTER key when executing the script. Below is my code:
f=driver.find_element_by_css_selector("textarea._bilrf")
(driver.execute_script("arguments[0].value = arguments[1]", f, "Hi!"))
The word "Hi!" is sent to the element. But, not able to press ENTER to send it. Also, send_keys() and submit() don't work in my code. This is the url where i'm working: https://www.instagram.com/p/BgdhsyvgWCi/?taken-by=asarokh