browserstack-node-sdk 1.64.2 → 1.65.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/generated/sdk-messages-accessibility_pb.d.ts +70 -0
- package/generated/sdk-messages-accessibility_pb.js +545 -1
- package/generated/sdk_grpc_pb.d.ts +5 -0
- package/generated/sdk_grpc_pb.js +33 -0
- package/package.json +3 -3
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.js +1 -0
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -0
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
- package/src/ai-sdk-node/bundle.js +0 -1
- package/src/ai-sdk-node/extensions/chrome_extension.crx +0 -0
- package/src/bin/mocha/test-observability/builderPatch.js +0 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +0 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +0 -1
- package/src/helpers/timeoutPromise.js +0 -1
|
@@ -33,6 +33,8 @@ goog.exportSymbol('proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.
|
|
|
33
33
|
goog.exportSymbol('proto.browserstack.sdk.v1.Accessibility.AccessibilityOptions.AccessibilityScript', null, global);
|
|
34
34
|
goog.exportSymbol('proto.browserstack.sdk.v1.AccessibilityConfigRequest', null, global);
|
|
35
35
|
goog.exportSymbol('proto.browserstack.sdk.v1.AccessibilityConfigResponse', null, global);
|
|
36
|
+
goog.exportSymbol('proto.browserstack.sdk.v1.AccessibilityResultRequest', null, global);
|
|
37
|
+
goog.exportSymbol('proto.browserstack.sdk.v1.AccessibilityResultResponse', null, global);
|
|
36
38
|
/**
|
|
37
39
|
* Generated by JsPbCodeGenerator.
|
|
38
40
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -201,6 +203,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
201
203
|
*/
|
|
202
204
|
proto.browserstack.sdk.v1.AccessibilityConfigResponse.displayName = 'proto.browserstack.sdk.v1.AccessibilityConfigResponse';
|
|
203
205
|
}
|
|
206
|
+
/**
|
|
207
|
+
* Generated by JsPbCodeGenerator.
|
|
208
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
209
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
210
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
211
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
212
|
+
* valid.
|
|
213
|
+
* @extends {jspb.Message}
|
|
214
|
+
* @constructor
|
|
215
|
+
*/
|
|
216
|
+
proto.browserstack.sdk.v1.AccessibilityResultRequest = function(opt_data) {
|
|
217
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
218
|
+
};
|
|
219
|
+
goog.inherits(proto.browserstack.sdk.v1.AccessibilityResultRequest, jspb.Message);
|
|
220
|
+
if (goog.DEBUG && !COMPILED) {
|
|
221
|
+
/**
|
|
222
|
+
* @public
|
|
223
|
+
* @override
|
|
224
|
+
*/
|
|
225
|
+
proto.browserstack.sdk.v1.AccessibilityResultRequest.displayName = 'proto.browserstack.sdk.v1.AccessibilityResultRequest';
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* Generated by JsPbCodeGenerator.
|
|
229
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
230
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
231
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
232
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
233
|
+
* valid.
|
|
234
|
+
* @extends {jspb.Message}
|
|
235
|
+
* @constructor
|
|
236
|
+
*/
|
|
237
|
+
proto.browserstack.sdk.v1.AccessibilityResultResponse = function(opt_data) {
|
|
238
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
239
|
+
};
|
|
240
|
+
goog.inherits(proto.browserstack.sdk.v1.AccessibilityResultResponse, jspb.Message);
|
|
241
|
+
if (goog.DEBUG && !COMPILED) {
|
|
242
|
+
/**
|
|
243
|
+
* @public
|
|
244
|
+
* @override
|
|
245
|
+
*/
|
|
246
|
+
proto.browserstack.sdk.v1.AccessibilityResultResponse.displayName = 'proto.browserstack.sdk.v1.AccessibilityResultResponse';
|
|
247
|
+
}
|
|
204
248
|
|
|
205
249
|
/**
|
|
206
250
|
* List of repeated fields within this message type.
|
|
@@ -245,7 +289,8 @@ proto.browserstack.sdk.v1.Accessibility.toObject = function(includeInstance, msg
|
|
|
245
289
|
errorTraceId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
246
290
|
code: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
247
291
|
errorsList: jspb.Message.toObjectList(msg.getErrorsList(),
|
|
248
|
-
sdk$messages$observability_pb.KeyMessage.toObject, includeInstance)
|
|
292
|
+
sdk$messages$observability_pb.KeyMessage.toObject, includeInstance),
|
|
293
|
+
isAppAccessibility: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
|
|
249
294
|
};
|
|
250
295
|
|
|
251
296
|
if (includeInstance) {
|
|
@@ -304,6 +349,10 @@ proto.browserstack.sdk.v1.Accessibility.deserializeBinaryFromReader = function(m
|
|
|
304
349
|
reader.readMessage(value,sdk$messages$observability_pb.KeyMessage.deserializeBinaryFromReader);
|
|
305
350
|
msg.addErrors(value);
|
|
306
351
|
break;
|
|
352
|
+
case 6:
|
|
353
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
354
|
+
msg.setIsAppAccessibility(value);
|
|
355
|
+
break;
|
|
307
356
|
default:
|
|
308
357
|
reader.skipField();
|
|
309
358
|
break;
|
|
@@ -370,6 +419,13 @@ proto.browserstack.sdk.v1.Accessibility.serializeBinaryToWriter = function(messa
|
|
|
370
419
|
sdk$messages$observability_pb.KeyMessage.serializeBinaryToWriter
|
|
371
420
|
);
|
|
372
421
|
}
|
|
422
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 6));
|
|
423
|
+
if (f != null) {
|
|
424
|
+
writer.writeBool(
|
|
425
|
+
6,
|
|
426
|
+
f
|
|
427
|
+
);
|
|
428
|
+
}
|
|
373
429
|
};
|
|
374
430
|
|
|
375
431
|
|
|
@@ -1629,6 +1685,42 @@ proto.browserstack.sdk.v1.Accessibility.prototype.clearErrorsList = function() {
|
|
|
1629
1685
|
};
|
|
1630
1686
|
|
|
1631
1687
|
|
|
1688
|
+
/**
|
|
1689
|
+
* optional bool is_app_accessibility = 6;
|
|
1690
|
+
* @return {boolean}
|
|
1691
|
+
*/
|
|
1692
|
+
proto.browserstack.sdk.v1.Accessibility.prototype.getIsAppAccessibility = function() {
|
|
1693
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
|
1694
|
+
};
|
|
1695
|
+
|
|
1696
|
+
|
|
1697
|
+
/**
|
|
1698
|
+
* @param {boolean} value
|
|
1699
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility} returns this
|
|
1700
|
+
*/
|
|
1701
|
+
proto.browserstack.sdk.v1.Accessibility.prototype.setIsAppAccessibility = function(value) {
|
|
1702
|
+
return jspb.Message.setField(this, 6, value);
|
|
1703
|
+
};
|
|
1704
|
+
|
|
1705
|
+
|
|
1706
|
+
/**
|
|
1707
|
+
* Clears the field making it undefined.
|
|
1708
|
+
* @return {!proto.browserstack.sdk.v1.Accessibility} returns this
|
|
1709
|
+
*/
|
|
1710
|
+
proto.browserstack.sdk.v1.Accessibility.prototype.clearIsAppAccessibility = function() {
|
|
1711
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
1712
|
+
};
|
|
1713
|
+
|
|
1714
|
+
|
|
1715
|
+
/**
|
|
1716
|
+
* Returns whether this field is set.
|
|
1717
|
+
* @return {boolean}
|
|
1718
|
+
*/
|
|
1719
|
+
proto.browserstack.sdk.v1.Accessibility.prototype.hasIsAppAccessibility = function() {
|
|
1720
|
+
return jspb.Message.getField(this, 6) != null;
|
|
1721
|
+
};
|
|
1722
|
+
|
|
1723
|
+
|
|
1632
1724
|
|
|
1633
1725
|
|
|
1634
1726
|
|
|
@@ -2231,4 +2323,456 @@ proto.browserstack.sdk.v1.AccessibilityConfigResponse.prototype.hasAccessibility
|
|
|
2231
2323
|
};
|
|
2232
2324
|
|
|
2233
2325
|
|
|
2326
|
+
|
|
2327
|
+
|
|
2328
|
+
|
|
2329
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2330
|
+
/**
|
|
2331
|
+
* Creates an object representation of this proto.
|
|
2332
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2333
|
+
* Optional fields that are not set will be set to undefined.
|
|
2334
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2335
|
+
* For the list of reserved names please see:
|
|
2336
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2337
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2338
|
+
* JSPB instance for transitional soy proto support:
|
|
2339
|
+
* http://goto/soy-param-migration
|
|
2340
|
+
* @return {!Object}
|
|
2341
|
+
*/
|
|
2342
|
+
proto.browserstack.sdk.v1.AccessibilityResultRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2343
|
+
return proto.browserstack.sdk.v1.AccessibilityResultRequest.toObject(opt_includeInstance, this);
|
|
2344
|
+
};
|
|
2345
|
+
|
|
2346
|
+
|
|
2347
|
+
/**
|
|
2348
|
+
* Static version of the {@see toObject} method.
|
|
2349
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2350
|
+
* the JSPB instance for transitional soy proto support:
|
|
2351
|
+
* http://goto/soy-param-migration
|
|
2352
|
+
* @param {!proto.browserstack.sdk.v1.AccessibilityResultRequest} msg The msg instance to transform.
|
|
2353
|
+
* @return {!Object}
|
|
2354
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2355
|
+
*/
|
|
2356
|
+
proto.browserstack.sdk.v1.AccessibilityResultRequest.toObject = function(includeInstance, msg) {
|
|
2357
|
+
var f, obj = {
|
|
2358
|
+
binSessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2359
|
+
testRunId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2360
|
+
sessionId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
2361
|
+
resultType: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
2362
|
+
testIdentifier: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
2363
|
+
};
|
|
2364
|
+
|
|
2365
|
+
if (includeInstance) {
|
|
2366
|
+
obj.$jspbMessageInstance = msg;
|
|
2367
|
+
}
|
|
2368
|
+
return obj;
|
|
2369
|
+
};
|
|
2370
|
+
}
|
|
2371
|
+
|
|
2372
|
+
|
|
2373
|
+
/**
|
|
2374
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2375
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2376
|
+
* @return {!proto.browserstack.sdk.v1.AccessibilityResultRequest}
|
|
2377
|
+
*/
|
|
2378
|
+
proto.browserstack.sdk.v1.AccessibilityResultRequest.deserializeBinary = function(bytes) {
|
|
2379
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2380
|
+
var msg = new proto.browserstack.sdk.v1.AccessibilityResultRequest;
|
|
2381
|
+
return proto.browserstack.sdk.v1.AccessibilityResultRequest.deserializeBinaryFromReader(msg, reader);
|
|
2382
|
+
};
|
|
2383
|
+
|
|
2384
|
+
|
|
2385
|
+
/**
|
|
2386
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2387
|
+
* given reader into the given message object.
|
|
2388
|
+
* @param {!proto.browserstack.sdk.v1.AccessibilityResultRequest} msg The message object to deserialize into.
|
|
2389
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2390
|
+
* @return {!proto.browserstack.sdk.v1.AccessibilityResultRequest}
|
|
2391
|
+
*/
|
|
2392
|
+
proto.browserstack.sdk.v1.AccessibilityResultRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2393
|
+
while (reader.nextField()) {
|
|
2394
|
+
if (reader.isEndGroup()) {
|
|
2395
|
+
break;
|
|
2396
|
+
}
|
|
2397
|
+
var field = reader.getFieldNumber();
|
|
2398
|
+
switch (field) {
|
|
2399
|
+
case 1:
|
|
2400
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2401
|
+
msg.setBinSessionId(value);
|
|
2402
|
+
break;
|
|
2403
|
+
case 2:
|
|
2404
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2405
|
+
msg.setTestRunId(value);
|
|
2406
|
+
break;
|
|
2407
|
+
case 3:
|
|
2408
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2409
|
+
msg.setSessionId(value);
|
|
2410
|
+
break;
|
|
2411
|
+
case 4:
|
|
2412
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2413
|
+
msg.setResultType(value);
|
|
2414
|
+
break;
|
|
2415
|
+
case 5:
|
|
2416
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2417
|
+
msg.setTestIdentifier(value);
|
|
2418
|
+
break;
|
|
2419
|
+
default:
|
|
2420
|
+
reader.skipField();
|
|
2421
|
+
break;
|
|
2422
|
+
}
|
|
2423
|
+
}
|
|
2424
|
+
return msg;
|
|
2425
|
+
};
|
|
2426
|
+
|
|
2427
|
+
|
|
2428
|
+
/**
|
|
2429
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2430
|
+
* @return {!Uint8Array}
|
|
2431
|
+
*/
|
|
2432
|
+
proto.browserstack.sdk.v1.AccessibilityResultRequest.prototype.serializeBinary = function() {
|
|
2433
|
+
var writer = new jspb.BinaryWriter();
|
|
2434
|
+
proto.browserstack.sdk.v1.AccessibilityResultRequest.serializeBinaryToWriter(this, writer);
|
|
2435
|
+
return writer.getResultBuffer();
|
|
2436
|
+
};
|
|
2437
|
+
|
|
2438
|
+
|
|
2439
|
+
/**
|
|
2440
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2441
|
+
* format), writing to the given BinaryWriter.
|
|
2442
|
+
* @param {!proto.browserstack.sdk.v1.AccessibilityResultRequest} message
|
|
2443
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2444
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2445
|
+
*/
|
|
2446
|
+
proto.browserstack.sdk.v1.AccessibilityResultRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2447
|
+
var f = undefined;
|
|
2448
|
+
f = message.getBinSessionId();
|
|
2449
|
+
if (f.length > 0) {
|
|
2450
|
+
writer.writeString(
|
|
2451
|
+
1,
|
|
2452
|
+
f
|
|
2453
|
+
);
|
|
2454
|
+
}
|
|
2455
|
+
f = message.getTestRunId();
|
|
2456
|
+
if (f.length > 0) {
|
|
2457
|
+
writer.writeString(
|
|
2458
|
+
2,
|
|
2459
|
+
f
|
|
2460
|
+
);
|
|
2461
|
+
}
|
|
2462
|
+
f = message.getSessionId();
|
|
2463
|
+
if (f.length > 0) {
|
|
2464
|
+
writer.writeString(
|
|
2465
|
+
3,
|
|
2466
|
+
f
|
|
2467
|
+
);
|
|
2468
|
+
}
|
|
2469
|
+
f = message.getResultType();
|
|
2470
|
+
if (f.length > 0) {
|
|
2471
|
+
writer.writeString(
|
|
2472
|
+
4,
|
|
2473
|
+
f
|
|
2474
|
+
);
|
|
2475
|
+
}
|
|
2476
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
2477
|
+
if (f != null) {
|
|
2478
|
+
writer.writeString(
|
|
2479
|
+
5,
|
|
2480
|
+
f
|
|
2481
|
+
);
|
|
2482
|
+
}
|
|
2483
|
+
};
|
|
2484
|
+
|
|
2485
|
+
|
|
2486
|
+
/**
|
|
2487
|
+
* optional string bin_session_id = 1;
|
|
2488
|
+
* @return {string}
|
|
2489
|
+
*/
|
|
2490
|
+
proto.browserstack.sdk.v1.AccessibilityResultRequest.prototype.getBinSessionId = function() {
|
|
2491
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2492
|
+
};
|
|
2493
|
+
|
|
2494
|
+
|
|
2495
|
+
/**
|
|
2496
|
+
* @param {string} value
|
|
2497
|
+
* @return {!proto.browserstack.sdk.v1.AccessibilityResultRequest} returns this
|
|
2498
|
+
*/
|
|
2499
|
+
proto.browserstack.sdk.v1.AccessibilityResultRequest.prototype.setBinSessionId = function(value) {
|
|
2500
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2501
|
+
};
|
|
2502
|
+
|
|
2503
|
+
|
|
2504
|
+
/**
|
|
2505
|
+
* optional string test_run_id = 2;
|
|
2506
|
+
* @return {string}
|
|
2507
|
+
*/
|
|
2508
|
+
proto.browserstack.sdk.v1.AccessibilityResultRequest.prototype.getTestRunId = function() {
|
|
2509
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2510
|
+
};
|
|
2511
|
+
|
|
2512
|
+
|
|
2513
|
+
/**
|
|
2514
|
+
* @param {string} value
|
|
2515
|
+
* @return {!proto.browserstack.sdk.v1.AccessibilityResultRequest} returns this
|
|
2516
|
+
*/
|
|
2517
|
+
proto.browserstack.sdk.v1.AccessibilityResultRequest.prototype.setTestRunId = function(value) {
|
|
2518
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
2519
|
+
};
|
|
2520
|
+
|
|
2521
|
+
|
|
2522
|
+
/**
|
|
2523
|
+
* optional string session_id = 3;
|
|
2524
|
+
* @return {string}
|
|
2525
|
+
*/
|
|
2526
|
+
proto.browserstack.sdk.v1.AccessibilityResultRequest.prototype.getSessionId = function() {
|
|
2527
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
2528
|
+
};
|
|
2529
|
+
|
|
2530
|
+
|
|
2531
|
+
/**
|
|
2532
|
+
* @param {string} value
|
|
2533
|
+
* @return {!proto.browserstack.sdk.v1.AccessibilityResultRequest} returns this
|
|
2534
|
+
*/
|
|
2535
|
+
proto.browserstack.sdk.v1.AccessibilityResultRequest.prototype.setSessionId = function(value) {
|
|
2536
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
2537
|
+
};
|
|
2538
|
+
|
|
2539
|
+
|
|
2540
|
+
/**
|
|
2541
|
+
* optional string result_type = 4;
|
|
2542
|
+
* @return {string}
|
|
2543
|
+
*/
|
|
2544
|
+
proto.browserstack.sdk.v1.AccessibilityResultRequest.prototype.getResultType = function() {
|
|
2545
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
2546
|
+
};
|
|
2547
|
+
|
|
2548
|
+
|
|
2549
|
+
/**
|
|
2550
|
+
* @param {string} value
|
|
2551
|
+
* @return {!proto.browserstack.sdk.v1.AccessibilityResultRequest} returns this
|
|
2552
|
+
*/
|
|
2553
|
+
proto.browserstack.sdk.v1.AccessibilityResultRequest.prototype.setResultType = function(value) {
|
|
2554
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
2555
|
+
};
|
|
2556
|
+
|
|
2557
|
+
|
|
2558
|
+
/**
|
|
2559
|
+
* optional string test_identifier = 5;
|
|
2560
|
+
* @return {string}
|
|
2561
|
+
*/
|
|
2562
|
+
proto.browserstack.sdk.v1.AccessibilityResultRequest.prototype.getTestIdentifier = function() {
|
|
2563
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
2564
|
+
};
|
|
2565
|
+
|
|
2566
|
+
|
|
2567
|
+
/**
|
|
2568
|
+
* @param {string} value
|
|
2569
|
+
* @return {!proto.browserstack.sdk.v1.AccessibilityResultRequest} returns this
|
|
2570
|
+
*/
|
|
2571
|
+
proto.browserstack.sdk.v1.AccessibilityResultRequest.prototype.setTestIdentifier = function(value) {
|
|
2572
|
+
return jspb.Message.setField(this, 5, value);
|
|
2573
|
+
};
|
|
2574
|
+
|
|
2575
|
+
|
|
2576
|
+
/**
|
|
2577
|
+
* Clears the field making it undefined.
|
|
2578
|
+
* @return {!proto.browserstack.sdk.v1.AccessibilityResultRequest} returns this
|
|
2579
|
+
*/
|
|
2580
|
+
proto.browserstack.sdk.v1.AccessibilityResultRequest.prototype.clearTestIdentifier = function() {
|
|
2581
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
2582
|
+
};
|
|
2583
|
+
|
|
2584
|
+
|
|
2585
|
+
/**
|
|
2586
|
+
* Returns whether this field is set.
|
|
2587
|
+
* @return {boolean}
|
|
2588
|
+
*/
|
|
2589
|
+
proto.browserstack.sdk.v1.AccessibilityResultRequest.prototype.hasTestIdentifier = function() {
|
|
2590
|
+
return jspb.Message.getField(this, 5) != null;
|
|
2591
|
+
};
|
|
2592
|
+
|
|
2593
|
+
|
|
2594
|
+
|
|
2595
|
+
|
|
2596
|
+
|
|
2597
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2598
|
+
/**
|
|
2599
|
+
* Creates an object representation of this proto.
|
|
2600
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2601
|
+
* Optional fields that are not set will be set to undefined.
|
|
2602
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2603
|
+
* For the list of reserved names please see:
|
|
2604
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2605
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2606
|
+
* JSPB instance for transitional soy proto support:
|
|
2607
|
+
* http://goto/soy-param-migration
|
|
2608
|
+
* @return {!Object}
|
|
2609
|
+
*/
|
|
2610
|
+
proto.browserstack.sdk.v1.AccessibilityResultResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2611
|
+
return proto.browserstack.sdk.v1.AccessibilityResultResponse.toObject(opt_includeInstance, this);
|
|
2612
|
+
};
|
|
2613
|
+
|
|
2614
|
+
|
|
2615
|
+
/**
|
|
2616
|
+
* Static version of the {@see toObject} method.
|
|
2617
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2618
|
+
* the JSPB instance for transitional soy proto support:
|
|
2619
|
+
* http://goto/soy-param-migration
|
|
2620
|
+
* @param {!proto.browserstack.sdk.v1.AccessibilityResultResponse} msg The msg instance to transform.
|
|
2621
|
+
* @return {!Object}
|
|
2622
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2623
|
+
*/
|
|
2624
|
+
proto.browserstack.sdk.v1.AccessibilityResultResponse.toObject = function(includeInstance, msg) {
|
|
2625
|
+
var f, obj = {
|
|
2626
|
+
success: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
2627
|
+
resultResponse: msg.getResultResponse_asB64()
|
|
2628
|
+
};
|
|
2629
|
+
|
|
2630
|
+
if (includeInstance) {
|
|
2631
|
+
obj.$jspbMessageInstance = msg;
|
|
2632
|
+
}
|
|
2633
|
+
return obj;
|
|
2634
|
+
};
|
|
2635
|
+
}
|
|
2636
|
+
|
|
2637
|
+
|
|
2638
|
+
/**
|
|
2639
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2640
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2641
|
+
* @return {!proto.browserstack.sdk.v1.AccessibilityResultResponse}
|
|
2642
|
+
*/
|
|
2643
|
+
proto.browserstack.sdk.v1.AccessibilityResultResponse.deserializeBinary = function(bytes) {
|
|
2644
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2645
|
+
var msg = new proto.browserstack.sdk.v1.AccessibilityResultResponse;
|
|
2646
|
+
return proto.browserstack.sdk.v1.AccessibilityResultResponse.deserializeBinaryFromReader(msg, reader);
|
|
2647
|
+
};
|
|
2648
|
+
|
|
2649
|
+
|
|
2650
|
+
/**
|
|
2651
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2652
|
+
* given reader into the given message object.
|
|
2653
|
+
* @param {!proto.browserstack.sdk.v1.AccessibilityResultResponse} msg The message object to deserialize into.
|
|
2654
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2655
|
+
* @return {!proto.browserstack.sdk.v1.AccessibilityResultResponse}
|
|
2656
|
+
*/
|
|
2657
|
+
proto.browserstack.sdk.v1.AccessibilityResultResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2658
|
+
while (reader.nextField()) {
|
|
2659
|
+
if (reader.isEndGroup()) {
|
|
2660
|
+
break;
|
|
2661
|
+
}
|
|
2662
|
+
var field = reader.getFieldNumber();
|
|
2663
|
+
switch (field) {
|
|
2664
|
+
case 1:
|
|
2665
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
2666
|
+
msg.setSuccess(value);
|
|
2667
|
+
break;
|
|
2668
|
+
case 2:
|
|
2669
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
2670
|
+
msg.setResultResponse(value);
|
|
2671
|
+
break;
|
|
2672
|
+
default:
|
|
2673
|
+
reader.skipField();
|
|
2674
|
+
break;
|
|
2675
|
+
}
|
|
2676
|
+
}
|
|
2677
|
+
return msg;
|
|
2678
|
+
};
|
|
2679
|
+
|
|
2680
|
+
|
|
2681
|
+
/**
|
|
2682
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2683
|
+
* @return {!Uint8Array}
|
|
2684
|
+
*/
|
|
2685
|
+
proto.browserstack.sdk.v1.AccessibilityResultResponse.prototype.serializeBinary = function() {
|
|
2686
|
+
var writer = new jspb.BinaryWriter();
|
|
2687
|
+
proto.browserstack.sdk.v1.AccessibilityResultResponse.serializeBinaryToWriter(this, writer);
|
|
2688
|
+
return writer.getResultBuffer();
|
|
2689
|
+
};
|
|
2690
|
+
|
|
2691
|
+
|
|
2692
|
+
/**
|
|
2693
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2694
|
+
* format), writing to the given BinaryWriter.
|
|
2695
|
+
* @param {!proto.browserstack.sdk.v1.AccessibilityResultResponse} message
|
|
2696
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2697
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2698
|
+
*/
|
|
2699
|
+
proto.browserstack.sdk.v1.AccessibilityResultResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2700
|
+
var f = undefined;
|
|
2701
|
+
f = message.getSuccess();
|
|
2702
|
+
if (f) {
|
|
2703
|
+
writer.writeBool(
|
|
2704
|
+
1,
|
|
2705
|
+
f
|
|
2706
|
+
);
|
|
2707
|
+
}
|
|
2708
|
+
f = message.getResultResponse_asU8();
|
|
2709
|
+
if (f.length > 0) {
|
|
2710
|
+
writer.writeBytes(
|
|
2711
|
+
2,
|
|
2712
|
+
f
|
|
2713
|
+
);
|
|
2714
|
+
}
|
|
2715
|
+
};
|
|
2716
|
+
|
|
2717
|
+
|
|
2718
|
+
/**
|
|
2719
|
+
* optional bool success = 1;
|
|
2720
|
+
* @return {boolean}
|
|
2721
|
+
*/
|
|
2722
|
+
proto.browserstack.sdk.v1.AccessibilityResultResponse.prototype.getSuccess = function() {
|
|
2723
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
2724
|
+
};
|
|
2725
|
+
|
|
2726
|
+
|
|
2727
|
+
/**
|
|
2728
|
+
* @param {boolean} value
|
|
2729
|
+
* @return {!proto.browserstack.sdk.v1.AccessibilityResultResponse} returns this
|
|
2730
|
+
*/
|
|
2731
|
+
proto.browserstack.sdk.v1.AccessibilityResultResponse.prototype.setSuccess = function(value) {
|
|
2732
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
2733
|
+
};
|
|
2734
|
+
|
|
2735
|
+
|
|
2736
|
+
/**
|
|
2737
|
+
* optional bytes result_response = 2;
|
|
2738
|
+
* @return {!(string|Uint8Array)}
|
|
2739
|
+
*/
|
|
2740
|
+
proto.browserstack.sdk.v1.AccessibilityResultResponse.prototype.getResultResponse = function() {
|
|
2741
|
+
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2742
|
+
};
|
|
2743
|
+
|
|
2744
|
+
|
|
2745
|
+
/**
|
|
2746
|
+
* optional bytes result_response = 2;
|
|
2747
|
+
* This is a type-conversion wrapper around `getResultResponse()`
|
|
2748
|
+
* @return {string}
|
|
2749
|
+
*/
|
|
2750
|
+
proto.browserstack.sdk.v1.AccessibilityResultResponse.prototype.getResultResponse_asB64 = function() {
|
|
2751
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
2752
|
+
this.getResultResponse()));
|
|
2753
|
+
};
|
|
2754
|
+
|
|
2755
|
+
|
|
2756
|
+
/**
|
|
2757
|
+
* optional bytes result_response = 2;
|
|
2758
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
2759
|
+
* @see http://caniuse.com/Uint8Array
|
|
2760
|
+
* This is a type-conversion wrapper around `getResultResponse()`
|
|
2761
|
+
* @return {!Uint8Array}
|
|
2762
|
+
*/
|
|
2763
|
+
proto.browserstack.sdk.v1.AccessibilityResultResponse.prototype.getResultResponse_asU8 = function() {
|
|
2764
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
2765
|
+
this.getResultResponse()));
|
|
2766
|
+
};
|
|
2767
|
+
|
|
2768
|
+
|
|
2769
|
+
/**
|
|
2770
|
+
* @param {!(string|Uint8Array)} value
|
|
2771
|
+
* @return {!proto.browserstack.sdk.v1.AccessibilityResultResponse} returns this
|
|
2772
|
+
*/
|
|
2773
|
+
proto.browserstack.sdk.v1.AccessibilityResultResponse.prototype.setResultResponse = function(value) {
|
|
2774
|
+
return jspb.Message.setProto3BytesField(this, 2, value);
|
|
2775
|
+
};
|
|
2776
|
+
|
|
2777
|
+
|
|
2234
2778
|
goog.object.extend(exports, proto.browserstack.sdk.v1);
|
|
@@ -25,6 +25,7 @@ interface ISDKService extends grpc.ServiceDefinition<grpc.UntypedServiceImplemen
|
|
|
25
25
|
aISelfHealStep: grpc.MethodDefinition<sdk_messages_ai_pb.AISelfHealStepRequest, sdk_messages_ai_pb.AISelfHealStepResponse>;
|
|
26
26
|
aISelfHealGetResult: grpc.MethodDefinition<sdk_messages_ai_pb.AISelfHealGetRequest, sdk_messages_ai_pb.AISelfHealGetResponse>;
|
|
27
27
|
accessibilityConfig: grpc.MethodDefinition<sdk_messages_accessibility_pb.AccessibilityConfigRequest, sdk_messages_accessibility_pb.AccessibilityConfigResponse>;
|
|
28
|
+
accessibilityResult: grpc.MethodDefinition<sdk_messages_accessibility_pb.AccessibilityResultRequest, sdk_messages_accessibility_pb.AccessibilityResultResponse>;
|
|
28
29
|
observabilityConfig: grpc.MethodDefinition<sdk_messages_observability_pb.ObservabilityConfigRequest, sdk_messages_observability_pb.ObservabilityConfigResponse>;
|
|
29
30
|
testFrameworkEvent: grpc.MethodDefinition<sdk_messages_pb.TestFrameworkEventRequest, sdk_messages_pb.TestFrameworkEventResponse>;
|
|
30
31
|
testSessionEvent: grpc.MethodDefinition<sdk_messages_pb.TestSessionEventRequest, sdk_messages_pb.TestSessionEventResponse>;
|
|
@@ -53,6 +54,7 @@ export interface ISDKServer extends grpc.UntypedServiceImplementation {
|
|
|
53
54
|
aISelfHealStep: grpc.handleUnaryCall<sdk_messages_ai_pb.AISelfHealStepRequest, sdk_messages_ai_pb.AISelfHealStepResponse>;
|
|
54
55
|
aISelfHealGetResult: grpc.handleUnaryCall<sdk_messages_ai_pb.AISelfHealGetRequest, sdk_messages_ai_pb.AISelfHealGetResponse>;
|
|
55
56
|
accessibilityConfig: grpc.handleUnaryCall<sdk_messages_accessibility_pb.AccessibilityConfigRequest, sdk_messages_accessibility_pb.AccessibilityConfigResponse>;
|
|
57
|
+
accessibilityResult: grpc.handleUnaryCall<sdk_messages_accessibility_pb.AccessibilityResultRequest, sdk_messages_accessibility_pb.AccessibilityResultResponse>;
|
|
56
58
|
observabilityConfig: grpc.handleUnaryCall<sdk_messages_observability_pb.ObservabilityConfigRequest, sdk_messages_observability_pb.ObservabilityConfigResponse>;
|
|
57
59
|
testFrameworkEvent: grpc.handleUnaryCall<sdk_messages_pb.TestFrameworkEventRequest, sdk_messages_pb.TestFrameworkEventResponse>;
|
|
58
60
|
testSessionEvent: grpc.handleUnaryCall<sdk_messages_pb.TestSessionEventRequest, sdk_messages_pb.TestSessionEventResponse>;
|
|
@@ -108,6 +110,9 @@ export class SDKClient extends grpc.Client {
|
|
|
108
110
|
accessibilityConfig(argument: sdk_messages_accessibility_pb.AccessibilityConfigRequest, callback: grpc.requestCallback<sdk_messages_accessibility_pb.AccessibilityConfigResponse>): grpc.ClientUnaryCall;
|
|
109
111
|
accessibilityConfig(argument: sdk_messages_accessibility_pb.AccessibilityConfigRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<sdk_messages_accessibility_pb.AccessibilityConfigResponse>): grpc.ClientUnaryCall;
|
|
110
112
|
accessibilityConfig(argument: sdk_messages_accessibility_pb.AccessibilityConfigRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<sdk_messages_accessibility_pb.AccessibilityConfigResponse>): grpc.ClientUnaryCall;
|
|
113
|
+
accessibilityResult(argument: sdk_messages_accessibility_pb.AccessibilityResultRequest, callback: grpc.requestCallback<sdk_messages_accessibility_pb.AccessibilityResultResponse>): grpc.ClientUnaryCall;
|
|
114
|
+
accessibilityResult(argument: sdk_messages_accessibility_pb.AccessibilityResultRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<sdk_messages_accessibility_pb.AccessibilityResultResponse>): grpc.ClientUnaryCall;
|
|
115
|
+
accessibilityResult(argument: sdk_messages_accessibility_pb.AccessibilityResultRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<sdk_messages_accessibility_pb.AccessibilityResultResponse>): grpc.ClientUnaryCall;
|
|
111
116
|
observabilityConfig(argument: sdk_messages_observability_pb.ObservabilityConfigRequest, callback: grpc.requestCallback<sdk_messages_observability_pb.ObservabilityConfigResponse>): grpc.ClientUnaryCall;
|
|
112
117
|
observabilityConfig(argument: sdk_messages_observability_pb.ObservabilityConfigRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<sdk_messages_observability_pb.ObservabilityConfigResponse>): grpc.ClientUnaryCall;
|
|
113
118
|
observabilityConfig(argument: sdk_messages_observability_pb.ObservabilityConfigRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<sdk_messages_observability_pb.ObservabilityConfigResponse>): grpc.ClientUnaryCall;
|
package/generated/sdk_grpc_pb.js
CHANGED
|
@@ -95,6 +95,28 @@ function deserialize_browserstack_sdk_v1_AccessibilityConfigResponse(buffer_arg)
|
|
|
95
95
|
return sdk$messages$accessibility_pb.AccessibilityConfigResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
+
function serialize_browserstack_sdk_v1_AccessibilityResultRequest(arg) {
|
|
99
|
+
if (!(arg instanceof sdk$messages$accessibility_pb.AccessibilityResultRequest)) {
|
|
100
|
+
throw new Error('Expected argument of type browserstack.sdk.v1.AccessibilityResultRequest');
|
|
101
|
+
}
|
|
102
|
+
return Buffer.from(arg.serializeBinary());
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
function deserialize_browserstack_sdk_v1_AccessibilityResultRequest(buffer_arg) {
|
|
106
|
+
return sdk$messages$accessibility_pb.AccessibilityResultRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
function serialize_browserstack_sdk_v1_AccessibilityResultResponse(arg) {
|
|
110
|
+
if (!(arg instanceof sdk$messages$accessibility_pb.AccessibilityResultResponse)) {
|
|
111
|
+
throw new Error('Expected argument of type browserstack.sdk.v1.AccessibilityResultResponse');
|
|
112
|
+
}
|
|
113
|
+
return Buffer.from(arg.serializeBinary());
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
function deserialize_browserstack_sdk_v1_AccessibilityResultResponse(buffer_arg) {
|
|
117
|
+
return sdk$messages$accessibility_pb.AccessibilityResultResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
118
|
+
}
|
|
119
|
+
|
|
98
120
|
function serialize_browserstack_sdk_v1_AutomationFrameworkInitRequest(arg) {
|
|
99
121
|
if (!(arg instanceof sdk$messages_pb.AutomationFrameworkInitRequest)) {
|
|
100
122
|
throw new Error('Expected argument of type browserstack.sdk.v1.AutomationFrameworkInitRequest');
|
|
@@ -688,6 +710,17 @@ automationFrameworkStop: {
|
|
|
688
710
|
responseSerialize: serialize_browserstack_sdk_v1_AccessibilityConfigResponse,
|
|
689
711
|
responseDeserialize: deserialize_browserstack_sdk_v1_AccessibilityConfigResponse,
|
|
690
712
|
},
|
|
713
|
+
accessibilityResult: {
|
|
714
|
+
path: '/browserstack.sdk.v1.SDK/AccessibilityResult',
|
|
715
|
+
requestStream: false,
|
|
716
|
+
responseStream: false,
|
|
717
|
+
requestType: sdk$messages$accessibility_pb.AccessibilityResultRequest,
|
|
718
|
+
responseType: sdk$messages$accessibility_pb.AccessibilityResultResponse,
|
|
719
|
+
requestSerialize: serialize_browserstack_sdk_v1_AccessibilityResultRequest,
|
|
720
|
+
requestDeserialize: deserialize_browserstack_sdk_v1_AccessibilityResultRequest,
|
|
721
|
+
responseSerialize: serialize_browserstack_sdk_v1_AccessibilityResultResponse,
|
|
722
|
+
responseDeserialize: deserialize_browserstack_sdk_v1_AccessibilityResultResponse,
|
|
723
|
+
},
|
|
691
724
|
observabilityConfig: {
|
|
692
725
|
path: '/browserstack.sdk.v1.SDK/ObservabilityConfig',
|
|
693
726
|
requestStream: false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "browserstack-node-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.65.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Node SDK for browserstack selenium-webdriver tests",
|
|
6
6
|
"main": "./src/index.js",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"simple-git": "^3.28.0",
|
|
59
59
|
"stack-trace": "0.0.10",
|
|
60
60
|
"table": "^6.8.1",
|
|
61
|
-
"tmp": "0.2.
|
|
61
|
+
"tmp": "0.2.7",
|
|
62
62
|
"update-notifier": "6.0.2",
|
|
63
63
|
"uuid": "11.1.1",
|
|
64
64
|
"windows-release": "^5.1.0",
|
|
@@ -76,6 +76,6 @@
|
|
|
76
76
|
"protobufjs": "7.6.1",
|
|
77
77
|
"uuid": "11.1.1",
|
|
78
78
|
"fast-uri": "3.1.2",
|
|
79
|
-
"tmp": "0.2.
|
|
79
|
+
"tmp": "0.2.7"
|
|
80
80
|
}
|
|
81
81
|
}
|