1diff --git a/playwright/_impl/_driver.py b/playwright/_impl/_driver.py
2index 9e8cdc1..7ee382d 100644
3--- a/playwright/_impl/_driver.py
4+++ b/playwright/_impl/_driver.py
5@@ -23,11 +23,7 @@ from playwright._repo_version import version
6
7
8 def compute_driver_executable() -> Tuple[str, str]:
9- driver_path = Path(inspect.getfile(playwright)).parent / "driver"
10- cli_path = str(driver_path / "package" / "cli.js")
11- if sys.platform == "win32":
12- return (str(driver_path / "node.exe"), cli_path)
13- return (os.getenv("PLAYWRIGHT_NODEJS_PATH", str(driver_path / "node")), cli_path)
14+ return "@node@", "@driver@"
15
16
17 def get_driver_env() -> dict:
18diff --git a/setup.py b/setup.py
19index 8709e52..59784dd 100644
20--- a/setup.py
21+++ b/setup.py
22@@ -141,25 +141,8 @@ class PlaywrightBDistWheelCommand(BDistWheelCommand):
23 base_wheel_location: str = glob.glob(os.path.join(self.dist_dir, "*.whl"))[0]
24 without_platform = base_wheel_location[:-7]
25 for wheel_bundle in wheels:
26- download_driver(wheel_bundle["zip_name"])
27- zip_file = (
28- f"driver/playwright-{driver_version}-{wheel_bundle['zip_name']}.zip"
29- )
30- with zipfile.ZipFile(zip_file, "r") as zip:
31- extractall(zip, f"driver/{wheel_bundle['zip_name']}")
32 wheel_location = without_platform + wheel_bundle["wheel"]
33 shutil.copy(base_wheel_location, wheel_location)
34- with zipfile.ZipFile(wheel_location, "a") as zip:
35- driver_root = os.path.abspath(f"driver/{wheel_bundle['zip_name']}")
36- for dir_path, _, files in os.walk(driver_root):
37- for file in files:
38- from_path = os.path.join(dir_path, file)
39- to_path = os.path.relpath(from_path, driver_root)
40- zip.write(from_path, f"playwright/driver/{to_path}")
41- zip.writestr(
42- "playwright/driver/README.md",
43- f"{wheel_bundle['wheel']} driver package",
44- )
45 os.remove(base_wheel_location)
46 if InWheel:
47 for whlfile in glob.glob(os.path.join(self.dist_dir, "*.whl")):