doke5a
Last Updated: February 25, 2016
·
766
· lorin
Me pixel

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')
Say Thanks
Respond