From f546fcf3ad80c9dc34ac1570bad9ecbfa56f200f Mon Sep 17 00:00:00 2001 From: Ibraheem Saleh Date: Mon, 3 Feb 2025 18:40:21 -0800 Subject: [PATCH] add mac browser path --- index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.js b/index.js index 5762c92..13c7b8b 100644 --- a/index.js +++ b/index.js @@ -10,6 +10,8 @@ import fs from 'fs'; const url = 'https://www.bestbuy.com/gateway/graphql'; const browser_path = 'C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe'; +// toggle if on Mac! +// const browser_path = '/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome'; puppeteer.use(StealthPlugin()); puppeteer.use(AnonymizeUAPlugin());