Skip to content

Commit b9c7f63

Browse files
author
Visagan Guruparan
committed
Update contextId for close browser utility.
1 parent 16300b9 commit b9c7f63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Plugins/BotSharp.Plugin.WebDriver/UtilFunctions/UtilWebCloseBrowserFn.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public async Task<bool> Execute(RoleDialogModel message)
2828
ContextId = webDriverService.GetMessageContext(message)
2929
};
3030

31-
await browser.CloseBrowser(message.CurrentAgentId);
31+
await browser.CloseBrowser(msg.ContextId);
3232

3333
message.Content = $"Browser closed.";
3434

0 commit comments

Comments
 (0)