BrowserRequest
Namespace: E2E.Engine
public sealed record BrowserRequest : IEquatable<BrowserRequest>What the engine asks a provider for: one browser for one worker slot, or for one attempt, of a run.
Inheritance: object
Implements: IEquatable<BrowserRequest>
Properties
Section titled “Properties”AttemptId
Section titled “AttemptId”public string? AttemptId { get; init; }Present only for a per-attempt lease.
Value: string
public required IReadOnlyDictionary<string, string?> Env { get; init; }The run’s environment: where a provider reads its token from, never the process environment.
Value: IReadOnlyDictionary<string, string>
public required Action<string> Log { get; init; }Reports one line of progress to the run’s reporter (a session URL to watch), from the runner and from a worker alike.
Value: Action<string>
public required string RunId { get; init; }The run id, for naming the session at the provider.
Value: string
public required int Slot { get; init; }Worker slot the browser serves, 0 to Slots - 1. In Worker scope Slots leases are acquired at once.
Value: int
public required int Slots { get; init; }Worker slots the run uses for this target, in all.
Value: int
TargetName
Section titled “TargetName”public required string TargetName { get; init; }The target the browser serves.
Value: string