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

Function set_value

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

Source from the content-addressed store, hash-verified

279@step("User sets value of \"{selector}\" to '{text}'")
280@step('User sets value of \'{selector}\' to "{text}"')
281def set_value(context, selector, text):
282 sb = context.sb
283 text = normalize_text(text)
284 sb.set_value(selector, text)
285
286
287@step("Switch to iframe '{frame}'")

Callers

nothing calls this directly

Calls 2

normalize_textFunction · 0.85
set_valueMethod · 0.45

Tested by

no test coverage detected