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

Function _resolve_path

src/webwright/tools/persistent_local_browser.py:46–51  ·  view source on GitHub ↗
(path_str: str, workspace_dir: str = "")

Source from the content-addressed store, hash-verified

44
45
46def _resolve_path(path_str: str, workspace_dir: str = "") -> Path:
47 path = Path(path_str)
48 if not path.is_absolute():
49 base = Path(workspace_dir) if workspace_dir else Path.cwd()
50 path = base / path
51 return path
52
53
54def _chromium_executable() -> str:

Callers 3

_cmd_createFunction · 0.85
_cmd_infoFunction · 0.85
_cmd_releaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected