// `config` is the resolved Cypress config
on("before:browser:launch", (browser = {}, launchOptions) => {
const downloadDirectory = path.join(__dirname, "..", "downloads");
// `config` is the resolved Cypress config
on("before:browser:launch", (browser = {}, launchOptions) => {
const downloadDirectory = path.join(__dirname, "..", "downloads");