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

Function assert_element

sbase/steps.py:126–128  ·  view source on GitHub ↗
(context, selector)

Source from the content-addressed store, hash-verified

124@step("Element '{selector}' should be visible")
125@step('Element "{selector}" should be visible')
126def assert_element(context, selector):
127 sb = context.sb
128 sb.assert_element(selector)
129
130
131@step("Assert text '{text}' in '{selector}'")

Callers

nothing calls this directly

Calls 1

assert_elementMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…