@wdio/browserstack-service
Version:
WebdriverIO service for better Browserstack integration
65 lines • 1.31 kB
TypeScript
/**
* Enum representing different states of an automation framework
* @readonly
* @enum {Object}
*/
export declare const AutomationFrameworkState: Readonly<{
/**
* Initial state, no session created
*/
NONE: {
value: number;
toString(): string;
};
/**
* Framework instance is being created
*/
CREATE: {
value: number;
toString(): string;
};
/**
* Framework is executing tests
*/
EXECUTE: {
value: number;
toString(): string;
};
/**
* Framework is idle, not executing any tests
*/
IDLE: {
value: number;
toString(): string;
};
/**
* Framework is shutting down
*/
QUIT: {
value: number;
toString(): string;
};
}>;
/**
* Get state by value
*
* @param {number} value - The numeric value of the state
* @returns {Object|undefined} The state object or undefined if not found
*/
export declare const fromValue: (value: number) => {
value: number;
toString(): string;
} | {
value: number;
toString(): string;
} | {
value: number;
toString(): string;
} | {
value: number;
toString(): string;
} | {
value: number;
toString(): string;
} | undefined;
//# sourceMappingURL=automationFrameworkState.d.ts.map