8 lines
1.2 KiB
JavaScript
8 lines
1.2 KiB
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.getActiveClient = void 0;
|
|
async function getActiveClient(connection) {
|
|
return connection.provider.plugin.openedBrowsers[connection.id].browserClient.getActiveClient();
|
|
}
|
|
exports.getActiveClient = getActiveClient;
|
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWFjdGl2ZS1jbGllbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvcHJveHlsZXNzL3V0aWxzL2dldC1hY3RpdmUtY2xpZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUdPLEtBQUssVUFBVSxlQUFlLENBQUUsVUFBNkI7SUFDaEUsT0FBTyxVQUFVLENBQUMsUUFBUSxDQUFDLE1BQU0sQ0FBQyxjQUFjLENBQUMsVUFBVSxDQUFDLEVBQUUsQ0FBQyxDQUFDLGFBQWEsQ0FBQyxlQUFlLEVBQUUsQ0FBQztBQUNwRyxDQUFDO0FBRkQsMENBRUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgcmVtb3RlQ2hyb21lIGZyb20gJ2Nocm9tZS1yZW1vdGUtaW50ZXJmYWNlJztcbmltcG9ydCBCcm93c2VyQ29ubmVjdGlvbiBmcm9tICcuLi8uLi9icm93c2VyL2Nvbm5lY3Rpb24nO1xuXG5leHBvcnQgYXN5bmMgZnVuY3Rpb24gZ2V0QWN0aXZlQ2xpZW50IChjb25uZWN0aW9uOiBCcm93c2VyQ29ubmVjdGlvbik6IFByb21pc2U8cmVtb3RlQ2hyb21lLlByb3RvY29sQXBpPiB7XG4gICAgcmV0dXJuIGNvbm5lY3Rpb24ucHJvdmlkZXIucGx1Z2luLm9wZW5lZEJyb3dzZXJzW2Nvbm5lY3Rpb24uaWRdLmJyb3dzZXJDbGllbnQuZ2V0QWN0aXZlQ2xpZW50KCk7XG59XG4iXX0=
|