-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: playwright is launching the chrome x86_64 version on the Mac book M3 #34154
Comments
Could you try if the steps in #23914 (comment) help? Looks similar to #23914 |
@mxschmitt : I tried these steps Rosetta emulated is not enabled. Emulate using Rosetta I don't see this option in the chrome. |
What's the output of |
/Users/jhatti/.sdkman/candidates/java/current/bin/java: Mach-O 64-bit executable arm64 |
@jagadish1010 Unfortunately, the problem is most likely in your setup. Even if you share a repro, running it on our hardware probably won't reproduce the issue. Try looking around for the executable properties of your |
@dgozman : When I see the version of the browser launched using the playwright |
This is most definitely something specific to your setup, so i'll go ahead and mark it closed for housekeeping purposes. Feel free to continue sharing your findings here, it might help others with the same problem! As Dmitry noted, try looking at the executable properties of |
Version
v1.49.1
Steps to reproduce
/Applications/Google Chrome.app/Contents/MacOS/Google Chrome: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64:Mach-O 64-bit executable arm64]
/Applications/Google Chrome.app/Contents/MacOS/Google Chrome (for architecture x86_64): Mach-O 64-bit executable x86_64
/Applications/Google Chrome.app/Contents/MacOS/Google Chrome (for architecture arm64): Mach-O 64-bit executable arm64
It has binary with 2 architectures.
3. When we launch the browser using playwright it is picking the intel chip chrome instead of the Mach-O 64-bit executable arm64.
4. Using the java code to launch
5. Sample code :
6. case "chrome":
browserType = playwright.chromium();
launchOptions.setChannel("chrome");
break;
Expected behavior
Expected to launch the browser with architecture arm64
Actual behavior
Launching the browser with architecture x86_64
Additional context
No response
Environment
Mac Book Pro 3 Chip : Apple M3 chip pro
The text was updated successfully, but these errors were encountered: