MCPcopy Index your code
hub / github.com/seleniumbase/SeleniumBase / assert_text

Function assert_text

sbase/steps.py:151–154  ·  view source on GitHub ↗
(context, text)

Source from the content-addressed store, hash-verified

149@step("Text '{text}' should be visible")
150@step('Text "{text}" should be visible')
151def assert_text(context, text):
152 sb = context.sb
153 text = normalize_text(text)
154 sb.assert_text(text)
155
156
157@step("Assert exact text '{text}' in '{selector}'")

Callers

nothing calls this directly

Calls 2

normalize_textFunction · 0.85
assert_textMethod · 0.45

Tested by

no test coverage detected