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

Function assert_attribute_has_value

sbase/steps.py:826–829  ·  view source on GitHub ↗
(context, selector, attribute, value)

Source from the content-addressed store, hash-verified

824@step("In \"{selector}\" assert attribute/value '{attribute}'/'{value}'")
825@step('In \'{selector}\' assert attribute/value "{attribute}"/"{value}"')
826def assert_attribute_has_value(context, selector, attribute, value):
827 sb = context.sb
828 value = normalize_text(value)
829 sb.assert_attribute(selector, attribute, value)
830
831
832@step("Show file choosers")

Callers

nothing calls this directly

Calls 2

normalize_textFunction · 0.85
assert_attributeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…