EngineHandle
Namespace: E2E.Engine
public sealed class EngineHandleUpstream’s engine handle (defineEngine’s result, engine/manifest.ts): the validated engine with its capability set. A handle
is only built by DefineEngine(EngineSpec).
Inheritance: object
Properties
Section titled “Properties”Actions
Section titled “Actions”public IReadOnlyList<string>? Actions { get; }The action kinds Perform honors, or null without the actions capability.
Value: IReadOnlyList<string>
Artifacts
Section titled “Artifacts”public EngineArtifactsSpec? Artifacts { get; }Value: EngineArtifactsSpec
Capabilities
Section titled “Capabilities”public IReadOnlySet<string> Capabilities { get; }The capabilities the spec declares: observation, computed-style, actions, location, viewport-intersection, pointer, keyboard, state, artifacts, and each fixture name.
Value: IReadOnlySet<string>
Dispose
Section titled “Dispose”public Func<EngineDisposeContext, Task>? Dispose { get; }Value: Func<EngineDisposeContext, Task>
Doctor
Section titled “Doctor”public Func<EngineDoctorInfo, Task<IReadOnlyList<EngineDoctorCheck>>>? Doctor { get; }Value: Func<EngineDoctorInfo, Task<IReadOnlyList<EngineDoctorCheck>>>
EndAttempt
Section titled “EndAttempt”public Func<EngineCleanupContext, Task>? EndAttempt { get; }Value: Func<EngineCleanupContext, Task>
FileApps
Section titled “FileApps”public bool? FileApps { get; }Whether the engine opens a file: URL app; null when the spec does not declare it.
Value: bool?
Finish
Section titled “Finish”public Func<EngineFinishInfo, Task>? Finish { get; }Value: Func<EngineFinishInfo, Task>
Fixtures
Section titled “Fixtures”public IReadOnlyDictionary<string, Delegate>? Fixtures { get; }Value: IReadOnlyDictionary<string, Delegate>
GrantsAllPermissions
Section titled “GrantsAllPermissions”public bool? GrantsAllPermissions { get; }Whether the engine grants app.permissions: 'all'; null when the spec does not declare it.
Value: bool?
public Func<EngineInitInfo, Task>? Init { get; }Value: Func<EngineInitInfo, Task>
Isolation
Section titled “Isolation”public string? Isolation { get; }Worker when the engine’s fixtures, app, and screen outlive an attempt; null for the default, Attempt.
Value: string
Keyboard
Section titled “Keyboard”public EngineKeyboardSpec? Keyboard { get; }Value: EngineKeyboardSpec
LaunchArgumentValues
Section titled “LaunchArgumentValues”public bool? LaunchArgumentValues { get; }Whether the engine reads the object form of app.launchArguments; null when the spec does not declare it.
Value: bool?
Locate
Section titled “Locate”public Func<LocatorExpression, OperationContext, Task<IReadOnlyList<EngineNode>>>? Locate { get; }Value: Func<LocatorExpression, OperationContext, Task<IReadOnlyList<EngineNode>>>
public string Name { get; }Value: string
Observe
Section titled “Observe”public Func<OperationContext, ObserveOptions?, Task<EngineSnapshot>>? Observe { get; }Value: Func<OperationContext, ObserveOptions, Task<EngineSnapshot>>
Perform
Section titled “Perform”public Func<NodeRef, LocatorAction, OperationContext, Task>? Perform { get; }Value: Func<NodeRef, LocatorAction, OperationContext, Task>
PerformAt
Section titled “PerformAt”public Func<Point, PointerAction, OperationContext, Task>? PerformAt { get; }Value: Func<Point, PointerAction, OperationContext, Task>
Platform
Section titled “Platform”public string? Platform { get; }Value: string
PointerActions
Section titled “PointerActions”public IReadOnlyList<string>? PointerActions { get; }The pointer action kinds PerformAt honors, or null without the pointer capability.
Value: IReadOnlyList<string>
Prepare
Section titled “Prepare”public Func<EnginePrepareInfo, Task<EnginePrepareResult?>>? Prepare { get; }Value: Func<EnginePrepareInfo, Task<EnginePrepareResult>>
ReadStyle
Section titled “ReadStyle”public Func<NodeRef, IReadOnlyList<string>, OperationContext, Task<IReadOnlyDictionary<string, string>>>? ReadStyle { get; }Value: Func<NodeRef, IReadOnlyList<string>, OperationContext, Task<IReadOnlyDictionary<string, string>>>
Secrets
Section titled “Secrets”public IReadOnlyList<Secret>? Secrets { get; }The secrets the engine holds, each name once; null when the spec declares none.
Value: IReadOnlyList<Secret>
SelectsDevice
Section titled “SelectsDevice”public bool? SelectsDevice { get; }Whether Prepare binds the device --device names; null when the spec does not declare it.
Value: bool?
Session
Section titled “Session”public EngineSessionSpec? Session { get; }Value: EngineSessionSpec
SettleAttempt
Section titled “SettleAttempt”public Func<EngineCleanupContext, Task>? SettleAttempt { get; }Value: Func<EngineCleanupContext, Task>
SpiVersion
Section titled “SpiVersion”public int SpiVersion { get; }Value: int
StartAttempt
Section titled “StartAttempt”public Func<EngineAttemptContext, Task>? StartAttempt { get; }Value: Func<EngineAttemptContext, Task>
public EngineStateSpec? State { get; }Value: EngineStateSpec
TapModifiers
Section titled “TapModifiers”public bool? TapModifiers { get; }Whether the tap actions take modifier keys; null when the spec does not declare it.
Value: bool?
ValidateApp
Section titled “ValidateApp”public Action<EngineAppDeclaration, EngineAppCheckInfo>? ValidateApp { get; }Value: Action<EngineAppDeclaration, EngineAppCheckInfo>
Version
Section titled “Version”public string Version { get; }Value: string
ViewportIntersection
Section titled “ViewportIntersection”public Func<NodeRef, OperationContext, Task<ViewportIntersection>>? ViewportIntersection { get; }Value: Func<NodeRef, OperationContext, Task<ViewportIntersection>>
Workers
Section titled “Workers”public int? Workers { get; }Value: int?