BotSharp/src/Plugins/BotSharp.Plugin.WebDriver/LlmContexts/BrowsingContextIn.cs

43 lines
1.1 KiB
C#
Raw Normal View History

2024-01-03 04:43:37 +00:00
using System.Text.Json.Serialization;
namespace BotSharp.Plugin.WebDriver.LlmContexts;
public class BrowsingContextIn
{
[JsonPropertyName("url")]
public string? Url { get; set; }
[JsonPropertyName("element_name")]
public string? ElementName { get; set; }
2024-02-02 04:16:57 +00:00
[JsonPropertyName("element_type")]
public string? ElementType { get; set; }
2024-01-03 04:43:37 +00:00
[JsonPropertyName("input_text")]
public string? InputText { get; set; }
2024-01-06 03:24:13 +00:00
[JsonPropertyName("element_text")]
public string? ElementText { get; set; }
2024-02-14 00:19:44 +00:00
[JsonPropertyName("attribute_name")]
public string? AttributeName { get; set; }
[JsonPropertyName("attribute_value")]
public string? AttributeValue { get; set; }
[JsonPropertyName("press_enter")]
public bool? PressEnter { get; set; }
2024-02-02 04:16:57 +00:00
[JsonPropertyName("match_rule")]
public string MatchRule { get; set; } = string.Empty;
2024-02-02 04:16:57 +00:00
2024-01-10 14:18:59 +00:00
[JsonPropertyName("update_value")]
public string? UpdateValue { get; set; }
2024-01-06 03:24:13 +00:00
[JsonPropertyName("password")]
public string? Password { get; set; }
[JsonPropertyName("question")]
public string? Question { get; set; }
2024-01-03 04:43:37 +00:00
}