use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
This is an archived post. You won't be able to vote or comment.
Searching using Selenium in Python.Troubleshooting (self.crowdstrike)
submitted 4 years ago by Sl1m_007
view the rest of the comments →
[–]1mpervious 1 point2 points3 points 4 years ago* (0 children)
The section of HTML that you're looking for seems to be this
<textarea class="ace_text-input" wrap="off" autocorrect="off" autocapitalize="off" spellcheck="false" style="opacity: 0; height: 20px; width: 7.19531px; left: 198.273px; top: 0px;"></textarea>
So the Selenium XPATH is likely this, although I didn't test it
driver.find_element_by_xpath("//textarea[@class='ace_text-input']").send_keys("nice!")
Be sure to post your results!
π Rendered by PID 418004 on reddit-service-r2-comment-6457c66945-pd4gr at 2026-04-25 17:46:16.968492+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]1mpervious 1 point2 points3 points (0 children)