UNPKG

webdriverio

Version:

Next-gen browser and mobile automation test framework for Node.js

66 lines 1.76 kB
/** * Represents a primitive type. * Described in https://w3c.github.io/webdriver-bidi/#type-script-PrimitiveProtocolValue. */ export declare enum PrimitiveType { Undefined = "undefined", Null = "null", String = "string", Number = "number", SpecialNumber = "number", Boolean = "boolean", BigInt = "bigint" } /** * Represents a non-primitive type. * Described in https://w3c.github.io/webdriver-bidi/#type-script-RemoteValue. */ export declare enum NonPrimitiveType { Array = "array", Date = "date", Map = "map", Object = "object", RegularExpression = "regexp", Set = "set", Channel = "channel" } /** * Represents a remote value type. * Described in https://w3c.github.io/webdriver-bidi/#type-script-RemoteValue. */ export declare enum RemoteType { Symbol = "symbol", Function = "function", WeakMap = "weakmap", WeakSet = "weakset", Iterator = "iterator", Generator = "generator", Error = "error", Proxy = "proxy", Promise = "promise", TypedArray = "typedarray", ArrayBuffer = "arraybuffer", NodeList = "nodelist", HTMLCollection = "htmlcollection", Node = "node", Window = "window" } /** * Represents a speacial number type. * Described in https://w3c.github.io/webdriver-bidi/#type-script-PrimitiveProtocolValue. */ export declare enum SpecialNumberType { NaN = "NaN", MinusZero = "-0", Infinity = "Infinity", MinusInfinity = "-Infinity" } /** * Represents the type of script evaluation result. * Described in https://w3c.github.io/webdriver-bidi/#type-script-EvaluateResult. */ export declare enum EvaluateResultType { Success = "success", Exception = "exception" } //# sourceMappingURL=constants.d.ts.map