We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1783b11 commit c237faeCopy full SHA for c237fae
driver-bundle/src/main/java/com/microsoft/playwright/impl/driver/jar/DriverJar.java
@@ -194,7 +194,11 @@ private static String platformDir() {
194
}
195
196
if (name.contains("mac os x")) {
197
- return "mac";
+ if (arch.equals("aarch64")) {
198
+ return "mac-arm64";
199
+ } else {
200
+ return "mac";
201
+ }
202
203
throw new RuntimeException("Unexpected os.name value: " + name);
204
scripts/download_driver_for_all_platforms.sh
@@ -33,7 +33,7 @@ fi
33
mkdir -p driver
34
cd driver
35
36
-for PLATFORM in mac linux linux-arm64 win32_x64
+for PLATFORM in mac mac-arm64 linux linux-arm64 win32_x64
37
do
38
FILE_NAME=$FILE_PREFIX-$PLATFORM.zip
39
if [[ -d $PLATFORM ]]; then
0 commit comments