I need to send a comment in the field. It works with "input", but not with "textarea". Someone had to deal with this?
Before clicking on the Html element it looks like:
<textarea class = '1' aria-label="Add a comment..." placeholder="Add a comment..."autocomplete="off" autocorrect="off"> </textarea>
Then:
<textarea class = '1 focus-visible' aria-label="Add a comment..." placeholder="Add a comment..."autocomplete="off" autocorrect="off" style="height: 18px;" data-focus-visible-added = ""> </textarea>
The textarea field is activated, but no comment is added.
browser.find_element_by_css_selector('textarea[placeholder="Add a comment..."]').send_keys('comment')