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

Function assert_exact_text

sbase/steps.py:165–168  ·  view source on GitHub ↗
(context, text, selector)

Source from the content-addressed store, hash-verified

163@step("Text in '{selector}' should be \"{text}\"")
164@step('Text in "{selector}" should be \'{text}\'')
165def assert_exact_text(context, text, selector):
166 sb = context.sb
167 text = normalize_text(text)
168 sb.assert_exact_text(text, selector)
169
170
171@step("Assert non-empty text in '{selector}'")

Callers

nothing calls this directly

Calls 2

normalize_textFunction · 0.85
assert_exact_textMethod · 0.45

Tested by

no test coverage detected