Docs · API reference · Motus.Abstractions
ActionResult Class#
Represents the outcome of a browser action performed by the automation engine.
public sealed record ActionResult : System.IEquatable<Motus.Abstractions.ActionResult>
Inheritance System.Object → ActionResult
Implements System.IEquatable<ActionResult>
Constructors#
ActionResult(string, Exception) Constructor#
Represents the outcome of a browser action performed by the automation engine.
public ActionResult(string Action, System.Exception? Error=null);
Parameters#
Action System.String
The action that was performed (e.g. "click", "fill").
Error System.Exception
The exception that caused the action to fail, or null if the action succeeded.
Properties#
Action Property#
The action that was performed (e.g. "click", "fill").
public string Action { get; init; }
Property Value#
Error Property#
The exception that caused the action to fail, or null if the action succeeded.
public System.Exception? Error { get; init; }