From 14bd97d088ed187f1ebd5b03f5145c0ed241bc31 Mon Sep 17 00:00:00 2001 From: Haiping Chen Date: Fri, 18 Oct 2024 14:21:11 -0500 Subject: [PATCH] Set default Direction as 'down' --- .../BotSharp.Abstraction/Browsing/Models/PageActionArgs.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Infrastructure/BotSharp.Abstraction/Browsing/Models/PageActionArgs.cs b/src/Infrastructure/BotSharp.Abstraction/Browsing/Models/PageActionArgs.cs index aa4154ff..0964389b 100644 --- a/src/Infrastructure/BotSharp.Abstraction/Browsing/Models/PageActionArgs.cs +++ b/src/Infrastructure/BotSharp.Abstraction/Browsing/Models/PageActionArgs.cs @@ -7,7 +7,7 @@ public class PageActionArgs public BroswerActionEnum Action { get; set; } public string? Content { get; set; } - public string? Direction { get; set; } + public string Direction { get; set; } = "down"; public string Url { get; set; } = null!;