File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Infrastructure/BotSharp.Abstraction/Browsing/Settings
Plugins/BotSharp.Plugin.WebDriver Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -5,5 +5,5 @@ public class WebBrowsingSettings
55 public string Driver { get ; set ; } = "Playwright" ;
66 public bool Headless { get ; set ; }
77 // Default timeout in milliseconds
8- public float DefaultTimeOut { get ; set ; } = 30000 ;
8+ public float DefaultTimeout { get ; set ; } = 30000 ;
99}
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ public async Task<bool> Execute(RoleDialogModel message)
3636 } , new PageActionArgs
3737 {
3838 Url = url ,
39- Timeout = _webDriver . DefaultTimeOut
39+ Timeout = _webDriver . DefaultTimeout
4040 } ) ;
4141 message . Content = result . IsSuccess ? $ "Page { url } is open." : $ "Page { url } open failed. { result . Message } ";
4242
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ public async Task<bool> Execute(RoleDialogModel message)
4141 result = await _browser . GoToPage ( msgInfo , new PageActionArgs
4242 {
4343 Url = url ,
44- Timeout = _webDriver . DefaultTimeOut
44+ Timeout = _webDriver . DefaultTimeout
4545 } ) ;
4646
4747 if ( result . IsSuccess )
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ public async Task<bool> Execute(RoleDialogModel message)
2424 PropertyNamingPolicy = JsonNamingPolicy . CamelCase
2525 } ) ;
2626 var _webDriver = _services . GetRequiredService < WebBrowsingSettings > ( ) ;
27- args . Timeout = _webDriver . DefaultTimeOut ;
27+ args . Timeout = _webDriver . DefaultTimeout ;
2828 args . WaitForNetworkIdle = false ;
2929 args . WaitTime = 5 ;
3030 args . OpenNewTab = true ;
You can’t perform that action at this time.
0 commit comments