MCPcopy Create free account
hub / github.com/seleniumbase/SeleniumBase / assert_text_in_element

Function assert_text_in_element

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

Source from the content-addressed store, hash-verified

137@step("Text in '{selector}' should contain \"{text}\"")
138@step('Text in "{selector}" should contain \'{text}\'')
139def assert_text_in_element(context, text, selector):
140 sb = context.sb
141 text = normalize_text(text)
142 sb.assert_text(text, selector)
143
144
145@step("Assert text '{text}'")

Callers

nothing calls this directly

Calls 2

normalize_textFunction · 0.85
assert_textMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…