MCPcopy Create free account
hub / github.com/microsoft/Webwright / _python_action_text

Function _python_action_text

src/webwright/agents/default.py:71–72  ·  view source on GitHub ↗
(action: dict[str, Any])

Source from the content-addressed store, hash-verified

69
70
71def _python_action_text(action: dict[str, Any]) -> str:
72 return str(action.get("python_code") or "").strip()
73
74
75def _markdown_code_fence_language(*, bash_command_text: str, python_code_text: str) -> str:

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected