Skip to content

Instantly share code, notes, and snippets.

@lossendae
Created September 18, 2023 10:55
Show Gist options
  • Save lossendae/2fd4e7634b1be4cb3ef0ea40f99235e4 to your computer and use it in GitHub Desktop.
Save lossendae/2fd4e7634b1be4cb3ef0ea40f99235e4 to your computer and use it in GitHub Desktop.
Allow Cypress to run chrome installed via flatpak

Create a file in your home and make it executable:

sudo vi ~/.local/bin/chrome
sudo chmod +x ~/.local/bin/chrome

Content of the file :

#!/bin/bash
flatpak run com.google.Chrome "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment