Class ProtoExecutionContextExtensions

Namespace
ProtoTest.Devices
Assembly
ProtoTest.Devices.dll

Reaches the current test's device clients.

public static class ProtoExecutionContextExtensions
Inheritance
ProtoExecutionContextExtensions
Inherited Members

Methods

Devices(ProtoExecutionContext, string?)

Gets the devices of a named client; without a name, the only registered client. Mirrors the REST and GraphQL accessors: the client is chosen here, the device id at For.

public static ProtoDeviceClient Devices(this ProtoExecutionContext context, string? clientName = null)

Parameters

context ProtoExecutionContext
clientName string

Returns

ProtoDeviceClient