Javi

Playwright on Ubuntu 26.04

Jun 18th, 2026
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. echo 'export PLAYWRIGHT_HOST_PLATFORM_OVERRIDE=ubuntu24.04-x64' >> ~/.bashrc
  2. source ~/.bashrc
  3.  
  4. npx playwright install chrome
  5.  
  6. OR if the npx command fails:
  7.  
  8. wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
  9. sudo apt install -y ./google-chrome-stable_current_amd64.deb
  10.  
Advertisement
Add Comment
Please, Sign In to add comment