UNPKG

appium-flutter-driver

Version:
16 lines 529 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.IsolateSocket = void 0; const rpc_websockets_1 = require("rpc-websockets"); class IsolateSocket extends rpc_websockets_1.Client { isolateId = 0; async executeSocketCommand(args) { // call an RPC method with parameters return this.call(`ext.flutter.driver`, { ...args, isolateId: this.isolateId, }); } } exports.IsolateSocket = IsolateSocket; //# sourceMappingURL=isolate_socket.js.map