playwright-rust
playwright-rust copied to clipboard
None of the browsers are downloading in Playright - Mac M1
I get the below error if I use
let playwright = Playwright::initialize().await.unwrap();
playwright.prepare();
Error
Failed to install browsers
Error: Failed to download chromium, caused by
Error: ERROR: Playwright does not support chromium on mac13-arm64
Now, even if I select installation of firefox, this same happens
let playwright = Playwright::initialize().await.unwrap();
playwright.install_firefox();
Error
Error: Failed to download firefox, caused by
Error: ERROR: Playwright does not support firefox on mac13-arm64
I am not willing to have any executable path option, this will be used by some non-tech guy, so I want to keep it simple, like installing the browser and launching automatically.
My System Config

Can you recommend something here?
And BTW, this is working... https://github.com/atroche/rust-headless-chrome this downloaded browser and working, so something wrong with playwright-rust?
M1's are not currently supported due to playwright-rust using an old playwright version. See https://github.com/octaltree/playwright-rust/pull/36