Update contextId for close browser utility.
This commit is contained in:
parent
16300b9a1d
commit
b9c7f63249
|
|
@ -28,7 +28,7 @@ public class UtilWebCloseBrowserFn : IFunctionCallback
|
|||
ContextId = webDriverService.GetMessageContext(message)
|
||||
};
|
||||
|
||||
await browser.CloseBrowser(message.CurrentAgentId);
|
||||
await browser.CloseBrowser(msg.ContextId);
|
||||
|
||||
message.Content = $"Browser closed.";
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue