38 self.
infoinfo(
"Selecting frame '%s'." % locator)
62 raise AssertionError(
"Frame should have contained text '%s' "
63 "but did not." % text)
64 self.
infoinfo(
"Current frame contains text '%s'." % text)
75 raise AssertionError(
"Frame should not have contained text '%s' "
77 self.
infoinfo(
"Current frame did not contain text '%s'." % text)
91 raise AssertionError(
"Frame '%s' should have contained text '%s' "
92 "but did not." % (locator, text))
93 self.
infoinfo(
"Frame '%s' contains text '%s'." % (locator, text))
98 self.
infoinfo(
"Searching for text from frame '%s'." % locator)
def find_element(self, locator, tag=None, required=True, parent=None)
Find element matching locator.
def is_text_present(self, text)
def log_source(self, loglevel='INFO')
def info(self, msg, html=False)
def current_frame_should_contain(self, text, loglevel='TRACE')
Verifies that current frame contains text.
def current_frame_should_not_contain(self, text, loglevel='TRACE')
Verifies that current frame does not contains text.
def frame_should_contain(self, locator, text, loglevel='TRACE')
Verifies that frame identified by locator contains text.
def _frame_contains(self, locator, text)
def unselect_frame(self)
Sets the main frame as the current frame.
def select_frame(self, locator)
Sets frame identified by locator as the current frame.