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

Function select_option_by_text

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

Source from the content-addressed store, hash-verified

440@step("User finds '{selector}' and selects \"{text}\"")
441@step('User finds "{selector}" and selects \'{text}\'')
442def select_option_by_text(context, selector, text):
443 sb = context.sb
444 text = normalize_text(text)
445 sb.select_option_by_text(selector, text)
446
447
448@step("Find '{selector}' and select '{text}' by {option}")

Callers

nothing calls this directly

Calls 2

normalize_textFunction · 0.85
select_option_by_textMethod · 0.45

Tested by

no test coverage detected