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
|
|
|
|
2024-02-04 22:55:46 +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; }
|
|
|
|
|
|
2024-02-04 22:55:46 +00:00
|
|
|
[JsonPropertyName("press_enter")]
|
|
|
|
|
public bool? PressEnter { get; set; }
|
|
|
|
|
|
2024-02-02 04:16:57 +00:00
|
|
|
[JsonPropertyName("match_rule")]
|
2024-02-04 22:55:46 +00:00
|
|
|
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-02-15 20:37:42 +00:00
|
|
|
|
|
|
|
|
[JsonPropertyName("direction")]
|
|
|
|
|
public string? Direction { get; set; }
|
2024-01-03 04:43:37 +00:00
|
|
|
}
|