MCPcopy Index your code
hub / github.com/microsoft/Webwright / save

Method save

src/webwright/agents/default.py:462–467  ·  view source on GitHub ↗
(self, path: Path | None, *extra_dicts)

Source from the content-addressed store, hash-verified

460 )
461
462 def save(self, path: Path | None, *extra_dicts) -> dict[str, Any]:
463 data = self.serialize(*extra_dicts)
464 if path is not None:
465 path.parent.mkdir(parents=True, exist_ok=True)
466 path.write_text(json.dumps(data, indent=2))
467 return data

Callers 1

runMethod · 0.95

Calls 1

serializeMethod · 0.95

Tested by

no test coverage detected