Same as wait_for_text()
(self, text, selector="body", timeout=None)
| 3328 | raise Exception(error % (expected, actual)) |
| 3329 | |
| 3330 | def assert_text(self, text, selector="body", timeout=None): |
| 3331 | """Same as wait_for_text()""" |
| 3332 | self.wait_for_text(text, selector=selector, timeout=timeout) |
| 3333 | return True |
| 3334 | |
| 3335 | def assert_exact_text(self, text, selector="body", timeout=None): |
| 3336 | if not timeout: |