#公有方法: (1)current_frame_contains(self, text, loglevel='INFO') (2)current_frame_should_not_contain(self, text, loglevel='INFO') (3)element_should_contain(self, locator, expected, message='') (4)frame_should_contain(self, locator, text, loglevel='INFO'…