There was an error while loading. Please reload this page.
1 parent 174d624 commit f2c3109Copy full SHA for f2c3109
playwright/__main__.py
@@ -17,12 +17,14 @@
17
import sys
18
19
from playwright._impl._driver import compute_driver_executable
20
+from playwright._repo_version import version
21
22
23
def main() -> None:
24
driver_executable = compute_driver_executable()
25
env = os.environ.copy()
26
env["PW_CLI_TARGET_LANG"] = "python"
27
+ env["PW_CLI_DISPLAY_VERSION"] = version
28
completed_process = subprocess.run([str(driver_executable), *sys.argv[1:]], env=env)
29
sys.exit(completed_process.returncode)
30
0 commit comments