MCPcopy Create free account
hub / github.com/seleniumbase/SeleniumBase / test_tinymce

Method test_tinymce

examples/raw_file_call.py:11–22  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

9
10class TinyMceTest(BaseCase):
11 def test_tinymce(self):
12 self.goto("https://seleniumbase.io/tinymce/")
13 self.wait_for_element("div.mce-container-body")
14 self.click('span:contains("File")')
15 self.click('span:contains("New document")')
16 self.click('span:contains("Paragraph")')
17 self.click('span:contains("Heading 1")')
18 with self.frame_switch("iframe"):
19 self.add_text("#tinymce", "SeleniumBase!")
20 self.highlight("#tinymce")
21 self.post_message("SeleniumBase is fast!", duration=1.5)
22 self.post_message("And SeleniumBase is fun!", duration=1.5)

Callers

nothing calls this directly

Calls 7

frame_switchMethod · 0.80
add_textMethod · 0.80
gotoMethod · 0.45
wait_for_elementMethod · 0.45
clickMethod · 0.45
highlightMethod · 0.45
post_messageMethod · 0.45

Tested by

no test coverage detected