UNPKG

@appium/base-driver

Version:

Base driver class for Appium drivers

20 lines 928 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DEFAULT_BASE_PATH = exports.PROTOCOLS = exports.W3C_ELEMENT_KEY = exports.MJSONWP_ELEMENT_KEY = exports.MAX_LOG_BODY_LENGTH = void 0; const support_1 = require("@appium/support"); // The default maximum length of a single log record // containing http request/response body // This value could be globally customized using the --log-filters // server feature. Example rule: // {"pattern": "(.{1,150}).*", "flags": "s", "replacer": "$1"} // ^ cuts all log records to maximum 150 chars exports.MAX_LOG_BODY_LENGTH = 1024; exports.MJSONWP_ELEMENT_KEY = 'ELEMENT'; exports.W3C_ELEMENT_KEY = support_1.util.W3C_WEB_ELEMENT_IDENTIFIER; exports.PROTOCOLS = { W3C: 'W3C', MJSONWP: 'MJSONWP', }; // Before Appium 2.0, this default value was '/wd/hub' by historical reasons. exports.DEFAULT_BASE_PATH = ''; //# sourceMappingURL=constants.js.map