Skip to content

Commit f2c3109

Browse files
authored
fix: show PY version instead of driver version (#1068)
1 parent 174d624 commit f2c3109

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

playwright/__main__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,14 @@
1717
import sys
1818

1919
from playwright._impl._driver import compute_driver_executable
20+
from playwright._repo_version import version
2021

2122

2223
def main() -> None:
2324
driver_executable = compute_driver_executable()
2425
env = os.environ.copy()
2526
env["PW_CLI_TARGET_LANG"] = "python"
27+
env["PW_CLI_DISPLAY_VERSION"] = version
2628
completed_process = subprocess.run([str(driver_executable), *sys.argv[1:]], env=env)
2729
sys.exit(completed_process.returncode)
2830

0 commit comments

Comments
 (0)