You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you navigate to this URL in interactive mode (isInteractive = true), and keep it open while I chat with you, DO NOT DO ANYTHING UNTIL I TELL YOU TO CONTINUE.
this.isInteractiveMode// Pass the flag to recursivelyMakeClineRequests
722
+
this.isInteractiveMode,// Pass the flag to recursivelyMakeClineRequests
723
+
this.browserPort// Pass the browserPort to recursivelyMakeClineRequests
705
724
)
706
725
includeFileDetails=false
707
726
@@ -1493,7 +1512,7 @@ export class Cline {
1493
1512
// NOTE: it's okay that we call this message since the partial inspect_site is finished streaming. The only scenario we have to avoid is sending messages WHILE a partial message exists at the end of the messages array. For example the api_req_finished message would interfere with the partial message, so we needed to remove that.
1494
1513
// await this.say("inspect_site_result", "") // no result, starts the loading spinner waiting for result
thrownewError('Could not get WebSocket endpoint from Chrome debugging API')
43
+
thrownewError(`BrowserSession.ts :: launchBrowser :: Could not get webSocketDebuggerUrl from Chrome debugging API, port: ${this.browserPort}`)
38
44
}
39
45
40
46
this.browser=awaitconnect({
41
47
browserWSEndpoint,
42
48
})
43
49
}catch(error){
44
-
console.error("Failed to connect to browser:",error)
45
-
thrownewError(`Failed to connect to browser: ${error.message}`)
50
+
console.error("BrowserSession.ts :: launchBrowser :: Failed to connect to browser, make sure you have a running browser with --remote-debugging-port=7333",error)
51
+
thrownewError(`BrowserSession.ts :: launchBrowser :: Failed to connect to browser: ${error.message}, make sure you have a running browser with --remote-debugging-port=7333`)
46
52
}
47
53
}else{
48
54
this.browser=awaitlaunch({
@@ -63,7 +69,7 @@ export class BrowserSession {
63
69
return{
64
70
screenshot: "",
65
71
logs: this.isInteractive ?
66
-
"Browser launched in interactive mode. Please confirm when you're done using the browser." :
72
+
"Connected to browser in remote debugging mode." :
0 commit comments