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

23 lines
580 B
C#
Raw Normal View History

2024-06-10 15:51:14 +00:00
using BotSharp.Abstraction.Browsing.Enums;
namespace BotSharp.Abstraction.Browsing.Models;
public class PageActionArgs
{
public BroswerActionEnum Action { get; set; }
public string? Content { get; set; }
public string? Direction { get; set; }
public string Url { get; set; } = null!;
public bool OpenNewTab { get; set; } = false;
2024-06-21 18:23:18 +00:00
2024-07-27 03:38:28 +00:00
public bool WaitForNetworkIdle { get; set; } = true;
2024-06-26 12:48:15 +00:00
public float? Timeout { get; set; }
2024-08-04 22:48:52 +00:00
/// <summary>
/// Wait time in seconds after page is opened
/// </summary>
public int WaitTime { get; set; }
2024-06-10 15:51:14 +00:00
}