"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MOBILE_ELEMENT_IDENTIFIER_PROPERTY = exports.DEFAULT_APPIUM_SERVER_PORT = exports.DEFAULT_APPIUM_SERVER_HOST = void 0;
exports.isMobileWebdriverElement = isMobileWebdriverElement;
exports.DEFAULT_APPIUM_SERVER_HOST = '127.0.0.1';
exports.DEFAULT_APPIUM_SERVER_PORT = 4723;
exports.MOBILE_ELEMENT_IDENTIFIER_PROPERTY = 'element-6066-11e4-a52e-4f735466cecf';
function isMobileWebdriverElement(value) {
    if (!value || typeof value !== 'object') {
        return false;
    }
    const v = value;
    return (typeof v.sessionId === 'string' &&
        typeof v.elementId === 'string' &&
        typeof v[exports.MOBILE_ELEMENT_IDENTIFIER_PROPERTY] === 'string' &&
        typeof v.$ === 'function');
}
