MentorRecipeStepDefinition record
The MentorRecipeStepDefinition record of Novior.MentorAgent.Core: One step of a recipe. MentorRecipeStepDefinition.Value is a parameter, written {name} as…
On this page
One step of a recipe. MentorRecipeStepDefinition.Value is a parameter, written {name} as the whole value, or a text, where {{ and }} are a brace: a single brace in a text is an error (MentorRecipeRejectionReasons.InvalidValue).
Definition
Section titled “Definition”Namespace: Novior.MentorAgent.Core. Package: Novior.MentorAgent.
public sealed record MentorRecipeStepDefinition : IEquatable<MentorRecipeStepDefinition>
dotnet add package Novior.MentorAgentConstructors
Section titled “Constructors”public MentorRecipeStepDefinition()
Properties
Section titled “Properties”public string? Cell { get; init; }
A row step: the cell, inside a row, whose text is the row's key (td:nth-child(1)). Required for a row.
Filter
Section titled “Filter”public string? Filter { get; init; }
A row step: the page's own filter field, given the key before the rows are scrolled.
public required MentorRecipeStepKind Kind { get; init; }
What the step does.
Selector
Section titled “Selector”public required string Selector { get; init; }
The CSS selector of the element; for MentorRecipeStepKind.Row, of the rows. Required.
Target
Section titled “Target”public string? Target { get; init; }
A row step: what to click inside the row found; none, the row is only brought into view.
public string? Value { get; init; }
The value written, chosen or checked; for MentorRecipeStepKind.Row, the row's key.
