forked from appium/appium-base-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
42 lines (33 loc) · 1.42 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// transpile:main
// BaseDriver exports
import BaseDriver from './lib/basedriver/driver';
import DeviceSettings from './lib/basedriver/device-settings';
export { BaseDriver, DeviceSettings };
export default BaseDriver;
// MJSONWP exports
import { Protocol, routeConfiguringFunction, errors, isErrorType,
errorFromMJSONWPStatusCode, errorFromW3CJsonCode,
ALL_COMMANDS, METHOD_MAP, routeToCommandName,
NO_SESSION_ID_COMMANDS, isSessionCommand } from './lib/protocol';
export { Protocol, routeConfiguringFunction, errors, isErrorType,
errorFromMJSONWPStatusCode, errorFromW3CJsonCode, errorFromMJSONWPStatusCode as errorFromCode,
ALL_COMMANDS, METHOD_MAP, routeToCommandName,
NO_SESSION_ID_COMMANDS, isSessionCommand };
// Express exports
import { STATIC_DIR } from './lib/express/static';
export { STATIC_DIR };
import { server } from './lib/express/server';
export { server };
// jsonwp-proxy exports
import JWProxy from './lib/jsonwp-proxy/proxy';
export { JWProxy };
// jsonwp-status exports
import { codes, getSummaryByCode } from './lib/jsonwp-status/status';
const statusCodes = codes;
export { statusCodes, getSummaryByCode };
// W3C capabilities parser
import { processCapabilities } from './lib/basedriver/capabilities';
export { processCapabilities };
// Web socket helpers
import { DEFAULT_WS_PATHNAME_PREFIX } from './lib/express/websocket';
export { DEFAULT_WS_PATHNAME_PREFIX };