1
我在使用tinymce版本3.5.8時遇到了麻煩。用硒自動化tinymce
def self.content(text)
# to write on a WYSIWYG editor write on the iframe
$driver.switch_to.frame('WikiRevision_content_ifr')
$driver.find_element(:id, 'tinymce').send_keys text
$driver.switch_to.default_content
self
end
我的所見即所得編輯器上沒有內容出現。沒有錯誤發生。
試圖在TinyMCE的寫紅寶石2.0和硒的webdriver 2.39
@Zach:你對此有何意見?它對你有用嗎? –
原生JS方法爲我工作。 – Kong