MCPcopy Index your code
hub / github.com/microsoft/playwright-python / action_wrapper

Function action_wrapper

tests/sync/conftest.py:103–112  ·  view source on GitHub ↗
(action: Callable)

Source from the content-addressed store, hash-verified

101 exceptions: List[Exception] = []
102
103 def action_wrapper(action: Callable) -> Callable:
104 def body() -> Any:
105 try:
106 results[action] = action()
107 except Exception as e:
108 results[action] = e
109 exceptions.append(e)
110 g_self.switch()
111
112 return body
113
114 async def task() -> None:
115 for action in actions:

Callers 1

taskFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected