Comments (15)
Cannot reproduce (M1 Pro):
![image](https://private-user-images.githubusercontent.com/2840106/255396125-c63f8223-6850-4918-b47e-78050e79f4b7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTgwMjY2NDcsIm5iZiI6MTcxODAyNjM0NywicGF0aCI6Ii8yODQwMTA2LzI1NTM5NjEyNS1jNjNmODIyMy02ODUwLTQ5MTgtYjQ3ZS03ODA1MGU3OWY0YjcucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYxMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MTBUMTMzMjI3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MGRjZTk2ZjE5ZDljZjhjY2Y3MWY2MjNhMGU1NDAxMTM3MDg5MzVmOWU1MDE1YTdmYjk3ZWVkNTJhYjAwMTcyOSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.yLJOppiu9x8ePiiK2xXwVrS9eq3hyqMenWEWXMTGkQw)
from chrome-for-testing.
Interesting, thank you. that does work when launched from the command line. It did not work for me when launched from finder. That's not really the important use case but was confusing. Is that expected?
from chrome-for-testing.
Also cannot reproduce, see screenshot below (you can see I don't get the overlay 🚫 icon).
I'm glad it works for you from the command-line so that it doesn't block you. Not sure why the behavior in Finder is different for both of us though.
![image](https://private-user-images.githubusercontent.com/2840106/255405021-1086bbca-796e-4ddb-9668-b4b81b6b1f6d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTgwMjY2NDcsIm5iZiI6MTcxODAyNjM0NywicGF0aCI6Ii8yODQwMTA2LzI1NTQwNTAyMS0xMDg2YmJjYS03OTZlLTRkZGItOTY2OC1iNGI4MWI2YjFmNmQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYxMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MTBUMTMzMjI3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MDA2NGI4NDM2YjE3YmQyNTI4OTRjMDRiZDMzNmYxOWNhM2E0NzkzYmE3ZmQ3ZGE2YmNkN2MzMGI4NDcwNDUyMSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.nBNmvf4jMfM_qG7swKTazBXkDKw_OpPqTiVr8NJZ570)
from chrome-for-testing.
That screenshot was helpful. Here was some additional blurbs when I launched via the command line.
My arch is arm64, but the install process installed mac-115.0.5790.102/chrome-mac-x64/
whereas your screenshot shows chrome-mac-arm64
...
daniel.toms@Q9JQNC9X77 ~ % arch
arm64
daniel.toms@Q9JQNC9X77 ~ % npx @puppeteer/browsers install chrome@stable
[email protected] /Users/daniel.toms/chrome/mac-115.0.5790.102/chrome-mac-x64/Google Chrome for Testing.app/Contents/MacOS/Google Chrome for Testing
daniel.toms@Q9JQNC9X77 ~ % cd /Users/daniel.toms/chrome
daniel.toms@Q9JQNC9X77 chrome % mac-115.0.5790.102/chrome-mac-x64/Google Chrome for Testing.app/Contents/MacOS/Google Chrome for Testing
zsh: no such file or directory: mac-115.0.5790.102/chrome-mac-x64/Google
daniel.toms@Q9JQNC9X77 chrome % mac-115.0.5790.102/chrome-mac-x64/Google Chrome for Testing.app/Contents/MacOS/G
daniel.toms@Q9JQNC9X77 chrome % "mac-115.0.5790.102/chrome-mac-x64/Google Chrome for Testing.app/Contents/MacOS/Google Chrome for Testing"
[57465:259:0723/083617.892174:ERROR:chrome_browser_main.cc(1036)] The use of Rosetta to run the x64 version of Chromium on Arm is neither tested nor maintained, and unexpected behavior will likely result. Please check that all tools that spawn Chromium are Arm-native.
[57465:259:0723/083621.062646:ERROR:chrome_browser_cloud_management_controller.cc(162)] Cloud management controller initialization aborted as CBCM is not enabled.
from chrome-for-testing.
So it seems like my mac has rosetta running and the installer chooses to install a different architecture. i don't know if that's something that can/should be fixed, or perhaps, noted somewhere. or if its just my own environment problem to deal with. i would suspect others would hit this in the future though.
from chrome-for-testing.
FYI @OrKoN. Is @puppeteer/browsers
selecting the wrong architecture?
from chrome-for-testing.
I am not able to reproduce:
❯ arch
arm64
❯ npx @puppeteer/browsers install chrome@stable
Downloading chrome r115.0.5790.102 - 121.5 MB [====================] 100% 0.0s
[email protected] /Users/alexrudenko/src/pptr-test/chrome/mac_arm-115.0.5790.102/chrome-mac-arm64/Google Chrome for Testing.app/Contents/MacOS/Google Chrome for Testing
from chrome-for-testing.
We rely on Node to detect the platform. What does node -e "console.log(require('os').arch())"
return for you? It should be the same as arch
.
from chrome-for-testing.
Ah, got it. We use asdf
and are on an old node version 16.13.1
which does not correctly detect the arch
. Switching to v20.5.0
and its correctly detected and Chrome for Testing works as expected. You might consider adding a nodejs check to the install, or a note to the FAQ, or perhaps this issue will help future travelers. Thanks all!
(not sure the closing protocol here so will leave open)
from chrome-for-testing.
@OrKoN Do you want to move the issue to https://github.com/puppeteer/puppeteer before we close this bug, or is would you say it is WAI?
from chrome-for-testing.
not sure, I am unable to reproduce this behaviour:
❯ nvm exec 16.13.1 node -e 'console.log(require("os").arch())'
Running node v16.13.1 (npm v8.1.2)
arm64
I think it is WAI and we can close this bug given that node 16 is reaching EOL in September.
from chrome-for-testing.
for posterity, with asdf
daniel.toms@Q9JQNC9X77 ~ % asdf local nodejs 16.13.1
daniel.toms@Q9JQNC9X77 ~ % node -e 'console.log(require("os").arch())'
x64
from chrome-for-testing.
@dtoms so this is an bug specifically with asdf? do you know if there is an open bug report?
from chrome-for-testing.
@OrKoN I don't know sorry.
from chrome-for-testing.
Since it's working with nvm
, we can just close this. If more issues come up related to asdf
then we can reconsider.
from chrome-for-testing.
Related Issues (20)
- Check version gives following error HOT 1
- Install Specific version on ubuntu HOT 1
- chrome://settings crashing latest stable (120.0.6099.109) on linux64 and mac-arm64 HOT 1
- Update Date Request for 121.0.6167.139 HOT 1
- folder for policies HOT 2
- Puppeteer calls are 404ing HOT 8
- Chrome on Ubuntu Fails to Respect --crash-dumps-dir and --disable-crash-reporter Flags HOT 1
- headless=new hangs chrome process on some pages, tested on 1.22 HOT 1
- chromedriver version not found HOT 4
- When activated with headless=new mode, elements that can be retrieved with headfull cannot be retrieved. HOT 1
- folder for policies on windows HOT 6
- @puppeteer/browsers package doesn't install dependencies HOT 4
- Where is Chrome 124 in stable? HOT 21
- Man
- CPU load issue with chromedriver 124.0.6367.79 HOT 5
- Is there a way to turn off fetch() throwing for streaming requests that are TCP, not TLS, HTTP/2, or QUIC?
- how to disable Chrome to ask for confirmation to open external application everytime
- How to disable window.open() being blocked for isolated-app: URL?
- Target is getting auto attached to an empty target after upgrading chrome driver to 124
- Latest version 125.0.6422.78 not available at dl.google.com HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chrome-for-testing.