UNPKG

appium-xcuitest-driver

Version:

Appium driver for iOS using XCUITest for backend

12 lines 829 B
import type { LogEntryAddedEvent, ContextUpdatedEvent, NetworkMonitorBiDiEvent } from './types'; import type { LogEntry } from '../types'; export declare const makeContextUpdatedEvent: (contextName: string) => ContextUpdatedEvent; /** * Builds a BiDi event for a single DVT NetworkMonitor instrument payload. * Clones the payload with `structuredClone` so subscribers get a plain snapshot (safe if anything * downstream mutates) without the lossiness of `JSON.stringify` (e.g. `NaN`, `undefined` handling). */ export declare function makeNetworkMonitorEvent(event: object): NetworkMonitorBiDiEvent; /** Builds the BiDi log.entryAdded payload from an internal log entry. */ export declare function makeLogEntryAddedEvent(entry: LogEntry, context: string, type: string): LogEntryAddedEvent; //# sourceMappingURL=models.d.ts.map