#165·carlo

Chrome takes 6s to load when not specifying executable path

Author: ghostCreated Dec 8, 2019Updated Dec 8, 2019
const launchOptions = { width: 500, height: 400, executablePath: "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" };
const startTime = new Date().getTime();
const app = await carlo.launch(launchOptions);
const launchTime = new Date().getTime() - startTime;

This takes <1s to launch

const launchOptions = { width: 500, height: 400" };
const startTime = new Date().getTime();
const app = await carlo.launch(launchOptions);
const launchTime = new Date().getTime() - startTime;

This takes 6s to launch