Skip to content

Commit 36115d7

Browse files
authored
fix: change profile folder name to browser-profile (#39)
1 parent 014a8bc commit 36115d7

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@ You can also run `npx chrome-devtools-mcp@latest --help` to see all available co
189189
`chrome-devtools-mcp` starts a Chrome's stable channel instance using the following user
190190
data directory:
191191

192-
- Linux / MacOS: `$HOME/.cache/chrome-devtools-mcp/mcp-profile-$CHANNEL`
193-
- Window: `%HOMEPATH%/.cache/chrome-devtools-mcp/mcp-profile-$CHANNEL`
192+
- Linux / MacOS: `$HOME/.cache/chrome-devtools-mcp/chrome-profile-$CHANNEL`
193+
- Window: `%HOMEPATH%/.cache/chrome-devtools-mcp/chrome-profile-$CHANNEL`
194194

195195
The user data directory is not cleared between runs and shared across
196196
all instances of `chrome-devtools-mcp`. Set the `isolated` option to `true`

src/browser.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ type McpLaunchOptions = {
6666
export async function launch(options: McpLaunchOptions): Promise<Browser> {
6767
const {channel, executablePath, customDevTools, headless, isolated} = options;
6868
const profileDirName =
69-
channel && channel !== 'stable' ? `mcp-profile-${channel}` : 'mcp-profile';
69+
channel && channel !== 'stable'
70+
? `chrome-profile-${channel}`
71+
: 'chrome-profile';
7072

7173
let userDataDir = options.userDataDir;
7274
if (!isolated && !userDataDir) {

0 commit comments

Comments
 (0)