File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { sleep } from '@codebuff/common/util/promise'
77import { ensureUrlProtocol } from '@codebuff/common/util/string'
88import puppeteer from 'puppeteer-core'
99
10- import { getCurrentChatDir , getProjectDataDir } from './project-files'
10+ import { getCurrentChatDir } from './project-files'
1111import { logger } from './utils/logger'
1212
1313import type {
@@ -319,13 +319,6 @@ export class BrowserRunner {
319319 this . consecutiveErrors = 0
320320 this . totalErrors = 0
321321
322- // Set up user data directory for profile persistence, scoped to current project
323- let userDataDir : string | undefined = undefined
324- try {
325- userDataDir = path . join ( getProjectDataDir ( ) , BROWSER_DEFAULTS . userDataDir )
326- ensureDirectoryExists ( userDataDir )
327- } catch ( error ) { }
328-
329322 try {
330323 // Define helper to find Chrome in standard locations
331324 const findChrome = ( ) => {
@@ -345,7 +338,6 @@ export class BrowserRunner {
345338 height : BROWSER_DEFAULTS . viewportHeight ,
346339 } ,
347340 headless : BROWSER_DEFAULTS . headless ,
348- userDataDir,
349341 waitForInitialPage : true ,
350342 args : [
351343 '--window-size=1200,800' ,
You can’t perform that action at this time.
0 commit comments