We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54e8b69 commit 7e9dbc1Copy full SHA for 7e9dbc1
1 file changed
src/lib/server.js
@@ -159,6 +159,8 @@ server.tool(
159
160
// Enable BiDi websocket if the modules are available
161
if (LogInspector && Network) {
162
+ // 'ignore' prevents BiDi from auto-dismissing alert/confirm/prompt dialogs,
163
+ // allowing accept_alert, dismiss_alert, and get_alert_text to work as expected.
164
builder = builder.withCapabilities({ 'webSocketUrl': true, 'unhandledPromptBehavior': 'ignore' });
165
}
166
0 commit comments