MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / value_alias

Function value_alias

py/generate_bidi_protocol.py:98–100  ·  view source on GitHub ↗

The TypeAlias name for a union's set of concrete variants.

(type_name: str)

Source from the content-addressed store, hash-verified

96
97
98def value_alias(type_name: str) -> str:
99 """The TypeAlias name for a union's set of concrete variants."""
100 return f"{type_class_name(type_name)}Value"
101
102
103def safe_name(name: str) -> str:

Callers 5

_py_refMethod · 0.85
build_commandFunction · 0.85
_cross_domain_importsFunction · 0.85
_emit_unionFunction · 0.85

Calls 1

type_class_nameFunction · 0.85

Tested by 1