Files
appium/index.js
T
Mykola Mokhnach b1648467dc Add common websocket handlers (#196)
* Add common websocket handlers

* tune the default prefix

* Add integration test

* Tune the test

* Fix the functional test

* Tune socket import

* Address review comments

* Tune some expectations
2018-03-22 16:21:02 +01:00

37 lines
1.2 KiB
JavaScript

// 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 { 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 };