playwright-community / playwright-go

Playwright for Go a browser automation library to control Chromium, Firefox and WebKit with a single API.
https://playwright-community.github.io/playwright-go/
MIT License
2.11k stars 156 forks source link

install browser instructions fail on fedora because it assumes linux === debian #385

Closed airtonix closed 11 months ago

airtonix commented 11 months ago

nuff said.

  • confucius probably
some-folder on git master [!?] via go v1.20.5 
> inxi -S
System:
  Host: brass Kernel: 6.4.4-200.fc38.x86_64 arch: x86_64 bits: 64
    Desktop: GNOME v: 44.3 Distro: Fedora release 38 (Thirty Eight)

some-folder on git master [!?] via go v1.20.5 
> go run github.com/playwright-community/playwright-go/cmd/playwright@latest install --with-deps
BEWARE: your OS is not officially supported by Playwright; installing dependencies for Ubuntu as a fallback.
Installing dependencies...
Switching to root user to install dependencies...
sh: line 1: apt-get: command not found
Failed to install browsers
Error: Installation process exited with code: 127
2023/10/30 19:55:08 could not run driver: exit status 1
exit status 1
airtonix commented 11 months ago

ok nothing to do with this repo:

https://github.com/search?q=repo%3Amicrosoft%2Fplaywright++%22your+OS+is+not+officially+supported+by+Playwright%22&type=code