BotSharp/src/Infrastructure/BotSharp.Abstraction/Browsing/Models/ElementLocatingArgs.cs

25 lines
629 B
C#
Raw Normal View History

2024-03-08 13:19:13 +00:00
namespace BotSharp.Abstraction.Browsing.Models;
public class ElementLocatingArgs
{
[JsonPropertyName("match_rule")]
public string MatchRule { get; set; } = string.Empty;
[JsonPropertyName("text")]
public string? Text { get; set; }
[JsonPropertyName("attribute_name")]
public string? AttributeName { get; set; }
[JsonPropertyName("attribute_value")]
public string? AttributeValue { get; set; }
[JsonPropertyName("index")]
public int Index { get; set; } = -1;
[JsonPropertyName("selector")]
public string? Selector { get; set; }
public bool FailIfMultiple { get; set; }
}