This commit is contained in:
Haiping Chen 2024-10-27 21:07:30 -05:00
parent c06b0144c9
commit 6961ef5e19
5 changed files with 10 additions and 2 deletions

View file

@ -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()

View file

@ -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; }

View file

@ -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!;

View file

@ -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; }

View file

@ -8,6 +8,8 @@ public class WebPageResponseFilter
public string Url { get; set; } = null!;
public string[]? QueryParameters { get; set; }
public string[]? PostData { get; set; }
/// <summary>
/// contains, starts, ends, equals
/// </summary>