Interact with TinyMCE from Splinter
Splinter is a great library that sits on top of Selenium to simplify web automation.
Assuming the ID of the TinyMCE widget is id_content_ifr
:
browser = splinter.browser.Browser('chrome')
browser.get_iframe('id_content_ifr') as iframe:
iframe.find_by_tag('body').type('Text goes here')
Written by Lorin Hochstein
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Python
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#