MCPcopy
hub / github.com/microsoft/playwright-python / locals_to_params

Function locals_to_params

playwright/_impl/_helper.py:376–387  ·  view source on GitHub ↗
(args: Dict)

Source from the content-addressed store, hash-verified

374
375
376def locals_to_params(args: Dict) -> Dict:
377 copy = {}
378 for key in args:
379 if key == "self":
380 continue
381 if args[key] is not None:
382 copy[key] = (
383 args[key]
384 if not isinstance(args[key], Dict)
385 else locals_to_params(args[key])
386 )
387 return copy
388
389
390def monotonic_time() -> int:

Callers 15

hoverMethod · 0.90
clickMethod · 0.90
dblclickMethod · 0.90
select_optionMethod · 0.90
tapMethod · 0.90
fillMethod · 0.90
select_textMethod · 0.90
input_valueMethod · 0.90
typeMethod · 0.90
pressMethod · 0.90
checkMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected