diff --git a/src/Infrastructure/BotSharp.Abstraction/Browsing/Models/BrowserActionResult.cs b/src/Infrastructure/BotSharp.Abstraction/Browsing/Models/BrowserActionResult.cs index bd34e936..1867a687 100644 --- a/src/Infrastructure/BotSharp.Abstraction/Browsing/Models/BrowserActionResult.cs +++ b/src/Infrastructure/BotSharp.Abstraction/Browsing/Models/BrowserActionResult.cs @@ -6,8 +6,8 @@ public class BrowserActionResult public bool IsSuccess { get; set; } public string? Message { get; set; } public string? StackTrace { get; set; } - public string Selector { get; set; } - public string Body { get; set; } + public string? Selector { get; set; } + public string? Body { get; set; } public bool IsHighlighted { get; set; } public override string ToString() diff --git a/src/Infrastructure/BotSharp.Abstraction/Browsing/Models/ElementActionArgs.cs b/src/Infrastructure/BotSharp.Abstraction/Browsing/Models/ElementActionArgs.cs index a63fffc8..2935496c 100644 --- a/src/Infrastructure/BotSharp.Abstraction/Browsing/Models/ElementActionArgs.cs +++ b/src/Infrastructure/BotSharp.Abstraction/Browsing/Models/ElementActionArgs.cs @@ -1,7 +1,9 @@ using BotSharp.Abstraction.Browsing.Enums; +using System.Diagnostics; namespace BotSharp.Abstraction.Browsing.Models; +[DebuggerStepThrough] public class ElementActionArgs { public BroswerActionEnum Action { get; set; } diff --git a/src/Infrastructure/BotSharp.Abstraction/Browsing/Models/MessageInfo.cs b/src/Infrastructure/BotSharp.Abstraction/Browsing/Models/MessageInfo.cs index afb42dac..92c9d42d 100644 --- a/src/Infrastructure/BotSharp.Abstraction/Browsing/Models/MessageInfo.cs +++ b/src/Infrastructure/BotSharp.Abstraction/Browsing/Models/MessageInfo.cs @@ -1,7 +1,9 @@ using BotSharp.Abstraction.Infrastructures; +using System.Diagnostics; namespace BotSharp.Abstraction.Browsing.Models; +[DebuggerStepThrough] public class MessageInfo : ICacheKey { public string AgentId { get; set; } = null!; diff --git a/src/Infrastructure/BotSharp.Abstraction/Browsing/Models/PageActionArgs.cs b/src/Infrastructure/BotSharp.Abstraction/Browsing/Models/PageActionArgs.cs index 0964389b..698939e5 100644 --- a/src/Infrastructure/BotSharp.Abstraction/Browsing/Models/PageActionArgs.cs +++ b/src/Infrastructure/BotSharp.Abstraction/Browsing/Models/PageActionArgs.cs @@ -1,7 +1,9 @@ using BotSharp.Abstraction.Browsing.Enums; +using System.Diagnostics; namespace BotSharp.Abstraction.Browsing.Models; +[DebuggerStepThrough] public class PageActionArgs { public BroswerActionEnum Action { get; set; } diff --git a/src/Infrastructure/BotSharp.Abstraction/Browsing/Models/WebPageResponseFilter.cs b/src/Infrastructure/BotSharp.Abstraction/Browsing/Models/WebPageResponseFilter.cs index 54951115..00b78cc4 100644 --- a/src/Infrastructure/BotSharp.Abstraction/Browsing/Models/WebPageResponseFilter.cs +++ b/src/Infrastructure/BotSharp.Abstraction/Browsing/Models/WebPageResponseFilter.cs @@ -8,6 +8,8 @@ public class WebPageResponseFilter public string Url { get; set; } = null!; public string[]? QueryParameters { get; set; } + public string[]? PostData { get; set; } + /// /// contains, starts, ends, equals ///