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