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

Method test_tinymce

examples/raw_main_call.py:6–17  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

4
5class TinyMceTest(BaseCase):
6 def test_tinymce(self):
7 self.goto("https://seleniumbase.io/tinymce/")
8 self.wait_for_element("div.mce-container-body")
9 self.click('span:contains("File")')
10 self.click('span:contains("New document")')
11 self.click('span:contains("Paragraph")')
12 self.click('span:contains("Heading 1")')
13 with self.frame_switch("iframe"):
14 self.add_text("#tinymce", "SeleniumBase!")
15 self.highlight("#tinymce")
16 self.post_message("SeleniumBase is fast!", duration=1.5)
17 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