appium-flutter-driver
Version:
Appium Flutter driver
16 lines • 529 B
JavaScript
;
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