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

Function main

playwright/__main__.py:21–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19
20
21def main() -> None:
22 try:
23 driver_executable, driver_cli = compute_driver_executable()
24 completed_process = subprocess.run(
25 [driver_executable, driver_cli, *sys.argv[1:]], env=get_driver_env()
26 )
27 sys.exit(completed_process.returncode)
28 except KeyboardInterrupt:
29 sys.exit(130)
30
31
32if __name__ == "__main__":

Callers 1

__main__.pyFile · 0.70

Calls 3

get_driver_envFunction · 0.90
runMethod · 0.45

Tested by

no test coverage detected