MentorAgent Docs
Menu

Questa pagina non è ancora tradotta in italiano: qui la trovi in inglese.

RiferimentoPacchetto: Novior.MentorAgent

MentorRecipeStepDefinition record

The MentorRecipeStepDefinition record of Novior.MentorAgent.Core: One step of a recipe. MentorRecipeStepDefinition.Value is a parameter, written {name} as…

In questa pagina

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).

Namespace: Novior.MentorAgent.Core. Package: Novior.MentorAgent.

public sealed record MentorRecipeStepDefinition : IEquatable<MentorRecipeStepDefinition>

Terminal
dotnet add package Novior.MentorAgent

public MentorRecipeStepDefinition()

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.

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.

public required string Selector { get; init; }

The CSS selector of the element; for MentorRecipeStepKind.Row, of the rows. Required.

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.