Hi, I would like to run your code as is on my Mac (OS 13.5.2) but I am having issues setting up the index.mjs and start.sh so that it runs with my Chrome browser as instructed in your README.
bash start.sh
gives
CHROME_PATH: command not found
bash.sh contains one line (where I modified to use the KEY):
OPENAI_API_KEY="<>" CHROME_PATH = "/Applications/Google\ Chrome.app/" node index.mjs
index.mjs contains one line (where I modified to use the KEY):
const api = new ChatGPTAPIBrowser({ key: process.env.OPENAI_API_KEY, path: process.env.CHROME_PATH })
I have tried several ways to identify the Chrome Path and the one above works in the terminal with "open ..."
Thank you for any help you can provide.