@withkeystone/cli
Version:
Keystone CLI - Test automation for modern web apps
18 lines (15 loc) • 668 B
JavaScript
const chalk = require('chalk').default || require('chalk');
const { findChrome } = require('../dist/browser');
console.log('\n' + chalk.blue('Checking Chrome installation...'));
findChrome()
.then(path => {
console.log(chalk.green('✓') + ' Chrome found at:', path);
})
.catch(error => {
console.log(chalk.red('✗') + ' Chrome not found');
console.log('\n' + chalk.yellow('Please install Chrome or Chromium:'));
console.log(' macOS: brew install --cask google-chrome');
console.log(' Ubuntu: sudo apt-get install chromium-browser');
console.log(' Windows: Download from https://www.google.com/chrome/');
});