browserstack-node-sdk 1.46.5 → 1.46.6
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/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- 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/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/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/builderPatch.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/nightwatch/command.js +1 -1
- 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/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/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/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/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.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/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.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/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/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.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/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/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.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/timeoutPromise.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
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a76_0x7dd3(){const _0x39386b=['15lSNMpL','currentTestState','getLastHookState','createdAt','119UjyPTI','lastHookState','pendingHooks','18671200rzNuBH','split','1457073PDMkQM','setLastHookState','getCurrentHookState','1450290gKHdzM','244002htvkUM','has','get','./trackedInstance','108950JARKgy','getCreatedAt','72rxsVOi','../../../helpers/classLogger','3|4|7|5|2|1|8|0|6','getPendingHooks','setLastTestState','setCurrentHookState','lastTestState','testFrameworksVersions','355424EAYzNn','delete','currentHookState','NONE','./trackedContext','149870wbAhQj'];a76_0x7dd3=function(){return _0x39386b;};return a76_0x7dd3();}const a76_0x4de7b3=a76_0x3476;function a76_0x3476(_0x360f49,_0x26a71a){const _0x7dd335=a76_0x7dd3();return a76_0x3476=function(_0x347682,_0x42701c){_0x347682=_0x347682-0x161;let _0x4cfeb2=_0x7dd335[_0x347682];return _0x4cfeb2;},a76_0x3476(_0x360f49,_0x26a71a);}(function(_0x4d619d,_0x2983db){const _0x5edbd7=a76_0x3476,_0x2f6a54=_0x4d619d();while(!![]){try{const _0x15d7f2=-parseInt(_0x5edbd7(0x168))/0x1+parseInt(_0x5edbd7(0x17b))/0x2*(parseInt(_0x5edbd7(0x17c))/0x3)+parseInt(_0x5edbd7(0x16e))/0x4*(-parseInt(_0x5edbd7(0x16c))/0x5)+-parseInt(_0x5edbd7(0x167))/0x6+-parseInt(_0x5edbd7(0x180))/0x7*(parseInt(_0x5edbd7(0x176))/0x8)+-parseInt(_0x5edbd7(0x164))/0x9+parseInt(_0x5edbd7(0x162))/0xa;if(_0x15d7f2===_0x2983db)break;else _0x2f6a54['push'](_0x2f6a54['shift']());}catch(_0x1279da){_0x2f6a54['push'](_0x2f6a54['shift']());}}}(a76_0x7dd3,0x6d0dd));const {createClassLogger}=require(a76_0x4de7b3(0x16f)),logger=createClassLogger('TrackedInstance'),HookState=require('../state/hookState'),TestFrameworkState=require('../state/testFrameworkState'),TrackedContext=require(a76_0x4de7b3(0x17a)),TrackedInstance=require(a76_0x4de7b3(0x16b)),now=new Date();class TestFrameworkInstance extends TrackedInstance{constructor(_0x42d777,_0x151e9c,_0x3ce639,_0x30b66b,_0x2be1d9){const _0x52e31a=a76_0x4de7b3,_0xb86f73={};_0xb86f73['XCTqr']=_0x52e31a(0x170);const _0x5901aa=_0xb86f73,_0x4b84de=_0x5901aa['XCTqr'][_0x52e31a(0x163)]('|');let _0x4d3c74=0x0;while(!![]){switch(_0x4b84de[_0x4d3c74++]){case'0':this[_0x52e31a(0x17f)]=now['toLocaleString']();continue;case'1':this[_0x52e31a(0x174)]=TestFrameworkState['NONE'];continue;case'2':this[_0x52e31a(0x178)]=_0x2be1d9;continue;case'3':super(_0x42d777);continue;case'4':this['testFrameworks']=_0x151e9c;continue;case'5':this[_0x52e31a(0x17d)]=_0x30b66b;continue;case'6':this[_0x52e31a(0x161)]=new Map();continue;case'7':this[_0x52e31a(0x175)]=_0x3ce639;continue;case'8':this[_0x52e31a(0x181)]=HookState[_0x52e31a(0x179)];continue;}break;}}['getCurrentTestState'](){return this['currentTestState'];}['setCurrentTestState'](_0x2bbe60){const _0x4e5fe6=a76_0x4de7b3;this[_0x4e5fe6(0x172)](this['currentTestState']),this[_0x4e5fe6(0x17d)]=_0x2bbe60;}[a76_0x4de7b3(0x166)](){const _0x1ad6c5=a76_0x4de7b3;return this[_0x1ad6c5(0x178)];}[a76_0x4de7b3(0x173)](_0x1ed052){const _0x2da553=a76_0x4de7b3;this[_0x2da553(0x165)](this[_0x2da553(0x178)]),this[_0x2da553(0x178)]=_0x1ed052;}['getLastTestState'](){return this['lastTestState'];}[a76_0x4de7b3(0x172)](_0xdebebe){const _0x29706a=a76_0x4de7b3;this[_0x29706a(0x174)]=_0xdebebe;}[a76_0x4de7b3(0x17e)](){const _0x44da71=a76_0x4de7b3;return this[_0x44da71(0x181)];}[a76_0x4de7b3(0x165)](_0x53f90a){const _0x318e3f=a76_0x4de7b3;this[_0x318e3f(0x181)]=_0x53f90a;}[a76_0x4de7b3(0x16d)](){return this['createdAt'];}['addPendingHook'](_0x12a306,_0x13456f){const _0x3c3443=a76_0x4de7b3;!this['pendingHooks'][_0x3c3443(0x169)](_0x12a306)&&this[_0x3c3443(0x161)]['set'](_0x12a306,[]),this[_0x3c3443(0x161)][_0x3c3443(0x16a)](_0x12a306)['push'](_0x13456f);}[a76_0x4de7b3(0x171)](_0x3e1151){const _0x11de16=a76_0x4de7b3;return this[_0x11de16(0x161)][_0x11de16(0x16a)](_0x3e1151)||[];}['removePendingHooks'](_0x1af374){const _0x564973=a76_0x4de7b3;this['pendingHooks'][_0x564973(0x177)](_0x1af374);}['hasPendingHooks'](_0x2fb54c){const _0x3c5758=a76_0x4de7b3;return this[_0x3c5758(0x161)][_0x3c5758(0x169)](_0x2fb54c);}}module['exports']=TestFrameworkInstance;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a77_0x55fec9=a77_0x2a87;function a77_0x2a87(_0x3dca86,_0x3000b8){const _0x414d34=a77_0x414d();return a77_0x2a87=function(_0x2a87f5,_0x3b599e){_0x2a87f5=_0x2a87f5-0x8e;let _0x2b8b36=_0x414d34[_0x2a87f5];return _0x2b8b36;},a77_0x2a87(_0x3dca86,_0x3000b8);}function a77_0x414d(){const _0x481a17=['TrackedContext','2516faIcCI','2161768LWMbcH','512VDnmqP','3231WIYCxt','getId','getType','24PkvCMF','type','102810CbGaUS','getProcessId','threadId','1738160VUOftU','300362NVzXew','../../../helpers/classLogger','1019916YhPveR','65SlhCwq','exports'];a77_0x414d=function(){return _0x481a17;};return a77_0x414d();}(function(_0xc7d2b8,_0x59f423){const _0x239222=a77_0x2a87,_0x295d0c=_0xc7d2b8();while(!![]){try{const _0x48de62=-parseInt(_0x239222(0x9e))/0x1+parseInt(_0x239222(0x92))/0x2*(parseInt(_0x239222(0x98))/0x3)+parseInt(_0x239222(0x8e))/0x4+parseInt(_0x239222(0x8f))/0x5*(-parseInt(_0x239222(0x9a))/0x6)+parseInt(_0x239222(0x93))/0x7+-parseInt(_0x239222(0x94))/0x8*(parseInt(_0x239222(0x95))/0x9)+parseInt(_0x239222(0x9d))/0xa;if(_0x48de62===_0x59f423)break;else _0x295d0c['push'](_0x295d0c['shift']());}catch(_0x35eb24){_0x295d0c['push'](_0x295d0c['shift']());}}}(a77_0x414d,0x31376));const {createClassLogger}=require(a77_0x55fec9(0x9f)),logger=createClassLogger(a77_0x55fec9(0x91));class TrackedContext{constructor(_0x3bd5ef,_0xe232c0,_0x2eb55c,_0xae22dc){const _0x364d1f=a77_0x55fec9;this['id']=_0x3bd5ef,this['threadId']=_0xe232c0,this['processId']=_0x2eb55c,this[_0x364d1f(0x99)]=_0xae22dc;}['getThreadId'](){const _0x51c2d5=a77_0x55fec9;return this[_0x51c2d5(0x9c)];}[a77_0x55fec9(0x9b)](){return this['processId'];}[a77_0x55fec9(0x96)](){return this['id'];}[a77_0x55fec9(0x97)](){const _0x184786=a77_0x55fec9;return this[_0x184786(0x99)];}}module[a77_0x55fec9(0x90)]=TrackedContext;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a78_0xdf09(){const _0x7ca765=['902808dyJgjR','hex','addMultipleEntries','getRef','pid','125451vfRZva','getId','forEach','worker_threads','updateData','exports','wvsmf','724UeifLA','8Lzcfxt','getAllData','2074MfjwCa','8848vFFYgD','8640030xbWjFu','updateMultipleEntries','keys','getContext','18030DOpHin','get','digest','context','GRVis','11gqcQmm','entries','1850mjfGiC','data','set','2628DnjJXp','createContext','crypto','KEY_IS_BROWSERSTACK_AUTOMATION_SESSION','3207310PcMMPF','isBrowserstackAutomationSession','update'];a78_0xdf09=function(){return _0x7ca765;};return a78_0xdf09();}function a78_0xf047(_0x221279,_0x397acd){const _0xdf0994=a78_0xdf09();return a78_0xf047=function(_0xf0479,_0x433b43){_0xf0479=_0xf0479-0x146;let _0x38701d=_0xdf0994[_0xf0479];return _0x38701d;},a78_0xf047(_0x221279,_0x397acd);}const a78_0xedfde0=a78_0xf047;(function(_0x4d98cf,_0xe49141){const _0x22c2f2=a78_0xf047,_0x55bf9b=_0x4d98cf();while(!![]){try{const _0x49e3bd=-parseInt(_0x22c2f2(0x162))/0x1*(-parseInt(_0x22c2f2(0x15f))/0x2)+parseInt(_0x22c2f2(0x158))/0x3*(-parseInt(_0x22c2f2(0x160))/0x4)+parseInt(_0x22c2f2(0x149))/0x5*(-parseInt(_0x22c2f2(0x168))/0x6)+parseInt(_0x22c2f2(0x164))/0x7+-parseInt(_0x22c2f2(0x163))/0x8*(-parseInt(_0x22c2f2(0x14c))/0x9)+-parseInt(_0x22c2f2(0x150))/0xa*(parseInt(_0x22c2f2(0x147))/0xb)+-parseInt(_0x22c2f2(0x153))/0xc;if(_0x49e3bd===_0xe49141)break;else _0x55bf9b['push'](_0x55bf9b['shift']());}catch(_0x5f03b9){_0x55bf9b['push'](_0x55bf9b['shift']());}}}(a78_0xdf09,0xaef25));const TrackedContext=require('./trackedContext'),crypto=require(a78_0xedfde0(0x14e)),{threadId}=require(a78_0xedfde0(0x15b));class TrackedInstance{static [a78_0xedfde0(0x14f)]=a78_0xedfde0(0x151);constructor(_0x29696c){const _0x471d34=a78_0xedfde0;this[_0x471d34(0x16b)]=_0x29696c,this[_0x471d34(0x14a)]=new Map();}[a78_0xedfde0(0x156)](){const _0x57aaf4=a78_0xedfde0;return this[_0x57aaf4(0x16b)][_0x57aaf4(0x159)]();}[a78_0xedfde0(0x167)](){const _0x53a652=a78_0xedfde0;return this[_0x53a652(0x16b)];}[a78_0xedfde0(0x161)](){const _0x4e2c27=a78_0xedfde0;return this[_0x4e2c27(0x14a)];}[a78_0xedfde0(0x165)](_0xc4f96a){const _0x5bd06d=a78_0xedfde0;Object[_0x5bd06d(0x166)](_0xc4f96a)[_0x5bd06d(0x15a)](_0x30e55e=>{const _0x47e50c=_0x5bd06d;this['data'][_0x47e50c(0x14b)](_0x30e55e,_0xc4f96a[_0x30e55e]);});}[a78_0xedfde0(0x155)](_0x5ee23f){const _0x4bb542=a78_0xedfde0;Object[_0x4bb542(0x148)](_0x5ee23f)[_0x4bb542(0x15a)](([_0x169770,_0x3a4b7b])=>{const _0x4a540b=_0x4bb542,_0xbcc7dc=this[_0x4a540b(0x14a)][_0x4a540b(0x169)](_0x169770)||{},_0xcbeeca={..._0xbcc7dc,..._0x3a4b7b},_0xf31788=_0xcbeeca;this[_0x4a540b(0x14a)][_0x4a540b(0x14b)](_0x169770,_0xf31788);});}['getData'](_0x40cc22){const _0x2f320b=a78_0xedfde0;return this['data'][_0x2f320b(0x169)](_0x40cc22);}[a78_0xedfde0(0x15c)](_0x5204eb,_0x3ba565){const _0x28ede9=a78_0xedfde0;this[_0x28ede9(0x14a)][_0x28ede9(0x14b)](_0x5204eb,_0x3ba565);}static[a78_0xedfde0(0x14d)](_0x357ce2){const _0x4d0b5e=a78_0xedfde0,_0x39e467={};_0x39e467['GRVis']='sha256',_0x39e467['wvsmf']=_0x4d0b5e(0x154),_0x39e467['feobW']=function(_0x40fc32,_0x1f46a9){return _0x40fc32||_0x1f46a9;};const _0x3b5ec8=_0x39e467;return new TrackedContext(crypto['createHash'](_0x3b5ec8[_0x4d0b5e(0x146)])[_0x4d0b5e(0x152)](_0x357ce2)[_0x4d0b5e(0x16a)](_0x3b5ec8[_0x4d0b5e(0x15e)]),_0x3b5ec8['feobW'](threadId,0x0),process[_0x4d0b5e(0x157)],typeof _0x357ce2);}}module[a78_0xedfde0(0x15d)]=TrackedInstance;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a79_0x30fb1a=a79_0xcb05;(function(_0x110b90,_0x167565){const _0xcc73b0=a79_0xcb05,_0x57c0ed=_0x110b90();while(!![]){try{const _0x3d538d=parseInt(_0xcc73b0(0xe6))/0x1*(parseInt(_0xcc73b0(0x117))/0x2)+-parseInt(_0xcc73b0(0xc5))/0x3+-parseInt(_0xcc73b0(0x208))/0x4*(parseInt(_0xcc73b0(0x183))/0x5)+parseInt(_0xcc73b0(0xed))/0x6*(parseInt(_0xcc73b0(0xee))/0x7)+-parseInt(_0xcc73b0(0x14c))/0x8*(parseInt(_0xcc73b0(0x130))/0x9)+-parseInt(_0xcc73b0(0x119))/0xa+parseInt(_0xcc73b0(0x20f))/0xb*(parseInt(_0xcc73b0(0xb1))/0xc);if(_0x3d538d===_0x167565)break;else _0x57c0ed['push'](_0x57c0ed['shift']());}catch(_0x5050f2){_0x57c0ed['push'](_0x57c0ed['shift']());}}}(a79_0x3706,0xb5eeb));const BaseModule=require(a79_0x30fb1a(0x1d2)),{createClassLogger}=require(a79_0x30fb1a(0x1ae)),CLIUtils=require(a79_0x30fb1a(0x1bc)),AutomationFramework=require(a79_0x30fb1a(0x168)),TestFramework=require(a79_0x30fb1a(0x1eb)),AutomationFrameworkState=require('../state/automationFrameworkState'),HookState=require(a79_0x30fb1a(0x112)),GrpcClient=require(a79_0x30fb1a(0xdf)),scripts=require('../../../helpers/accessibility-automation/scripts'),logger=createClassLogger(a79_0x30fb1a(0x242)),PerformanceTester=require(a79_0x30fb1a(0x18a)),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require(a79_0x30fb1a(0x1e6)),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a79_0x30fb1a(0x116)),{nestedKeyValue,isUndefined}=require(a79_0x30fb1a(0x19f)),util=require(a79_0x30fb1a(0x22f)),TestInfo=require(a79_0x30fb1a(0x205));class AccessibilityModule extends BaseModule{static [a79_0x30fb1a(0xf3)]=AccessibilityModule['name'];static [a79_0x30fb1a(0x11a)]=![];static [a79_0x30fb1a(0x1ab)]={};constructor(_0x15a95b){const _0x548083=a79_0x30fb1a,_0x20dafb={};_0x20dafb[_0x548083(0x1b9)]='1|0|11|7|9|6|13|2|4|8|10|5|14|3|12',_0x20dafb[_0x548083(0x1ba)]='DRIVER_HAS_URL',_0x20dafb[_0x548083(0x23b)]=_0x548083(0x155),_0x20dafb[_0x548083(0xce)]=_0x548083(0x12d);const _0x500016=_0x20dafb,_0x504fa6=_0x500016[_0x548083(0x1b9)][_0x548083(0x20c)]('|');let _0xcd1fa7=0x0;while(!![]){switch(_0x504fa6[_0xcd1fa7++]){case'0':AutomationFramework[_0x548083(0x1d3)](AutomationFrameworkState['EXECUTE'],HookState['PRE'],this[_0x548083(0x1a0)][_0x548083(0x170)](this));continue;case'1':super();continue;case'2':this[_0x548083(0xdd)]=new Map();continue;case'3':this[_0x548083(0xd0)]=_0x500016[_0x548083(0x1ba)];continue;case'4':this[_0x548083(0xe3)]=![];continue;case'5':this['setAccessibilityToken'](_0x15a95b[_0x548083(0x11e)]()[_0x548083(0x1fd)]());continue;case'6':this[_0x548083(0x175)]=_0x15a95b['toObject']();continue;case'7':AutomationFramework[_0x548083(0x1d3)](AutomationFrameworkState[_0x548083(0x22a)],HookState[_0x548083(0xbf)],this['onAfterTest'][_0x548083(0x170)](this));continue;case'8':this[_0x548083(0x1b7)]=[];continue;case'9':this['isEnabled']=!![];continue;case'10':this[_0x548083(0xcd)]=![];continue;case'11':AutomationFramework[_0x548083(0x1d3)](AutomationFrameworkState[_0x548083(0x1c3)],HookState['POST'],this[_0x548083(0x16b)][_0x548083(0x170)](this));continue;case'12':this[_0x548083(0xc9)]=_0x500016[_0x548083(0x23b)];continue;case'13':this['accessibility']=new Map();continue;case'14':this[_0x548083(0xe5)]=_0x500016[_0x548083(0xce)];continue;}break;}}['isEnabled'](){return this['isEnabled'];}[a79_0x30fb1a(0x227)](){const _0x6ca65d=a79_0x30fb1a;return AccessibilityModule[_0x6ca65d(0xf3)];}[a79_0x30fb1a(0x1ee)](){const _0x218fe8=a79_0x30fb1a;return this['accessibility'][_0x218fe8(0x128)](CLIUtils[_0x218fe8(0x118)](),![]);}[a79_0x30fb1a(0x15f)](){const _0x5d3bcf=a79_0x30fb1a;return this[_0x5d3bcf(0xdd)][_0x5d3bcf(0x128)](CLIUtils[_0x5d3bcf(0x118)](),![]);}[a79_0x30fb1a(0x151)](_0x2a2571){const _0x49a532=a79_0x30fb1a;this['LOG_DISABLED_SHOWN']['set'](CLIUtils[_0x49a532(0x118)](),_0x2a2571);}[a79_0x30fb1a(0x18e)](){const _0x17007b=a79_0x30fb1a,_0x4437b0={'GYIym':_0x17007b(0x19d),'CNBun':function(_0x43a6ce,_0x23067d){return _0x43a6ce(_0x23067d);},'SSHYl':'../../utils/playwright-patcher','Lmaot':_0x17007b(0x1b2),'rDRBa':'patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher'};if(this['_sendMessageServerPatchApplied']){logger['debug'](_0x4437b0['GYIym']);return;}try{const _0x37cca6=_0x4437b0[_0x17007b(0x18f)](require,_0x4437b0[_0x17007b(0x1bf)]);_0x37cca6&&_0x37cca6[_0x17007b(0x15b)]?(_0x37cca6['patchSendMessageToServer'](),this[_0x17007b(0xcd)]=!![],logger[_0x17007b(0x197)](_0x4437b0[_0x17007b(0xe7)])):logger[_0x17007b(0x197)](_0x4437b0[_0x17007b(0x1e1)]);}catch(_0x5b2431){logger[_0x17007b(0x197)](_0x17007b(0x1af)+util[_0x17007b(0x1d5)](_0x5b2431));}}[a79_0x30fb1a(0x174)](_0x4c4072=null,_0x2383ed=null,_0x506cd4=null){const _0x20b048=a79_0x30fb1a,_0x13eb10={'wEOVB':function(_0x650c1e,_0x1a465e){return _0x650c1e&&_0x1a465e;},'EQird':_0x20b048(0x184),'DdXCS':function(_0x573589,_0x1fa37f){return _0x573589(_0x1fa37f);},'IufAE':'../../../helpers/accessibility-automation/helper','gPFCu':_0x20b048(0x19f),'bOvOO':function(_0x44d402){return _0x44d402();},'gynzG':_0x20b048(0x150),'YyMWC':function(_0x4f5c0c,_0x421dde){return _0x4f5c0c===_0x421dde;},'iYMwP':_0x20b048(0x22c),'oBVCd':'playwright-chromium','JmSNG':function(_0x52fd6e,_0x9205bc){return _0x52fd6e===_0x9205bc;},'WYfxM':function(_0x3ccf55,_0x40cd50){return _0x3ccf55===_0x40cd50;},'GYPKk':_0x20b048(0x1f4),'ntHTZ':function(_0x11d883,_0x47c4d1){return _0x11d883===_0x47c4d1;},'dbnao':_0x20b048(0x154),'ORvSs':_0x20b048(0x21a),'lRFQJ':_0x20b048(0x140),'MjvSk':function(_0x2072ff){return _0x2072ff();},'MTYnB':function(_0x4d6ec2,_0x5ae788){return _0x4d6ec2>_0x5ae788;},'OOgPe':function(_0x32c4a8,_0x40b3a6){return _0x32c4a8(_0x40b3a6);},'KJsYQ':function(_0x5d88be,_0x17ad07){return _0x5d88be(_0x17ad07);},'fGJmj':_0x20b048(0x10b),'uepPW':function(_0x3619ea,_0x209819){return _0x3619ea!==_0x209819;},'qssLU':_0x20b048(0x219),'PYKlw':function(_0x2e63d7,_0x1f0c10){return _0x2e63d7(_0x1f0c10);},'kEEmS':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(_0x13eb10[_0x20b048(0x134)](!_0x2383ed,!_0x506cd4))return logger[_0x20b048(0x197)](_0x13eb10[_0x20b048(0x101)]),![];const {isAccessibilityAutomationSession:_0x51fe64}=_0x13eb10[_0x20b048(0x104)](require,_0x13eb10[_0x20b048(0x11b)]),{isUndefined:_0x376801,isBrowserstackInfra:_0x391670}=_0x13eb10[_0x20b048(0x104)](require,_0x13eb10[_0x20b048(0x1e2)]);if(!_0x13eb10[_0x20b048(0x240)](_0x51fe64))return logger[_0x20b048(0x197)](_0x13eb10['gynzG']),![];if(!(_0x2383ed[_0x20b048(0x21e)]&&_0x13eb10[_0x20b048(0x179)](_0x2383ed['browserName']['toLowerCase'](),_0x13eb10[_0x20b048(0x23a)])||_0x2383ed[_0x20b048(0x21e)]&&_0x13eb10['YyMWC'](_0x2383ed[_0x20b048(0x21e)][_0x20b048(0x195)](),_0x13eb10[_0x20b048(0x12f)])||_0x2383ed[_0x20b048(0x1e7)]&&_0x13eb10[_0x20b048(0x161)](_0x2383ed[_0x20b048(0x1e7)][_0x20b048(0x195)](),_0x13eb10[_0x20b048(0x23a)])||_0x2383ed[_0x20b048(0x1e7)]&&_0x13eb10['WYfxM'](_0x2383ed[_0x20b048(0x1e7)]['toLowerCase'](),_0x13eb10[_0x20b048(0x12f)])))return logger[_0x20b048(0x1d1)](_0x13eb10[_0x20b048(0xf8)]),![];try{const _0x4e2455=_0x2383ed[_0x20b048(0x123)],_0x2c3d0c=_0x13eb10['ntHTZ'](_0x4e2455,!![])||_0x13eb10[_0x20b048(0x146)](_0x4e2455,_0x13eb10[_0x20b048(0x139)])||_0x13eb10[_0x20b048(0x146)](typeof _0x4e2455,_0x13eb10['ORvSs'])&&_0x13eb10[_0x20b048(0x179)](_0x4e2455[_0x20b048(0x195)](),_0x13eb10[_0x20b048(0x139)]);if(_0x2c3d0c)return logger['warn'](_0x13eb10[_0x20b048(0xde)]),![];}catch(_0x48005f){logger[_0x20b048(0x197)](_0x20b048(0xda)+util['format'](_0x48005f));}if(!_0x13eb10[_0x20b048(0xca)](_0x391670)){if(!_0x13eb10[_0x20b048(0xf7)](_0x13eb10[_0x20b048(0x142)](parseFloat,_0x2383ed[_0x20b048(0x180)]),_0x13eb10['KJsYQ'](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger['warn'](_0x13eb10['fGJmj']),![];}else{if(_0x13eb10[_0x20b048(0x100)](_0x2383ed[_0x20b048(0x180)],_0x13eb10[_0x20b048(0xf1)])&&!_0x13eb10[_0x20b048(0xf7)](_0x13eb10[_0x20b048(0x104)](parseFloat,_0x2383ed[_0x20b048(0x180)]),_0x13eb10[_0x20b048(0x20d)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x20b048(0x1d1)](_0x13eb10['kEEmS']),![];}return!![];}catch(_0x4ac0cc){return logger['debug'](_0x20b048(0x122)+_0x4ac0cc['message']),![];}}[a79_0x30fb1a(0xd3)](_0x4d0835=[],_0x2f6361){const _0x217fd8=a79_0x30fb1a,_0x2288e9={'qRyTv':function(_0x238d29,_0x129554){return _0x238d29===_0x129554;},'zWHLb':function(_0x2b4ea1,_0x15e7df){return _0x2b4ea1(_0x15e7df);},'aVOGl':function(_0xc0575f,_0x7613f){return _0xc0575f>_0x7613f;},'PPjel':function(_0x487dd4,_0x406b7d){return _0x487dd4&&_0x406b7d;},'pPMcf':_0x217fd8(0x1b6)};try{const _0x1f9db5=process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']?JSON[_0x217fd8(0xea)](process[_0x217fd8(0x213)][_0x217fd8(0x12e)]):null;if(!_0x1f9db5)return!![];const _0x44e71e=Array['isArray'](_0x1f9db5['includeTagsInTestingScope'])?_0x1f9db5[_0x217fd8(0xbe)]:[],_0xa67d24=Array['isArray'](_0x1f9db5[_0x217fd8(0x236)])?_0x1f9db5[_0x217fd8(0x236)]:[];let _0x201642=![],_0x326cd2=_0x2288e9[_0x217fd8(0x1ac)](_0x44e71e[_0x217fd8(0x1fb)],0x0);const _0x2952f2=_0x5ead69=>typeof _0x5ead69===_0x217fd8(0x21a)?_0x5ead69[_0x217fd8(0x1e9)](/^@/,'')[_0x217fd8(0x195)]()['trim']():_0x5ead69,_0x38127e=new Set(_0x44e71e[_0x217fd8(0x211)](_0x2952f2)),_0x335d82=new Set(_0xa67d24[_0x217fd8(0x211)](_0x2952f2));for(const _0x4ad6ac of _0x4d0835){const _0x5e30c8=_0x2288e9[_0x217fd8(0xbb)](_0x2952f2,_0x4ad6ac);_0x335d82[_0x217fd8(0x193)](_0x5e30c8)&&(_0x201642=!![]),_0x2288e9['aVOGl'](_0x38127e[_0x217fd8(0xb4)],0x0)&&_0x38127e['has'](_0x5e30c8)&&(_0x326cd2=!![]);}const _0x40dac9=_0x2288e9[_0x217fd8(0x15a)](_0x326cd2,!_0x201642);return logger[_0x217fd8(0x197)](_0x217fd8(0x203)+(_0x2f6361?.[_0x217fd8(0x176)]?.()||_0x2288e9[_0x217fd8(0x1c7)])+_0x217fd8(0x16f)+_0x40dac9+_0x217fd8(0xbd)+JSON['stringify'](_0x4d0835)+_0x217fd8(0x103)+JSON[_0x217fd8(0x1ec)](_0x44e71e)+_0x217fd8(0x1d6)+JSON[_0x217fd8(0x1ec)](_0xa67d24)),_0x40dac9;}catch(_0x4ee8b9){return logger[_0x217fd8(0x197)](_0x217fd8(0x203)+(_0x2f6361?.[_0x217fd8(0x176)]?.()||_0x2288e9[_0x217fd8(0x1c7)])+_0x217fd8(0xb3)+_0x4ee8b9[_0x217fd8(0x1e8)]),![];}}async[a79_0x30fb1a(0x16b)](_0x3ed4b6){const _0x5b70a4=a79_0x30fb1a,_0x495e43={};_0x495e43[_0x5b70a4(0x1c6)]=function(_0x16cb60,_0xeb30ae){return _0x16cb60!==_0xeb30ae;},_0x495e43[_0x5b70a4(0x12b)]=_0x5b70a4(0xff),_0x495e43['VteSV']=_0x5b70a4(0x237),_0x495e43[_0x5b70a4(0x200)]=_0x5b70a4(0x14a),_0x495e43[_0x5b70a4(0x13a)]=_0x5b70a4(0x156),_0x495e43[_0x5b70a4(0x1ed)]=_0x5b70a4(0xe4),_0x495e43[_0x5b70a4(0x163)]=_0x5b70a4(0x1fa),_0x495e43[_0x5b70a4(0x1a8)]=function(_0x13bd5c,_0x16c4d1){return _0x13bd5c===_0x16c4d1;},_0x495e43['ziUyy']=_0x5b70a4(0x1f8),_0x495e43[_0x5b70a4(0x16d)]=function(_0xcdae4f,_0xe7b100){return _0xcdae4f>_0xe7b100;},_0x495e43[_0x5b70a4(0x106)]=_0x5b70a4(0x1df),_0x495e43[_0x5b70a4(0xd4)]=_0x5b70a4(0x15e),_0x495e43[_0x5b70a4(0xc7)]=function(_0x14f32a,_0x466051){return _0x14f32a&&_0x466051;},_0x495e43[_0x5b70a4(0xfa)]=_0x5b70a4(0x1b6),_0x495e43['sgNlU']=_0x5b70a4(0x154);const _0x10e7ed=_0x495e43;if(_0x10e7ed[_0x5b70a4(0x1c6)](_0x3ed4b6[_0x5b70a4(0x206)],_0x10e7ed['lQYvM'])){logger[_0x5b70a4(0x197)](_0x10e7ed[_0x5b70a4(0x1de)]);return;}logger[_0x5b70a4(0x18d)](_0x5b70a4(0x131)+JSON[_0x5b70a4(0x1ec)](_0x3ed4b6));try{const _0x563859=AutomationFramework[_0x5b70a4(0x209)](),_0x1681e4=TestFramework[_0x5b70a4(0x209)](),_0x1812bd=_0x3ed4b6[_0x5b70a4(0x1b3)]||global[_0x5b70a4(0x225)]?.[_0x5b70a4(0x23d)]||null;if(!_0x1812bd){_0x1681e4&&_0x1681e4[_0x5b70a4(0x182)](_0x10e7ed[_0x5b70a4(0x200)],!![]);logger['debug'](_0x10e7ed[_0x5b70a4(0x13a)]);return;}logger[_0x5b70a4(0x197)](_0x10e7ed[_0x5b70a4(0x1ed)]);const _0x550b20=_0x1681e4?.['getData'](_0x10e7ed[_0x5b70a4(0x163)],![]),_0xebaf1=_0x1681e4?.['getData'](_0x10e7ed[_0x5b70a4(0x200)],![]);if(_0x10e7ed[_0x5b70a4(0x1a8)](_0x550b20,![])&&_0x10e7ed[_0x5b70a4(0x1a8)](_0xebaf1,![])){_0x1681e4&&_0x1681e4[_0x5b70a4(0x182)](_0x10e7ed[_0x5b70a4(0x163)],!![]);logger[_0x5b70a4(0x197)](_0x10e7ed[_0x5b70a4(0x1b5)]);return;}_0x1681e4&&_0x1681e4[_0x5b70a4(0x182)](_0x10e7ed['glVJB'],!![]);let _0x3e6b42=[];const _0x2e5f44=this['getTestId'](_0x3ed4b6),_0x2fdbc1=TestInfo[_0x5b70a4(0x15c)](_0x2e5f44);if(_0x2fdbc1&&Array[_0x5b70a4(0x222)](_0x2fdbc1[_0x5b70a4(0x15e)])&&_0x10e7ed[_0x5b70a4(0x16d)](_0x2fdbc1[_0x5b70a4(0x15e)]['length'],0x0))_0x3e6b42=_0x2fdbc1[_0x5b70a4(0x15e)];else{if(_0x1681e4){const _0x269269=_0x10e7ed[_0x5b70a4(0x1a8)](typeof _0x1681e4['getData'],_0x10e7ed['dSLYb'])?_0x1681e4['getData'](_0x10e7ed['ovLzL'],[]):_0x1681e4[_0x5b70a4(0x15e)]||[];Array[_0x5b70a4(0x222)](_0x269269)&&(_0x3e6b42=_0x269269);}}logger[_0x5b70a4(0x18d)](_0x5b70a4(0x1a2)+JSON['stringify'](_0x3e6b42));const _0x25029c=this[_0x5b70a4(0x174)](_0x563859,_0x3ed4b6[_0x5b70a4(0xeb)],_0x3ed4b6[_0x5b70a4(0x13c)]),_0xaaae30=this[_0x5b70a4(0xd3)](_0x3e6b42,_0x563859),_0x3f8e94=_0x10e7ed['vgEyp'](_0x25029c,_0xaaae30),_0x53a836=CLIUtils[_0x5b70a4(0x118)]();this[_0x5b70a4(0xe8)][_0x5b70a4(0x218)](_0x53a836,_0x3f8e94),global[_0x5b70a4(0x1ce)]?.[_0x5b70a4(0xc8)]&&global[_0x5b70a4(0x1ce)][_0x5b70a4(0xc8)]()[_0x5b70a4(0xfd)](_0x3f8e94),logger[_0x5b70a4(0x197)](_0x5b70a4(0x203)+(_0x563859?.[_0x5b70a4(0x176)]?.()||_0x10e7ed[_0x5b70a4(0xfa)])+']\x20should\x20run\x20accessibility\x20value='+_0x3f8e94),_0x3f8e94?(global[_0x5b70a4(0xec)]=!![],process[_0x5b70a4(0x213)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x10e7ed[_0x5b70a4(0xcf)],this[_0x5b70a4(0x18e)]()):global['accessibilityPlatform']=![];}catch(_0x119d08){logger[_0x5b70a4(0x10d)](_0x5b70a4(0xf4)+(_0x119d08[_0x5b70a4(0xc3)]||_0x119d08['message']));const _0x1d2a9d=CLIUtils[_0x5b70a4(0x118)]();this['accessibility']['set'](_0x1d2a9d,![]),global[_0x5b70a4(0xec)]=![];}}[a79_0x30fb1a(0x20a)](){const _0x35d81b=a79_0x30fb1a;return this[_0x35d81b(0x1b7)][_0x35d81b(0x169)](_0x264e4e=>_0x264e4e[_0x35d81b(0x239)]()==='goog:chromeOptions')?.[_0x35d81b(0x1a5)]()||'';}['getCapabilityValue'](_0x39fc5f){const _0x115867=a79_0x30fb1a;try{const _0x412eea=this['accessibilityConfig']?.[_0x115867(0xfc)]?.[_0x115867(0x1d0)]||[],_0x3e3905=_0x412eea[_0x115867(0x169)](_0x3df84d=>_0x3df84d[_0x115867(0x1f2)]===_0x39fc5f);return _0x3e3905?_0x3e3905[_0x115867(0x143)]:null;}catch(_0x220aba){return logger[_0x115867(0x197)](_0x115867(0xc6)+_0x39fc5f+':\x20'+_0x220aba[_0x115867(0x1e8)]),null;}}async[a79_0x30fb1a(0xcc)](_0x2d3675,_0x33dcda){const _0x2960f3=a79_0x30fb1a,_0x43836d=_0x2d3675[_0x2960f3(0x189)]()[_0x2960f3(0x11e)](),_0x275402=_0x43836d[_0x2960f3(0x20e)](),_0x266d10=_0x43836d['getCommandsToWrap']()?.[_0x2960f3(0xcb)]();scripts[_0x2960f3(0x1a7)](_0x275402,_0x266d10),scripts[_0x2960f3(0x230)]();const _0x306f51=_0x43836d[_0x2960f3(0x1fd)]();this[_0x2960f3(0x1b7)]=_0x43836d[_0x2960f3(0x1fd)](),await this[_0x2960f3(0xdb)](_0x306f51,_0x33dcda[_0x2960f3(0x13c)]);}async[a79_0x30fb1a(0xdb)](_0x10047b,_0x2853bb={}){const _0x508a90=a79_0x30fb1a,_0x21f395={};_0x21f395[_0x508a90(0x1c5)]=function(_0x54513c,_0x56f0ca){return _0x54513c===_0x56f0ca;},_0x21f395['toBKq']=_0x508a90(0x1f3),_0x21f395[_0x508a90(0x1c4)]=_0x508a90(0xe9),_0x21f395[_0x508a90(0x1f1)]=function(_0x30ba27,_0x502ffe){return _0x30ba27===_0x502ffe;},_0x21f395[_0x508a90(0x1e3)]=_0x508a90(0x223),_0x21f395['KrOOf']=_0x508a90(0x10c),_0x21f395[_0x508a90(0x12c)]=_0x508a90(0x1e4),_0x21f395[_0x508a90(0x107)]=_0x508a90(0x1cd),_0x21f395[_0x508a90(0xe0)]=function(_0x3fed15,_0x1c8093){return _0x3fed15===_0x1c8093;},_0x21f395[_0x508a90(0xd8)]=_0x508a90(0xb0),_0x21f395[_0x508a90(0x114)]=_0x508a90(0x1be);const _0x214c0d=_0x21f395;global['__accessibilityOptions']=global[_0x508a90(0x145)]||{};for(const _0x13e03e of _0x10047b){logger[_0x508a90(0x18d)](_0x508a90(0x1ef)+_0x13e03e['getName']()+_0x508a90(0x191)+_0x13e03e['getValue']());if(_0x214c0d[_0x508a90(0x1c5)](_0x13e03e[_0x508a90(0x239)](),_0x214c0d[_0x508a90(0xbc)]))process[_0x508a90(0x213)]['BS_A11Y_JWT']=_0x13e03e[_0x508a90(0x1a5)](),global[_0x508a90(0x145)][_0x214c0d[_0x508a90(0x1c4)]]=_0x13e03e['getValue']();else{if(_0x214c0d['NHYPd'](_0x13e03e['getName'](),_0x214c0d[_0x508a90(0x1e3)]))global[_0x508a90(0x145)][_0x214c0d[_0x508a90(0xb2)]]=_0x13e03e['getValue']();else{if(_0x214c0d[_0x508a90(0x1f1)](_0x13e03e[_0x508a90(0x239)](),_0x214c0d[_0x508a90(0x12c)]))global[_0x508a90(0x145)][_0x214c0d[_0x508a90(0x107)]]=_0x13e03e[_0x508a90(0x1a5)]();else _0x214c0d[_0x508a90(0xe0)](_0x13e03e['getName'](),_0x214c0d[_0x508a90(0xd8)])&&(global[_0x508a90(0x145)][_0x214c0d['mQGMI']]=_0x13e03e[_0x508a90(0x1a5)]());}}}}async[a79_0x30fb1a(0x153)](_0x1c4479){const _0x3b57ab=a79_0x30fb1a,_0x4a094c={};_0x4a094c[_0x3b57ab(0x17b)]=function(_0x3712ab,_0x18dc0d){return _0x3712ab!==_0x18dc0d;},_0x4a094c[_0x3b57ab(0x13e)]=_0x3b57ab(0xff),_0x4a094c[_0x3b57ab(0xb7)]='onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20cucumber\x20test\x20framework',_0x4a094c['qvMdh']=_0x3b57ab(0x1b6);const _0x76cc93=_0x4a094c;if(_0x76cc93[_0x3b57ab(0x17b)](_0x1c4479[_0x3b57ab(0x206)],_0x76cc93[_0x3b57ab(0x13e)])){logger['debug'](_0x76cc93['yeEna']);return;}logger[_0x3b57ab(0x18d)](_0x3b57ab(0x220)+JSON[_0x3b57ab(0x1ec)](_0x1c4479));try{const _0x503bfc=_0x1c4479[_0x3b57ab(0x202)]||AutomationFramework['getTrackedInstance'](),_0x5b818e=CLIUtils[_0x3b57ab(0x118)](),_0x5b86af=this[_0x3b57ab(0x1ee)]();logger['debug'](_0x3b57ab(0x203)+(_0x503bfc?.['getPlatformIndex']?.()||_0x76cc93['qvMdh'])+_0x3b57ab(0x201)+_0x5b86af),_0x5b86af&&await this[_0x3b57ab(0x1bb)](_0x503bfc,_0x1c4479),this[_0x3b57ab(0xe8)][_0x3b57ab(0x1f6)](_0x5b818e),this[_0x3b57ab(0xdd)][_0x3b57ab(0x1f6)](_0x5b818e);}catch(_0x4b8856){logger[_0x3b57ab(0x10d)](_0x3b57ab(0x1f5)+(_0x4b8856[_0x3b57ab(0xc3)]||_0x4b8856[_0x3b57ab(0x1e8)]));}}async[a79_0x30fb1a(0x1bb)](_0xb33025,_0x4819ca){const _0x5358c5=a79_0x30fb1a,_0x2d189d={};_0x2d189d[_0x5358c5(0x22b)]=function(_0x8a94c5,_0x3d9c2f){return _0x8a94c5===_0x3d9c2f;},_0x2d189d[_0x5358c5(0x159)]=_0x5358c5(0x1df),_0x2d189d[_0x5358c5(0xfb)]=_0x5358c5(0x1b6),_0x2d189d['yMCBz']=_0x5358c5(0x158),_0x2d189d[_0x5358c5(0x162)]=_0x5358c5(0x216),_0x2d189d[_0x5358c5(0xe2)]=_0x5358c5(0xe8),_0x2d189d[_0x5358c5(0x115)]='saveResults',_0x2d189d['ikyGV']=function(_0x3ecb36,_0x49e539){return _0x3ecb36||_0x49e539;},_0x2d189d[_0x5358c5(0x233)]=function(_0x954a95,_0x39e69b){return _0x954a95||_0x39e69b;},_0x2d189d[_0x5358c5(0xb6)]=function(_0xd05123,_0x1435a2){return _0xd05123||_0x1435a2;},_0x2d189d[_0x5358c5(0x1da)]=_0x5358c5(0x129),_0x2d189d[_0x5358c5(0x204)]=_0x5358c5(0x113);const _0x132c93=_0x2d189d;try{const _0xb7fd7b=this['getTestId'](_0x4819ca),_0x3aab78=TestInfo[_0x5358c5(0x21d)](_0xb7fd7b),_0x40066a=((()=>{const _0x128de8=_0x5358c5,_0x17621a=(this[_0x128de8(0x175)]?.[_0x128de8(0xfc)]?.[_0x128de8(0x1d0)]||[])[_0x128de8(0x169)](_0x185bd9=>(typeof _0x185bd9['getName']===_0x128de8(0x1df)?_0x185bd9[_0x128de8(0x239)]():_0x185bd9[_0x128de8(0x1f2)])===this[_0x128de8(0xc9)]);return _0x17621a?_0x132c93[_0x128de8(0x22b)](typeof _0x17621a[_0x128de8(0x1a5)],_0x132c93['VSVEe'])?_0x17621a[_0x128de8(0x1a5)]():_0x17621a[_0x128de8(0x143)]:'';})()),_0xa535e9=process['env'][_0x5358c5(0x127)]||'';logger['debug'](_0x5358c5(0x203)+(_0xb33025?.[_0x5358c5(0x176)]?.()||_0x132c93[_0x5358c5(0xfb)])+_0x5358c5(0x18c)+_0x3aab78+_0x5358c5(0x22e)+_0x40066a+_0x5358c5(0xd7)+(_0xa535e9?_0x132c93[_0x5358c5(0x14d)]:_0x132c93['yIOgs']));const _0x5e9c0b=await GrpcClient[_0x5358c5(0x185)]()['fetchDriverExecuteParamsEvent'](process[_0x5358c5(0x213)][_0x5358c5(0x1dc)],_0x132c93[_0x5358c5(0xe2)],_0x132c93[_0x5358c5(0x115)]),_0x1a92a9=AccessibilityModule[_0x5358c5(0x164)](_0x3aab78,_0x5e9c0b);logger[_0x5358c5(0x197)]('Accessibility\x20data\x20for\x20extension:\x20'+JSON['stringify'](_0x1a92a9));const _0x493fb5=Object[_0x5358c5(0x19b)]({},{'thTestRunUuid':_0x132c93[_0x5358c5(0x1a6)](_0x3aab78,''),'thBuildUuid':_0x132c93['QYgSV'](_0x40066a,''),'thJwtToken':_0x132c93[_0x5358c5(0xb6)](_0xa535e9,'')},_0x1a92a9);let _0x4114f7=global[_0x5358c5(0x225)]?.[_0x5358c5(0x23d)]||null;!_0x4114f7&&(_0x4114f7=AutomationFramework[_0x5358c5(0xef)](_0xb33025,_0x132c93[_0x5358c5(0x1da)],null)),!_0x4114f7&&(_0x4114f7=AutomationFramework[_0x5358c5(0xef)](_0xb33025,_0x132c93[_0x5358c5(0x204)],null)),await this['finishScanningForCli'](this['getCurrentAccessibilityStatus'](),_0x3aab78,_0x4114f7,_0x493fb5,this['isAppAccessibility']);}catch(_0x3c390a){logger[_0x5358c5(0x10d)](_0x5358c5(0x102)+(_0x3c390a['stack']||_0x3c390a[_0x5358c5(0x1e8)]));}}async[a79_0x30fb1a(0x135)](_0x26860b,_0x25e1f6,_0x7dea91,_0x121f7d,_0x58d679){const _0x555fd3=a79_0x30fb1a,_0x9a90c1={};_0x9a90c1[_0x555fd3(0x1cb)]=_0x555fd3(0x13b),_0x9a90c1[_0x555fd3(0x1ad)]=function(_0x42ba83,_0x2e4a7d){return _0x42ba83&&_0x2e4a7d;},_0x9a90c1[_0x555fd3(0x1dd)]='Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing',_0x9a90c1['VlvCP']=function(_0x4a72a0,_0x2a2b13){return _0x4a72a0===_0x2a2b13;},_0x9a90c1[_0x555fd3(0xb8)]='null',_0x9a90c1[_0x555fd3(0x10f)]=function(_0x2b526d,_0x6661b6){return _0x2b526d===_0x6661b6;},_0x9a90c1[_0x555fd3(0x149)]=_0x555fd3(0xd6),_0x9a90c1['DBdXU']='Performing\x20scan\x20before\x20from\x20cli',_0x9a90c1['Wpvxi']=_0x555fd3(0x121),_0x9a90c1[_0x555fd3(0x1cc)]=_0x555fd3(0x105),_0x9a90c1[_0x555fd3(0x17e)]=_0x555fd3(0x229),_0x9a90c1[_0x555fd3(0xd2)]=_0x555fd3(0x1ca),_0x9a90c1[_0x555fd3(0x111)]=_0x555fd3(0xd9);const _0x2c5765=_0x9a90c1;try{const _0x5999e8=this['getScriptByName'](_0x2c5765[_0x555fd3(0x1cb)]);if(_0x2c5765['hdjfm'](!_0x58d679,!_0x5999e8)){logger[_0x555fd3(0x197)](_0x2c5765['gNBQh']);return;}if(!_0x25e1f6||_0x2c5765[_0x555fd3(0x215)](_0x25e1f6,_0x2c5765[_0x555fd3(0xb8)])||_0x2c5765[_0x555fd3(0x10f)](_0x25e1f6,'')){logger[_0x555fd3(0x197)](_0x2c5765[_0x555fd3(0x149)]);return;}logger[_0x555fd3(0x197)](_0x555fd3(0x232)+JSON[_0x555fd3(0x1ec)](_0x121f7d)),_0x26860b&&(logger[_0x555fd3(0x197)](_0x2c5765[_0x555fd3(0x1d4)]),await this[_0x555fd3(0x13f)](_0x7dea91,_0x25e1f6,_0x2c5765[_0x555fd3(0x133)],_0x121f7d,_0x58d679,_0x2c5765[_0x555fd3(0x1cc)]),_0x2c5765['hdjfm'](!_0x58d679,_0x5999e8)&&(logger[_0x555fd3(0x197)](_0x2c5765[_0x555fd3(0x17e)]),await PerformanceTester['measureWrapper'](_0x2c5765[_0x555fd3(0xd2)],async()=>{const _0x3f17c2=_0x555fd3;await this['performScanForCli'](_0x7dea91,_0x25e1f6,_0x2c5765[_0x3f17c2(0x1cb)],_0x121f7d,_0x58d679,_0x2c5765[_0x3f17c2(0x1cb)]);})()),logger[_0x555fd3(0x18d)](_0x2c5765[_0x555fd3(0x111)]));}catch(_0x5194d3){logger[_0x555fd3(0x10d)](_0x555fd3(0xc1)+(_0x5194d3[_0x555fd3(0xc3)]||_0x5194d3[_0x555fd3(0x1e8)]));}}async['onBeforeExecute'](_0x2a56f4){const _0x246d7e=a79_0x30fb1a,_0x48e4e1={};_0x48e4e1['zAarj']=function(_0x386445,_0x5acb59){return _0x386445!==_0x5acb59;},_0x48e4e1[_0x246d7e(0xf9)]=_0x246d7e(0xff),_0x48e4e1[_0x246d7e(0xfe)]=_0x246d7e(0x228),_0x48e4e1[_0x246d7e(0x1a9)]=_0x246d7e(0x1b6),_0x48e4e1['gfeoe']='onBeforeExecute:\x20No\x20command\x20name\x20provided',_0x48e4e1[_0x246d7e(0x178)]='test_run_id',_0x48e4e1[_0x246d7e(0x1aa)]='testhub_build_uuid',_0x48e4e1[_0x246d7e(0x1bd)]=_0x246d7e(0x105),_0x48e4e1[_0x246d7e(0x157)]='null';const _0x2499bb=_0x48e4e1;if(_0x2499bb[_0x246d7e(0x144)](_0x2a56f4[_0x246d7e(0x206)],_0x2499bb[_0x246d7e(0xf9)])){logger[_0x246d7e(0x197)](_0x2499bb[_0x246d7e(0xfe)]);return;}logger['debug'](_0x246d7e(0x16e)+(_0x2a56f4['commandName']||_0x2499bb[_0x246d7e(0x1a9)]));try{const _0x2dd7a5=_0x2a56f4[_0x246d7e(0x202)]||AutomationFramework[_0x246d7e(0x209)](),_0x10e321=TestFramework[_0x246d7e(0x209)](),_0x4a5c08=_0x2a56f4['commandName']||_0x2a56f4[_0x246d7e(0x166)]?.[_0x246d7e(0x239)]();if(!_0x4a5c08){logger[_0x246d7e(0x197)](_0x2499bb['gfeoe']);return;}if(!this['getCurrentAccessibilityStatus']()){logger[_0x246d7e(0x197)]('onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20'+_0x4a5c08);return;}if(!this[_0x246d7e(0x1b8)](_0x4a5c08)){logger[_0x246d7e(0x197)]('onBeforeExecute:\x20Command\x20'+_0x4a5c08+_0x246d7e(0x1b1));return;}const _0x282f39=_0x2a56f4['page']||global[_0x246d7e(0x225)]?.[_0x246d7e(0x23d)];if(!_0x282f39){logger[_0x246d7e(0x197)](_0x246d7e(0x138)+_0x4a5c08);return;}const _0x1c4a0e=this['getCapabilityValue'](_0x2499bb[_0x246d7e(0x178)])||'',_0x4aab2a=this[_0x246d7e(0x1a3)](_0x2499bb['JBkJJ'])||this[_0x246d7e(0x175)][this[_0x246d7e(0xc9)]]||null,_0xdb3529=process[_0x246d7e(0x213)][_0x246d7e(0x127)]||'',_0x41389b=this['getParamsForScanForCli'](_0x4a5c08,_0x1c4a0e,_0x4aab2a,_0xdb3529),_0x2148c5=await AccessibilityModule[_0x246d7e(0x16a)](_0x2499bb[_0x246d7e(0x1bd)],_0x1c4a0e);logger[_0x246d7e(0x18d)](_0x246d7e(0x1fc)+(_0x41389b?JSON['stringify'](_0x41389b):_0x2499bb['LnGFv']));const _0x25f14d=CLIUtils[_0x246d7e(0x231)](_0x41389b,_0x2148c5);logger['info'](_0x246d7e(0x16c)+(_0x25f14d?JSON[_0x246d7e(0x1ec)](_0x25f14d):_0x2499bb[_0x246d7e(0x157)])),logger['debug']('onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20'+_0x4a5c08);const _0x54cb9f=await this['performScanForCli'](_0x282f39,_0x1c4a0e,_0x4a5c08,_0x25f14d,this[_0x246d7e(0xe3)]);logger[_0x246d7e(0x197)]('onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20'+_0x4a5c08+',\x20\x0a\x20'+_0x54cb9f);}catch(_0x1f24a7){logger['error'](_0x246d7e(0xf5)+(_0x1f24a7[_0x246d7e(0xc3)]||_0x1f24a7['message']));}}[a79_0x30fb1a(0x14b)](){return this['getCurrentAccessibilityStatus']();}[a79_0x30fb1a(0x1e0)](_0xa8bfdd){const _0x6fda07=a79_0x30fb1a,_0x3bfb41=CLIUtils[_0x6fda07(0x118)]();this[_0x6fda07(0xe8)][_0x6fda07(0x218)](_0x3bfb41,_0xa8bfdd);}async[a79_0x30fb1a(0x137)](_0x58597e){const _0x2df24d=a79_0x30fb1a,_0x312429={};_0x312429[_0x2df24d(0x21b)]=_0x2df24d(0x1b6);const _0x19da76=_0x312429;try{const _0x2aee2b=_0x58597e['instance']||AutomationFramework[_0x2df24d(0x209)](),_0x23c5bf=_0x2aee2b?.[_0x2df24d(0xb5)]?.()?.[_0x2df24d(0x128)]?.(this[_0x2df24d(0xe5)])||![];if(_0x23c5bf)return;PerformanceTester[_0x2df24d(0x21c)](EVENTS[_0x2df24d(0xc0)]);const _0x4f04ec=await GrpcClient['getInstance']()[_0x2df24d(0xba)](_0x58597e);_0x4f04ec&&_0x4f04ec[_0x2df24d(0x189)]&&_0x4f04ec[_0x2df24d(0x189)]()&&_0x4f04ec['getAccessibility']()[_0x2df24d(0x198)]()?(await this[_0x2df24d(0x173)](_0x4f04ec,_0x58597e),_0x2aee2b?.['getData']&&_0x2aee2b[_0x2df24d(0xb5)]()[_0x2df24d(0x218)](this['KEY_INIT'],!![]),logger[_0x2df24d(0x197)](_0x2df24d(0x203)+(_0x2aee2b?.[_0x2df24d(0x176)]?.()||_0x19da76[_0x2df24d(0x21b)])+_0x2df24d(0x12a))):logger[_0x2df24d(0x197)](_0x2df24d(0x203)+(_0x2aee2b?.[_0x2df24d(0x176)]?.()||_0x19da76[_0x2df24d(0x21b)])+']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration'),PerformanceTester['end'](EVENTS[_0x2df24d(0xc0)]);}catch(_0x2f780f){PerformanceTester['end'](EVENTS[_0x2df24d(0xc0)],![],_0x2f780f['message']),logger[_0x2df24d(0x10d)](_0x2df24d(0x234)+(_0x2f780f[_0x2df24d(0xc3)]||_0x2f780f[_0x2df24d(0x1e8)]));}}async[a79_0x30fb1a(0x173)](_0x3d688f,_0x1d2d4d){const _0x3e46f4=a79_0x30fb1a;await this['setAccessibilityConfig'](_0x3d688f,_0x1d2d4d);const _0x51fd50=_0x3d688f[_0x3e46f4(0x189)]()[_0x3e46f4(0x11e)]();if(_0x51fd50){const _0x3edd0d=_0x3d688f[_0x3e46f4(0x110)]&&_0x3d688f[_0x3e46f4(0x110)]();_0x3edd0d&&(this[_0x3e46f4(0x175)][this['KEY_TESTHUB_BUILD_ID']]=_0x3edd0d['getBuildId']&&_0x3edd0d[_0x3e46f4(0x21f)]());}}[a79_0x30fb1a(0x1b8)](_0x5b7321){const _0x4c600b=a79_0x30fb1a,_0x318ec2={};_0x318ec2[_0x4c600b(0x124)]=function(_0x43eae1,_0x121bf1){return _0x43eae1===_0x121bf1;};const _0x339322=_0x318ec2;try{if(!_0x5b7321)return![];const _0x1ca97f=this['accessibilityConfig']?.['options']?.[_0x4c600b(0x11f)]?.['commandsList']||[],_0x3e0224=_0x1ca97f[_0x4c600b(0x15d)](_0x59f9a6=>{const _0x513d48=_0x4c600b;return _0x59f9a6[_0x513d48(0x1f2)]&&_0x339322[_0x513d48(0x124)](_0x59f9a6['name'][_0x513d48(0x195)](),_0x5b7321['toLowerCase']());});return logger['debug'](_0x4c600b(0x1c9)+_0x5b7321+_0x4c600b(0x221)+_0x3e0224+_0x4c600b(0x1cf)+JSON['stringify'](_0x1ca97f[_0x4c600b(0x211)](_0x358703=>_0x358703['name']))),_0x3e0224;}catch(_0x30a26e){return logger['debug']('Error\x20in\x20shouldScanForCommand:\x20'+_0x30a26e[_0x4c600b(0x1e8)]),![];}}[a79_0x30fb1a(0x196)](_0x48e6eb){const _0x63ca4d=a79_0x30fb1a,_0x47b565={};_0x47b565[_0x63ca4d(0x167)]=function(_0x3ce522,_0x1497f8){return _0x3ce522===_0x1497f8;},_0x47b565[_0x63ca4d(0x1c2)]=_0x63ca4d(0x21a),_0x47b565['SIofz']=_0x63ca4d(0x13d);const _0x3a5c52=_0x47b565,_0x32f193=_0x48e6eb['getScript']&&_0x48e6eb[_0x63ca4d(0xf0)]();return _0x32f193&&_0x3a5c52[_0x63ca4d(0x167)](typeof _0x32f193,_0x3a5c52[_0x63ca4d(0x1c2)])&&_0x32f193[_0x63ca4d(0x1c1)](_0x3a5c52[_0x63ca4d(0xc2)]);}['isAccessibilityScriptCommand'](_0x17920a){const _0x298618=a79_0x30fb1a,_0xb1f6f3={};_0xb1f6f3[_0x298618(0x171)]=function(_0x309923,_0x5a93ad){return _0x309923!==_0x5a93ad;},_0xb1f6f3[_0x298618(0xd5)]='string',_0xb1f6f3['garHg']=_0x298618(0xe8),_0xb1f6f3['Prbbr']=_0x298618(0x1d9),_0xb1f6f3[_0x298618(0x214)]=_0x298618(0x11d),_0xb1f6f3[_0x298618(0x1d7)]=_0x298618(0x23c);const _0x556f47=_0xb1f6f3,_0x5ebf92=_0x17920a[_0x298618(0xf0)]&&_0x17920a[_0x298618(0xf0)]();if(!_0x5ebf92||_0x556f47[_0x298618(0x171)](typeof _0x5ebf92,_0x556f47[_0x298618(0xd5)]))return![];return _0x5ebf92[_0x298618(0x1c1)](_0x556f47[_0x298618(0x1db)])||_0x5ebf92[_0x298618(0x1c1)](_0x556f47[_0x298618(0x120)])||_0x5ebf92['includes'](_0x556f47[_0x298618(0x214)])||_0x5ebf92[_0x298618(0x1c1)](_0x556f47['xAXHm']);}[a79_0x30fb1a(0x1a4)](_0x556c15,_0x3cc4e2,_0x3d249b,_0x4c0ca9){const _0x44369f=a79_0x30fb1a,_0x4f4cbd={};_0x4f4cbd[_0x44369f(0x226)]=function(_0x4952cd,_0x4ebad3){return _0x4952cd||_0x4ebad3;};const _0x3a32ad=_0x4f4cbd;return{'command':_0x556c15,'thTestRunUuid':_0x3a32ad[_0x44369f(0x226)](_0x3cc4e2,''),'thBuildUuid':_0x3a32ad[_0x44369f(0x226)](_0x3d249b,''),'thJwtToken':_0x3a32ad['JGrYp'](_0x4c0ca9,''),'timestamp':new Date()[_0x44369f(0x14e)]()};}[a79_0x30fb1a(0x181)](_0x2058cc){const _0x26dc19=a79_0x30fb1a,_0x3ad247={};_0x3ad247[_0x26dc19(0x177)]=function(_0x53659e,_0x3de4f3){return _0x53659e||_0x3de4f3;};const _0x4b49e8=_0x3ad247;try{const _0x3a6cdf=this[_0x26dc19(0x175)]?.[_0x26dc19(0xfc)]?.[_0x26dc19(0x125)]||[],_0x555173=_0x3a6cdf[_0x26dc19(0x169)](_0x3e25c0=>_0x3e25c0[_0x26dc19(0x1f2)]===_0x2058cc);return _0x4b49e8['vsfrp'](_0x555173,null);}catch(_0x3a6407){return logger[_0x26dc19(0x197)](_0x26dc19(0x1fe)+_0x2058cc+':\x20'+_0x3a6407[_0x26dc19(0x1e8)]),null;}}async['executeScriptByName'](_0x3a2365,_0x1ac5e3,_0x3f4759=null){const _0x1bce80=a79_0x30fb1a,_0x54d3fb={'ihqUc':function(_0x3cbd40,_0x51abef){return _0x3cbd40(_0x51abef);},'tXFBs':_0x1bce80(0x10a)};try{if(!_0x3a2365)return logger[_0x1bce80(0x197)]('executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20'+_0x1ac5e3),null;const _0x18071d=this[_0x1bce80(0x181)](_0x1ac5e3);if(!_0x18071d||!_0x18071d[_0x1bce80(0x166)])return logger[_0x1bce80(0x197)](_0x1bce80(0x18b)+_0x1ac5e3+'\x20script\x20available'),null;logger[_0x1bce80(0x197)](_0x1bce80(0xc4)+_0x1ac5e3+_0x1bce80(0x165));const _0x3b1d53=_0x54d3fb['ihqUc'](require,_0x54d3fb[_0x1bce80(0x187)]),_0x5951ce=_0x3f4759?await _0x3b1d53[_0x1bce80(0x212)](_0x3a2365,_0x18071d[_0x1bce80(0x166)],_0x3f4759):await _0x3b1d53['browserStackEvaluate'](_0x3a2365,_0x18071d[_0x1bce80(0x166)]);return _0x5951ce;}catch(_0x17570d){return logger[_0x1bce80(0x10d)](_0x1bce80(0xf2)+_0x1ac5e3+':\x20'+(_0x17570d['stack']||_0x17570d[_0x1bce80(0x1e8)])),null;}}async['performScanForCli'](_0x103bfa,_0x1814d8,_0x55cd81,_0x107735,_0x556b93,_0x4a4d6f=a79_0x30fb1a(0x105)){const _0x4dc0d3=a79_0x30fb1a,_0x2777d9={'ABLah':function(_0x10ff8f,_0x20c1d9){return _0x10ff8f===_0x20c1d9;},'BRYiv':'scan','RoKyM':function(_0x3bc214,_0x1e7acc){return _0x3bc214(_0x1e7acc);},'iffVp':_0x4dc0d3(0x10a)};try{logger['debug'](_0x4dc0d3(0x1c0)+_0x55cd81+_0x4dc0d3(0x10e)+_0x4a4d6f);const _0x29c7b3=this[_0x4dc0d3(0x181)](_0x4a4d6f);if(!_0x29c7b3||!_0x29c7b3[_0x4dc0d3(0x166)]){logger['debug'](_0x4dc0d3(0x207)+_0x4a4d6f+_0x4dc0d3(0x1a1));return;}if(_0x2777d9[_0x4dc0d3(0x17c)](_0x4a4d6f,_0x2777d9[_0x4dc0d3(0x1e5)])){const _0x5e2f93=_0x2777d9[_0x4dc0d3(0x238)](require,_0x2777d9[_0x4dc0d3(0x217)]),_0x6d6eee={};_0x6d6eee[_0x4dc0d3(0x166)]=_0x55cd81;const _0xc936a6=await PerformanceTester[_0x4dc0d3(0x19e)](PerformanceA11yEvents[_0x4dc0d3(0x108)],async()=>{const _0x25f2be=_0x4dc0d3;await _0x5e2f93[_0x25f2be(0x212)](_0x103bfa,_0x29c7b3[_0x25f2be(0x166)]);},_0x6d6eee)();return logger['info'](_0x4dc0d3(0x1b0)+_0x4a4d6f+_0x4dc0d3(0x1b4)+_0x55cd81+':\x20'+util[_0x4dc0d3(0x1d5)](_0xc936a6)),_0xc936a6;}const _0x23c5a7=_0x2777d9[_0x4dc0d3(0x238)](require,_0x2777d9['iffVp']),_0x15d504=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x4dc0d3(0x235)],async()=>{const _0x1ebe50=_0x4dc0d3;await _0x23c5a7[_0x1ebe50(0x212)](_0x103bfa,_0x29c7b3[_0x1ebe50(0x166)],_0x107735);})();return logger[_0x4dc0d3(0x18d)](_0x4dc0d3(0x1b0)+_0x4a4d6f+_0x4dc0d3(0x1b4)+_0x55cd81+':\x20'+util[_0x4dc0d3(0x1d5)](_0x15d504)),_0x15d504;}catch(_0x5856bd){logger[_0x4dc0d3(0x10d)](_0x4dc0d3(0x11c)+_0x4a4d6f+':\x20'+(_0x5856bd[_0x4dc0d3(0xc3)]||_0x5856bd[_0x4dc0d3(0x1e8)]));}}async['validatePlatformForAccessibility'](_0x9f2819){const _0x221a06=a79_0x30fb1a,_0x2cbaf0={'JwtjH':function(_0x20c268,_0x40dc2d){return _0x20c268(_0x40dc2d);},'rPDpK':_0x221a06(0x22d)};try{const _0x4daf84=_0x2cbaf0[_0x221a06(0x17f)](require,_0x2cbaf0[_0x221a06(0x1f7)]);return await _0x4daf84[_0x221a06(0x194)](_0x9f2819);}catch(_0x3a8ce5){return logger['error'](_0x221a06(0x199)+(_0x3a8ce5[_0x221a06(0xc3)]||_0x3a8ce5[_0x221a06(0x1e8)])),![];}}['processAccessibilityCaps'](_0x42edc3,_0x23cf61,_0x44a9d5){const _0xd932ce=a79_0x30fb1a,_0x44a194={'hKMMX':function(_0x304709,_0x99982c){return _0x304709(_0x99982c);},'CdZoo':_0xd932ce(0x10a),'fvjiT':'\x22browserstack.user\x22:\x22[REDACTED]\x22','CluIY':_0xd932ce(0x172)};try{const _0xa1c490=_0x44a194[_0xd932ce(0x17a)](require,_0x44a194[_0xd932ce(0x23e)]);_0xa1c490[_0xd932ce(0x126)](_0x42edc3,_0x23cf61,_0x44a9d5);const _0x51c27a=JSON[_0xd932ce(0x1ec)](_0x42edc3)[_0xd932ce(0x1e9)](/"browserstack\.user":"[^"]*"/g,_0x44a194[_0xd932ce(0xf6)])[_0xd932ce(0x1e9)](/"browserstack\.key":"[^"]*"/g,_0x44a194[_0xd932ce(0x1f0)]);logger[_0xd932ce(0x197)](_0xd932ce(0x190)+global[_0xd932ce(0xec)]+'\x20'+_0x51c27a);}catch(_0x297a5f){logger[_0xd932ce(0x10d)](_0xd932ce(0x152)+(_0x297a5f[_0xd932ce(0xc3)]||_0x297a5f[_0xd932ce(0x1e8)]));}}async[a79_0x30fb1a(0x192)](_0x3cf492){const _0x2d8712=a79_0x30fb1a,_0x3825a9={};_0x3825a9[_0x2d8712(0x136)]=_0x2d8712(0xdc),_0x3825a9[_0x2d8712(0x1d8)]=_0x2d8712(0x11d);const _0x1ee0ce=_0x3825a9;try{if(!this[_0x2d8712(0x1ee)]())return logger[_0x2d8712(0x1d1)](_0x1ee0ce[_0x2d8712(0x136)]),[];const _0xbb98d7=await this[_0x2d8712(0x19a)](_0x3cf492,_0x1ee0ce['xRxwE']);return _0xbb98d7||[];}catch(_0x5e7a1c){return logger[_0x2d8712(0x10d)]('Error\x20in\x20getAccessibilityResults:\x20'+(_0x5e7a1c['stack']||_0x5e7a1c['message'])),[];}}async[a79_0x30fb1a(0x147)](_0x32bceb){const _0x21fdf0=a79_0x30fb1a,_0x5a042c={};_0x5a042c[_0x21fdf0(0x17d)]='Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.',_0x5a042c['wUEzW']=_0x21fdf0(0x160),_0x5a042c['tKLgH']=function(_0x17315d,_0x2bd662){return _0x17315d||_0x2bd662;};const _0x171404=_0x5a042c;try{if(!this[_0x21fdf0(0x1ee)]())return logger[_0x21fdf0(0x1d1)](_0x171404['tDhtG']),{};const _0x4c5e2e=await this[_0x21fdf0(0x19a)](_0x32bceb,_0x171404['wUEzW']);return _0x171404['tKLgH'](_0x4c5e2e,{});}catch(_0x368c14){return logger[_0x21fdf0(0x10d)]('Error\x20in\x20getAccessibilityResultsSummary:\x20'+(_0x368c14['stack']||_0x368c14[_0x21fdf0(0x1e8)])),{};}}async[a79_0x30fb1a(0x109)](_0x539c8d,_0x3f86a3,_0x2d8810=null){const _0x3a74dc=a79_0x30fb1a,_0x30167d={};_0x30167d[_0x3a74dc(0x14f)]=_0x3a74dc(0xd1),_0x30167d[_0x3a74dc(0x132)]=_0x3a74dc(0x141),_0x30167d[_0x3a74dc(0x188)]=_0x3a74dc(0x19c);const _0x585b47=_0x30167d;try{if(!_0x539c8d)return logger['debug'](_0x585b47[_0x3a74dc(0x14f)]),null;if(!_0x3f86a3)return logger[_0x3a74dc(0x197)](_0x585b47[_0x3a74dc(0x132)]),null;logger[_0x3a74dc(0x197)](_0x585b47['rqeah']);const _0x5ca544=_0x2d8810?await _0x539c8d[_0x3a74dc(0x1ff)](_0x3f86a3,_0x2d8810):await _0x539c8d[_0x3a74dc(0x1ff)](_0x3f86a3);return _0x5ca544;}catch(_0x5f161e){return logger[_0x3a74dc(0x10d)]('Error\x20in\x20performPageScan:\x20'+(_0x5f161e[_0x3a74dc(0xc3)]||_0x5f161e['message'])),null;}}static[a79_0x30fb1a(0x164)](_0x2865b0,_0x315f1c){const _0x49af9f=a79_0x30fb1a,_0x62c33a={};_0x62c33a[_0x49af9f(0x1ea)]='ascii';const _0x1196a0=_0x62c33a,_0x5699cb={};_0x5699cb[_0x49af9f(0xe1)]=_0x2865b0;const _0x4cc1bd=_0x5699cb;let _0x4f502b={};if(_0x315f1c[_0x49af9f(0x198)]()&&_0x315f1c[_0x49af9f(0x23f)]())try{_0x4f502b=JSON[_0x49af9f(0xea)](new Buffer(_0x315f1c[_0x49af9f(0x186)]())[_0x49af9f(0x20b)](_0x1196a0['DEumS']));}catch(_0x5c8aa0){logger[_0x49af9f(0x10d)](_0x49af9f(0x224)+_0x5c8aa0[_0x49af9f(0x1e8)]),_0x4f502b={};}return CLIUtils[_0x49af9f(0x231)](_0x4cc1bd,_0x4f502b);}static async['fetchCentralAuthA11yConfig'](_0x3f9a10,_0xc785ee=''){const _0x50f7aa=a79_0x30fb1a,_0x4f168a={};_0x4f168a[_0x50f7aa(0x1c8)]=_0x50f7aa(0x241),_0x4f168a['dkaKu']=_0x50f7aa(0xe8);const _0xc2767d=_0x4f168a;try{if(AccessibilityModule[_0x50f7aa(0x11a)])return AccessibilityModule[_0x50f7aa(0x1ab)];if(!process[_0x50f7aa(0x213)][_0x50f7aa(0x1dc)])return logger['error'](_0xc2767d[_0x50f7aa(0x1c8)]),{};const _0x47cd0f=await GrpcClient[_0x50f7aa(0x185)]()[_0x50f7aa(0x210)](process[_0x50f7aa(0x213)][_0x50f7aa(0x1dc)],_0xc2767d[_0x50f7aa(0xb9)],_0x3f9a10),_0x129680=AccessibilityModule['loadDriverExecuteParams'](_0xc785ee,_0x47cd0f);return AccessibilityModule[_0x50f7aa(0x1ab)]=_0x129680,AccessibilityModule[_0x50f7aa(0x11a)]=!![],AccessibilityModule['_centralAuthA11yConfig'];}catch(_0x42c89e){return logger[_0x50f7aa(0x10d)](_0x50f7aa(0x1f9)+_0x3f9a10+':\x20'+(_0x42c89e[_0x50f7aa(0xc3)]||_0x42c89e[_0x50f7aa(0x1e8)])),{};}}}function a79_0x3706(){const _0x9db187=['bind','qjfof','\x22browserstack.key\x22:\x22[REDACTED]\x22','loadAccessibilityConfig','isPlatformSupported','accessibilityConfig','getPlatformIndex','vsfrp','boPNr','YyMWC','hKMMX','tlZia','ABLah','tDhtG','yiDhX','JwtjH','browserVersion','getScriptByName','updateData','337525ZfoJCK','isPlatformSupported:\x20caps\x20are\x20null','getInstance','getAccessibilityExecuteParams','tXFBs','rqeah','getAccessibility','../../../helpers/performance/performance-tester.js','executeScriptByName:\x20No\x20',']\x20clear\x20','info','applySendMessageToServerPatch','CNBun','Processed\x20accessibility\x20caps\x20','\x20value=','getAccessibilityResults','has','platformValidation','toLowerCase','isBrowserstackScriptCommand','debug','getSuccess','Error\x20in\x20validatePlatformForAccessibility:\x20','executeScriptByName','assign','Executing\x20accessibility\x20script\x20on\x20page','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','measureWrapper','../../../helpers/helper','onBeforeExecute','\x20script\x20available\x20in\x20scriptsList','test-tags-->\x20','getCapabilityValue','getParamsForScanForCli','getValue','ikyGV','parseFromProto','NdGrn','pctJD','JBkJJ','_centralAuthA11yConfig','qRyTv','hdjfm','../../../helpers/classLogger','Error\x20applying\x20sendMessageToServer\x20patch:\x20','Page\x20','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','page','\x20result\x20for\x20','ziUyy','unknown','capabilities','shouldScanForCommand','laSBX','NZBdg','stopTestCapture','../cliUtils','aScNf','browserstack.accessibilityOptions.scannerProcessingTimeout','SSHYl','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','includes','CYXoC','CREATE','uVvbJ','yhMkH','cgJhh','pPMcf','JmtAc','shouldScanForCommand:\x20','a11y:save-results','jVXyY','peqxK','browserstack.accessibilityOptions.scannerVersion','Context',',\x20available\x20commands:\x20','capabilitiesList','warn','./baseModule','registerObserver','DBdXU','format',',\x20excludeTags=','xAXHm','xRxwE','performScan','PCAYe','garHg','BROWSERSTACK_CLI_BIN_SESSION_ID','gNBQh','VteSV','function','setShouldScanCurrentTest','rDRBa','gPFCu','zJCLo','scannerVersion','BRYiv','../../../helpers/performance/constants.js','browser','message','replace','DEumS','../framework/testFramework','stringify','ahXGl','getCurrentAccessibilityStatus','name:\x20','CluIY','NHYPd','name','accessibilityToken','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20','delete','rPDpK','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20','DRIVER_INIT','length','ScanArgs:\x20','getCapabilitiesList','Error\x20getting\x20script\x20by\x20name\x20','evaluate','glVJB',']\x20onAfterTest\x20should\x20scan=','instance','[platform\x20-\x20','PbONG','../TestInfo.js','testFramework','performScanForCli:\x20No\x20','44vvtHWh','getTrackedInstance','getGoogleChromeOptions','toString','split','PYKlw','getScriptsList','429cpBLpk','fetchDriverExecuteParamsEvent','map','browserStackEvaluate','env','BtUsg','VlvCP','null','iffVp','set','latest','string','tKfot','start','getTestUUID','browserName','getBuildId','onAfterTest:\x20event=','\x20->\x20','isArray','wcagVersion','Error\x20parsing\x20accessibility\x20execute\x20params:\x20','__workerDetails','JGrYp','getModuleName','onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20cucumber\x20test\x20framework','Running\x20Save\x20results\x20for\x20Accessibility\x20testing','QUIT','AQlJk','chrome','../../../helpers/accessibility-automation/helper','\x20testHubUuid=','util','toJson','mergeObject','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','QYgSV','Error\x20in\x20initAccessibilityConfig:\x20','SAVE_RESULTS','excludeTagsInTestingScope','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20cucumber\x20test\x20framework','RoKyM','getName','iYMwP','lsZRg','saveTestResults','pwPage','CdZoo','hasAccessibilityExecuteParams','bOvOO','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','TrackedInstance','scannerProcessingTimeout','884712MoajpV','KrOOf',']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20','size','getData','BMATe','yeEna','HbXES','dkaKu','getAccessibilityConfig','zWHLb','toBKq',',\x20tags=','includeTagsInTestingScope','PRE','SDK_ACCESSIBILITY_CONFIG','Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20','SIofz','stack','Executing\x20','3130704ThoZBH','Error\x20getting\x20capability\x20value\x20for\x20','vgEyp','getContext','KEY_TESTHUB_BUILD_ID','MjvSk','getCommandsList','setAccessibilityConfig','_sendMessageServerPatchApplied','YclsV','sgNlU','KEY_DRIVER_HAS_URL','performPageScan:\x20Page\x20is\x20null','jevxL','isEnabledTestcase','ovLzL','vSLli','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found','\x20a11yToken=','OnCkM','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.','Error\x20checking\x20headless\x20capability:\x20','setAccessibilityToken','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','LOG_DISABLED_SHOWN','lRFQJ','../grpcClient','Aejxt','thTestRunUuid','tJYEN','isAppAccessibility','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','KEY_INIT','2498AJEYgA','Lmaot','accessibility','browserstack.accessibilityOptions.authToken','parse','platformCaps','accessibilityPlatform','690haLZfw','56077qLejCz','getState','getScript','qssLU','Error\x20executing\x20script\x20','MODULE_NAME','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20','fvjiT','MTYnB','GYPKk','YjqrI','uxiLu','yuDHP','options','setShouldScan','gTtFE','cucumber','uepPW','EQird','Error\x20in\x20stopTestCapture:\x20',',\x20includeTags=','DdXCS','scan','dSLYb','ucKyy','PERFORM_SCAN','performPageScan','../../playwright/accessibility-helper','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','browserstack.accessibilityOptions.wcagVersion','error','\x20using\x20script:\x20','LsqzU','getTesthub','bzbaC','../state/hookState','NON_BROWSERSTACK_AUTOMATION_SESSIONS','mQGMI','OhoPp','../../../helpers/accessibility-automation/constants','28gFgUqX','getCurrentInstanceName','3067850wtPJhI','_centralAuthConfigFetched','IufAE','Error\x20in\x20performScanForCli\x20for\x20script\x20','getResults','getOptions','commandsToWrap','Prbbr','afterTestHook','Exception\x20in\x20isPlatformSupported:\x20','headless','qwfIv','scriptsList','processAccessibilityCaps','BROWSERSTACK_TESTHUB_JWT','get','AUTOMATION_SESSIONS',']\x20Accessibility\x20configuration\x20initialized\x20successfully','lQYvM','grQIO','ACCESSIBILITY_INITIALIZED','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','oBVCd','2235258cbJUrG','onBeforeTest:\x20event=','hCXVQ','Wpvxi','wEOVB','finishScanningForCli','PHVwy','initAccessibilityConfig','onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20','dbnao','zsQeJ','saveResults','launchCaps','browserstack_executor','dnNUw','performScanForCli','isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','performPageScan:\x20Script\x20is\x20null','OOgPe','value','zAarj','__accessibilityOptions','ntHTZ','getAccessibilityResultsSummary','exports','hbLim','TEST_INIT','shouldScanCurrentTest','32pUyMyA','yMCBz','toISOString','kSfcx','isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','setLogDisabledShown','Error\x20in\x20processAccessibilityCaps:\x20','onAfterTest','true','testhub_build_uuid','onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized','LnGFv','present','VSVEe','PPjel','patchSendMessageToServer','getTestDetails','some','test_tags','getLogDisabledShown','getResultsSummary','JmSNG','yIOgs','XoxNt','loadDriverExecuteParams','\x20accessibility\x20script\x20on\x20page','command','MucpQ','../framework/automationFramework','find','fetchCentralAuthA11yConfig','onBeforeTest','MergedScanArgs:\x20','uSqTt','onBeforeExecute:\x20command=',']\x20isEnabledTestcase\x20result='];a79_0x3706=function(){return _0x9db187;};return a79_0x3706();};function a79_0xcb05(_0x4fb6b8,_0x19c50f){const _0x370643=a79_0x3706();return a79_0xcb05=function(_0xcb05db,_0x314f84){_0xcb05db=_0xcb05db-0xb0;let _0x90d4e6=_0x370643[_0xcb05db];return _0x90d4e6;},a79_0xcb05(_0x4fb6b8,_0x19c50f);}module[a79_0x30fb1a(0x148)]=AccessibilityModule;
|
|
1
|
+
const a79_0x2e8dea=a79_0x2ab6;function a79_0x2ab6(_0x510d30,_0x2efc26){const _0x4fce55=a79_0x4fce();return a79_0x2ab6=function(_0x2ab656,_0x5a1165){_0x2ab656=_0x2ab656-0x1dc;let _0xc4f30e=_0x4fce55[_0x2ab656];return _0xc4f30e;},a79_0x2ab6(_0x510d30,_0x2efc26);}(function(_0x14464b,_0x278479){const _0x2df869=a79_0x2ab6,_0x347dd5=_0x14464b();while(!![]){try{const _0x5896ef=-parseInt(_0x2df869(0x2ba))/0x1*(-parseInt(_0x2df869(0x34a))/0x2)+-parseInt(_0x2df869(0x319))/0x3+parseInt(_0x2df869(0x242))/0x4*(parseInt(_0x2df869(0x24a))/0x5)+-parseInt(_0x2df869(0x288))/0x6+parseInt(_0x2df869(0x2af))/0x7*(parseInt(_0x2df869(0x364))/0x8)+parseInt(_0x2df869(0x269))/0x9+-parseInt(_0x2df869(0x33d))/0xa*(parseInt(_0x2df869(0x2a2))/0xb);if(_0x5896ef===_0x278479)break;else _0x347dd5['push'](_0x347dd5['shift']());}catch(_0x505c7d){_0x347dd5['push'](_0x347dd5['shift']());}}}(a79_0x4fce,0x2cb43));const BaseModule=require(a79_0x2e8dea(0x1ff)),{createClassLogger}=require(a79_0x2e8dea(0x30f)),CLIUtils=require('../cliUtils'),AutomationFramework=require('../framework/automationFramework'),TestFramework=require(a79_0x2e8dea(0x31b)),AutomationFrameworkState=require(a79_0x2e8dea(0x20b)),HookState=require(a79_0x2e8dea(0x2c6)),GrpcClient=require(a79_0x2e8dea(0x363)),scripts=require(a79_0x2e8dea(0x2e6)),logger=createClassLogger(a79_0x2e8dea(0x2db)),PerformanceTester=require(a79_0x2e8dea(0x2e1)),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require(a79_0x2e8dea(0x245)),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a79_0x2e8dea(0x209)),{nestedKeyValue,isUndefined}=require(a79_0x2e8dea(0x2b9)),util=require(a79_0x2e8dea(0x293)),TestInfo=require(a79_0x2e8dea(0x1dd));class AccessibilityModule extends BaseModule{static ['MODULE_NAME']=AccessibilityModule[a79_0x2e8dea(0x316)];static [a79_0x2e8dea(0x2ff)]=![];static [a79_0x2e8dea(0x1e6)]={};constructor(_0x4fb249){const _0x18b3e9=a79_0x2e8dea,_0x56c618={};_0x56c618['PNyGw']=_0x18b3e9(0x327),_0x56c618['rpOlu']=_0x18b3e9(0x2e5),_0x56c618[_0x18b3e9(0x246)]=_0x18b3e9(0x2ae),_0x56c618['MEwjY']=_0x18b3e9(0x369);const _0x3f13b7=_0x56c618,_0x5312d5=_0x3f13b7[_0x18b3e9(0x202)][_0x18b3e9(0x27d)]('|');let _0x5e95c=0x0;while(!![]){switch(_0x5312d5[_0x5e95c++]){case'0':this[_0x18b3e9(0x315)]=![];continue;case'1':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x18b3e9(0x2cd)],HookState['POST'],this['onBeforeTest'][_0x18b3e9(0x330)](this));continue;case'2':this['setAccessibilityToken'](_0x4fb249[_0x18b3e9(0x227)]()['getCapabilitiesList']());continue;case'3':this[_0x18b3e9(0x2d4)]=!![];continue;case'4':this[_0x18b3e9(0x1e1)]=![];continue;case'5':this[_0x18b3e9(0x220)]=_0x4fb249[_0x18b3e9(0x277)]();continue;case'6':AutomationFramework['registerObserver'](AutomationFrameworkState['EXECUTE'],HookState['PRE'],this[_0x18b3e9(0x2e2)][_0x18b3e9(0x330)](this));continue;case'7':this[_0x18b3e9(0x345)]=_0x3f13b7[_0x18b3e9(0x321)];continue;case'8':this[_0x18b3e9(0x29f)]=new Map();continue;case'9':this[_0x18b3e9(0x35e)]=new Map();continue;case'10':this[_0x18b3e9(0x314)]=[];continue;case'11':this[_0x18b3e9(0x2fe)]=_0x3f13b7['iOAdR'];continue;case'12':super();continue;case'13':this['KEY_INIT']=_0x3f13b7['MEwjY'];continue;case'14':AutomationFramework['registerObserver'](AutomationFrameworkState['QUIT'],HookState[_0x18b3e9(0x2a4)],this[_0x18b3e9(0x36b)][_0x18b3e9(0x330)](this));continue;}break;}}[a79_0x2e8dea(0x2d4)](){const _0x1c3cff=a79_0x2e8dea;return this[_0x1c3cff(0x2d4)];}[a79_0x2e8dea(0x23e)](){const _0x57d40c=a79_0x2e8dea;return AccessibilityModule[_0x57d40c(0x1f8)];}['getCurrentAccessibilityStatus'](){const _0x8015bb=a79_0x2e8dea;return this[_0x8015bb(0x35e)][_0x8015bb(0x2bc)](CLIUtils[_0x8015bb(0x34d)](),![]);}['getLogDisabledShown'](){const _0x64788d=a79_0x2e8dea;return this[_0x64788d(0x29f)][_0x64788d(0x2bc)](CLIUtils[_0x64788d(0x34d)](),![]);}[a79_0x2e8dea(0x21a)](_0x12d9b2){const _0x3fbeaa=a79_0x2e8dea;this[_0x3fbeaa(0x29f)][_0x3fbeaa(0x33a)](CLIUtils['getCurrentInstanceName'](),_0x12d9b2);}[a79_0x2e8dea(0x234)](){const _0x273fff=a79_0x2e8dea,_0x3a28c2={'oZvrK':'sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','cBulz':function(_0x173846,_0xaf7776){return _0x173846(_0xaf7776);},'IgnJU':_0x273fff(0x33f),'NgDkB':_0x273fff(0x2b5),'hstBN':_0x273fff(0x307)};if(this[_0x273fff(0x1e1)]){logger[_0x273fff(0x2d7)](_0x3a28c2['oZvrK']);return;}try{const _0x53755c=_0x3a28c2[_0x273fff(0x204)](require,_0x3a28c2[_0x273fff(0x2b4)]);_0x53755c&&_0x53755c[_0x273fff(0x279)]?(_0x53755c[_0x273fff(0x279)](),this[_0x273fff(0x1e1)]=!![],logger[_0x273fff(0x2d7)](_0x3a28c2['NgDkB'])):logger[_0x273fff(0x2d7)](_0x3a28c2[_0x273fff(0x329)]);}catch(_0x5206dc){logger[_0x273fff(0x2d7)]('Error\x20applying\x20sendMessageToServer\x20patch:\x20'+util[_0x273fff(0x22f)](_0x5206dc));}}[a79_0x2e8dea(0x28f)](_0x3f59e4=null,_0x35163a=null,_0x257c07=null){const _0x45465f=a79_0x2e8dea,_0x33843c={'NEmKS':function(_0x1b0acf,_0x2ec8d4){return _0x1b0acf&&_0x2ec8d4;},'gZklV':'isPlatformSupported:\x20caps\x20are\x20null','qRrXf':function(_0x19bdbd,_0x4bea87){return _0x19bdbd(_0x4bea87);},'ZLTbB':_0x45465f(0x251),'FdxTG':function(_0x58a34a,_0x24f662){return _0x58a34a(_0x24f662);},'JPOsP':_0x45465f(0x2b9),'dYcGx':function(_0x1f366a){return _0x1f366a();},'cHrYn':_0x45465f(0x337),'nCYVT':function(_0xe8ba0e,_0x5c7cff){return _0xe8ba0e===_0x5c7cff;},'oPvTO':_0x45465f(0x2cc),'laSSd':function(_0x67ae1f,_0x5a3533){return _0x67ae1f===_0x5a3533;},'mwMMJ':_0x45465f(0x36a),'xUZxX':function(_0x283322,_0x598c05){return _0x283322===_0x598c05;},'AvOeM':function(_0x1306be,_0x75b937){return _0x1306be===_0x75b937;},'sDLuz':_0x45465f(0x25d),'NbSgJ':function(_0x3c28e0,_0x38412a){return _0x3c28e0===_0x38412a;},'brZmx':_0x45465f(0x2da),'echyo':function(_0x2b6c1a,_0x637433){return _0x2b6c1a===_0x637433;},'TsQia':_0x45465f(0x32c),'cwhqg':function(_0x45e39d,_0x46e98e){return _0x45e39d===_0x46e98e;},'JRiRp':_0x45465f(0x31a),'yFrxw':function(_0x2ca766,_0x3a5c29){return _0x2ca766>_0x3a5c29;},'vWdei':function(_0x13fd1e,_0x441703){return _0x13fd1e(_0x441703);},'TkTTR':_0x45465f(0x346),'vzXtd':function(_0x521a63,_0x57268a){return _0x521a63!==_0x57268a;},'PrBIT':_0x45465f(0x2d8),'MymBN':function(_0x2a2acb,_0x14800b){return _0x2a2acb>_0x14800b;},'RxnQr':function(_0x558b7d,_0x39fa9e){return _0x558b7d(_0x39fa9e);},'vZIDT':_0x45465f(0x219)};try{if(_0x33843c[_0x45465f(0x28b)](!_0x35163a,!_0x257c07))return logger[_0x45465f(0x2d7)](_0x33843c[_0x45465f(0x311)]),![];const {isAccessibilityAutomationSession:_0xe2c52a}=_0x33843c[_0x45465f(0x27e)](require,_0x33843c[_0x45465f(0x2f0)]),{isUndefined:_0x2f77ce,isBrowserstackInfra:_0x5c9455}=_0x33843c[_0x45465f(0x305)](require,_0x33843c[_0x45465f(0x268)]);if(!_0x33843c[_0x45465f(0x333)](_0xe2c52a))return logger[_0x45465f(0x2d7)](_0x33843c[_0x45465f(0x35c)]),![];if(!(_0x35163a['browserName']&&_0x33843c[_0x45465f(0x289)](_0x35163a['browserName'][_0x45465f(0x2e9)](),_0x33843c[_0x45465f(0x310)])||_0x35163a[_0x45465f(0x2a7)]&&_0x33843c[_0x45465f(0x29b)](_0x35163a[_0x45465f(0x2a7)][_0x45465f(0x2e9)](),_0x33843c['mwMMJ'])||_0x35163a['browser']&&_0x33843c[_0x45465f(0x32d)](_0x35163a[_0x45465f(0x2f5)]['toLowerCase'](),_0x33843c[_0x45465f(0x310)])||_0x35163a[_0x45465f(0x2f5)]&&_0x33843c['AvOeM'](_0x35163a[_0x45465f(0x2f5)]['toLowerCase'](),_0x33843c[_0x45465f(0x29e)])))return logger[_0x45465f(0x20e)](_0x33843c[_0x45465f(0x332)]),![];try{const _0x5b00f6=_0x35163a['headless'],_0x23d1b4=_0x33843c[_0x45465f(0x22b)](_0x5b00f6,!![])||_0x33843c[_0x45465f(0x22b)](_0x5b00f6,_0x33843c[_0x45465f(0x2aa)])||_0x33843c[_0x45465f(0x22e)](typeof _0x5b00f6,_0x33843c[_0x45465f(0x340)])&&_0x33843c[_0x45465f(0x212)](_0x5b00f6[_0x45465f(0x2e9)](),_0x33843c[_0x45465f(0x2aa)]);if(_0x23d1b4)return logger[_0x45465f(0x20e)](_0x33843c[_0x45465f(0x30a)]),![];}catch(_0x4a1643){logger[_0x45465f(0x2d7)](_0x45465f(0x2e0)+util[_0x45465f(0x22f)](_0x4a1643));}if(!_0x33843c[_0x45465f(0x333)](_0x5c9455)){if(!_0x33843c['yFrxw'](_0x33843c[_0x45465f(0x32f)](parseFloat,_0x35163a[_0x45465f(0x1ed)]),_0x33843c[_0x45465f(0x32f)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger['warn'](_0x33843c['TkTTR']),![];}else{if(_0x33843c['vzXtd'](_0x35163a[_0x45465f(0x1ed)],_0x33843c[_0x45465f(0x1e4)])&&!_0x33843c['MymBN'](_0x33843c['qRrXf'](parseFloat,_0x35163a[_0x45465f(0x1ed)]),_0x33843c['RxnQr'](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x45465f(0x20e)](_0x33843c[_0x45465f(0x22d)]),![];}return!![];}catch(_0x447d70){return logger[_0x45465f(0x2d7)](_0x45465f(0x20f)+_0x447d70['message']),![];}}[a79_0x2e8dea(0x1e5)](_0x46c3f7=[],_0x5bc887){const _0xadda3f=a79_0x2e8dea,_0x1a8179={'GHTUg':function(_0x3c8a34,_0x5e7e10){return _0x3c8a34===_0x5e7e10;},'PJGQh':function(_0x41271e,_0x3c2386){return _0x41271e(_0x3c2386);},'lrixB':function(_0x509e50,_0x28ae02){return _0x509e50>_0x28ae02;},'UvFNl':function(_0x3306a7,_0x1fb38a){return _0x3306a7&&_0x1fb38a;},'cXFqT':_0xadda3f(0x1dc)};try{const _0x3836e6=process[_0xadda3f(0x223)][_0xadda3f(0x20a)]?JSON[_0xadda3f(0x23a)](process[_0xadda3f(0x223)][_0xadda3f(0x20a)]):null;if(!_0x3836e6)return!![];const _0x212801=Array[_0xadda3f(0x1e0)](_0x3836e6[_0xadda3f(0x353)])?_0x3836e6[_0xadda3f(0x353)]:[],_0x5d74d4=Array[_0xadda3f(0x1e0)](_0x3836e6['excludeTagsInTestingScope'])?_0x3836e6[_0xadda3f(0x2be)]:[];let _0x30706d=![],_0x208040=_0x1a8179[_0xadda3f(0x2c9)](_0x212801[_0xadda3f(0x22c)],0x0);const _0x1b6d24=_0x1cd382=>typeof _0x1cd382===_0xadda3f(0x32c)?_0x1cd382[_0xadda3f(0x255)](/^@/,'')['toLowerCase']()[_0xadda3f(0x217)]():_0x1cd382,_0x23701f=new Set(_0x212801['map'](_0x1b6d24)),_0xe84949=new Set(_0x5d74d4[_0xadda3f(0x28a)](_0x1b6d24));for(const _0x5af38c of _0x46c3f7){const _0x99aab2=_0x1a8179[_0xadda3f(0x33e)](_0x1b6d24,_0x5af38c);_0xe84949['has'](_0x99aab2)&&(_0x30706d=!![]),_0x1a8179[_0xadda3f(0x2c4)](_0x23701f[_0xadda3f(0x2c0)],0x0)&&_0x23701f[_0xadda3f(0x206)](_0x99aab2)&&(_0x208040=!![]);}const _0x30e531=_0x1a8179[_0xadda3f(0x2b6)](_0x208040,!_0x30706d);return logger['debug'](_0xadda3f(0x250)+(_0x5bc887?.[_0xadda3f(0x304)]?.()||_0x1a8179[_0xadda3f(0x282)])+_0xadda3f(0x2ec)+_0x30e531+',\x20tags='+JSON[_0xadda3f(0x239)](_0x46c3f7)+_0xadda3f(0x267)+JSON['stringify'](_0x212801)+_0xadda3f(0x244)+JSON[_0xadda3f(0x239)](_0x5d74d4)),_0x30e531;}catch(_0x30f37a){return logger[_0xadda3f(0x2d7)](_0xadda3f(0x250)+(_0x5bc887?.['getPlatformIndex']?.()||_0x1a8179[_0xadda3f(0x282)])+_0xadda3f(0x249)+_0x30f37a['message']),![];}}async[a79_0x2e8dea(0x331)](_0x1b761f){const _0x357401=a79_0x2e8dea,_0x11c9bd={};_0x11c9bd[_0x357401(0x2a9)]=function(_0x5bb1bd,_0x4e988c){return _0x5bb1bd!==_0x4e988c;},_0x11c9bd[_0x357401(0x225)]=_0x357401(0x2f1),_0x11c9bd['VgIit']=_0x357401(0x1e7),_0x11c9bd['CObig']='TEST_INIT',_0x11c9bd[_0x357401(0x30e)]='onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized',_0x11c9bd[_0x357401(0x215)]=_0x357401(0x1f2),_0x11c9bd['ANtxQ']=_0x357401(0x222),_0x11c9bd[_0x357401(0x2ab)]=function(_0x343118,_0x751502){return _0x343118===_0x751502;},_0x11c9bd['WnUwV']=_0x357401(0x35f),_0x11c9bd['lLTgc']=function(_0x4c16b1,_0xe0cc8){return _0x4c16b1>_0xe0cc8;},_0x11c9bd[_0x357401(0x2dd)]=_0x357401(0x2f3),_0x11c9bd[_0x357401(0x210)]=_0x357401(0x2f9),_0x11c9bd[_0x357401(0x290)]=function(_0x2b5182,_0x57fc30){return _0x2b5182&&_0x57fc30;},_0x11c9bd[_0x357401(0x1e8)]='unknown',_0x11c9bd['JBSev']=_0x357401(0x2da);const _0x4d9f76=_0x11c9bd;if(_0x4d9f76['hQckZ'](_0x1b761f['testFramework'],_0x4d9f76['UBSum'])){logger[_0x357401(0x2d7)](_0x4d9f76[_0x357401(0x213)]);return;}logger[_0x357401(0x326)](_0x357401(0x27f)+JSON[_0x357401(0x239)](_0x1b761f));try{const _0x11219a=AutomationFramework['getTrackedInstance'](),_0x420d19=TestFramework[_0x357401(0x273)](),_0x4c14ae=_0x1b761f[_0x357401(0x235)]||global[_0x357401(0x24e)]?.[_0x357401(0x30c)]||null;if(!_0x4c14ae){_0x420d19&&_0x420d19[_0x357401(0x21d)](_0x4d9f76['CObig'],!![]);logger[_0x357401(0x2d7)](_0x4d9f76[_0x357401(0x30e)]);return;}logger[_0x357401(0x2d7)](_0x4d9f76[_0x357401(0x215)]);const _0x2422b5=_0x420d19?.[_0x357401(0x362)](_0x4d9f76[_0x357401(0x2b0)],![]),_0x289b4a=_0x420d19?.[_0x357401(0x362)](_0x4d9f76[_0x357401(0x2c3)],![]);if(_0x4d9f76[_0x357401(0x2ab)](_0x2422b5,![])&&_0x4d9f76[_0x357401(0x2ab)](_0x289b4a,![])){_0x420d19&&_0x420d19['updateData'](_0x4d9f76[_0x357401(0x2b0)],!![]);logger['debug'](_0x4d9f76['WnUwV']);return;}_0x420d19&&_0x420d19[_0x357401(0x21d)](_0x4d9f76[_0x357401(0x2c3)],!![]);let _0xd69093=[];const _0x4298ff=this[_0x357401(0x27a)](_0x1b761f),_0x1b3b43=TestInfo[_0x357401(0x2a0)](_0x4298ff);if(_0x1b3b43&&Array[_0x357401(0x1e0)](_0x1b3b43[_0x357401(0x2f9)])&&_0x4d9f76[_0x357401(0x208)](_0x1b3b43[_0x357401(0x2f9)]['length'],0x0))_0xd69093=_0x1b3b43[_0x357401(0x2f9)];else{if(_0x420d19){const _0x293d67=_0x4d9f76[_0x357401(0x2ab)](typeof _0x420d19[_0x357401(0x362)],_0x4d9f76[_0x357401(0x2dd)])?_0x420d19['getData'](_0x4d9f76[_0x357401(0x210)],[]):_0x420d19[_0x357401(0x2f9)]||[];Array[_0x357401(0x1e0)](_0x293d67)&&(_0xd69093=_0x293d67);}}logger[_0x357401(0x326)](_0x357401(0x335)+JSON[_0x357401(0x239)](_0xd69093));const _0x4aecbb=this[_0x357401(0x28f)](_0x11219a,_0x1b761f['platformCaps'],_0x1b761f[_0x357401(0x2e7)]),_0x53fcac=this[_0x357401(0x1e5)](_0xd69093,_0x11219a),_0x1b169b=_0x4d9f76['zSCuL'](_0x4aecbb,_0x53fcac),_0x5da687=CLIUtils[_0x357401(0x34d)]();this[_0x357401(0x35e)][_0x357401(0x33a)](_0x5da687,_0x1b169b),global[_0x357401(0x256)]?.[_0x357401(0x264)]&&global[_0x357401(0x256)][_0x357401(0x264)]()[_0x357401(0x26e)](_0x1b169b),logger[_0x357401(0x2d7)]('[platform\x20-\x20'+(_0x11219a?.[_0x357401(0x304)]?.()||_0x4d9f76[_0x357401(0x1e8)])+_0x357401(0x25e)+_0x1b169b),_0x1b169b?(global[_0x357401(0x23b)]=!![],process[_0x357401(0x223)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x4d9f76[_0x357401(0x320)],this[_0x357401(0x234)]()):global[_0x357401(0x23b)]=![];}catch(_0x22bb58){logger['error'](_0x357401(0x2ac)+(_0x22bb58['stack']||_0x22bb58[_0x357401(0x34c)]));const _0x5a97f8=CLIUtils[_0x357401(0x34d)]();this[_0x357401(0x35e)][_0x357401(0x33a)](_0x5a97f8,![]),global[_0x357401(0x23b)]=![];}}[a79_0x2e8dea(0x324)](){const _0xfffddc=a79_0x2e8dea;return this['capabilities']['find'](_0x30a0fb=>_0x30a0fb[_0xfffddc(0x29a)]()===_0xfffddc(0x238))?.['getValue']()||'';}[a79_0x2e8dea(0x347)](_0x5b85af){const _0x13a8ad=a79_0x2e8dea;try{const _0x17710d=this[_0x13a8ad(0x220)]?.['options']?.[_0x13a8ad(0x2fc)]||[],_0x29b712=_0x17710d[_0x13a8ad(0x24f)](_0x342a7d=>_0x342a7d['name']===_0x5b85af);return _0x29b712?_0x29b712[_0x13a8ad(0x272)]:null;}catch(_0x15c924){return logger[_0x13a8ad(0x2d7)](_0x13a8ad(0x31c)+_0x5b85af+':\x20'+_0x15c924['message']),null;}}async[a79_0x2e8dea(0x334)](_0x14fd6a,_0x3f5319){const _0x269d5a=a79_0x2e8dea,_0x11434e=_0x14fd6a['getAccessibility']()[_0x269d5a(0x227)](),_0x5960cf=_0x11434e[_0x269d5a(0x294)](),_0x3fc5b1=_0x11434e['getCommandsToWrap']()?.[_0x269d5a(0x261)]();scripts[_0x269d5a(0x292)](_0x5960cf,_0x3fc5b1),scripts[_0x269d5a(0x35b)]();const _0x608b4b=_0x11434e[_0x269d5a(0x339)]();this['capabilities']=_0x11434e['getCapabilitiesList'](),await this[_0x269d5a(0x1e3)](_0x608b4b,_0x3f5319[_0x269d5a(0x2e7)]);}async[a79_0x2e8dea(0x1e3)](_0x9387bc,_0x2fbc0e={}){const _0x93a0fd=a79_0x2e8dea,_0x490897={};_0x490897[_0x93a0fd(0x295)]=function(_0xd8498,_0x5d2ff0){return _0xd8498===_0x5d2ff0;},_0x490897[_0x93a0fd(0x342)]=_0x93a0fd(0x34f),_0x490897[_0x93a0fd(0x31d)]='browserstack.accessibilityOptions.authToken',_0x490897[_0x93a0fd(0x26a)]=function(_0x292dce,_0x59f8bd){return _0x292dce===_0x59f8bd;},_0x490897[_0x93a0fd(0x1de)]='wcagVersion',_0x490897[_0x93a0fd(0x2ea)]='browserstack.accessibilityOptions.wcagVersion',_0x490897[_0x93a0fd(0x284)]=function(_0x2231b5,_0x2c5e35){return _0x2231b5===_0x2c5e35;},_0x490897[_0x93a0fd(0x27c)]='scannerVersion',_0x490897[_0x93a0fd(0x218)]=_0x93a0fd(0x1f1),_0x490897[_0x93a0fd(0x252)]=function(_0x2c0f07,_0x361116){return _0x2c0f07===_0x361116;},_0x490897[_0x93a0fd(0x1f7)]=_0x93a0fd(0x2dc),_0x490897[_0x93a0fd(0x1df)]='browserstack.accessibilityOptions.scannerProcessingTimeout';const _0x439546=_0x490897;global[_0x93a0fd(0x366)]=global[_0x93a0fd(0x366)]||{};for(const _0x932ac8 of _0x9387bc){logger[_0x93a0fd(0x326)](_0x93a0fd(0x2c5)+_0x932ac8[_0x93a0fd(0x29a)]()+_0x93a0fd(0x2cb)+_0x932ac8[_0x93a0fd(0x1e9)]());if(_0x439546[_0x93a0fd(0x295)](_0x932ac8[_0x93a0fd(0x29a)](),_0x439546[_0x93a0fd(0x342)]))process[_0x93a0fd(0x223)][_0x93a0fd(0x1fa)]=_0x932ac8[_0x93a0fd(0x1e9)](),global['__accessibilityOptions'][_0x439546[_0x93a0fd(0x31d)]]=_0x932ac8['getValue']();else{if(_0x439546[_0x93a0fd(0x26a)](_0x932ac8['getName'](),_0x439546['pVRvU']))global[_0x93a0fd(0x366)][_0x439546[_0x93a0fd(0x2ea)]]=_0x932ac8['getValue']();else{if(_0x439546[_0x93a0fd(0x284)](_0x932ac8[_0x93a0fd(0x29a)](),_0x439546[_0x93a0fd(0x27c)]))global[_0x93a0fd(0x366)][_0x439546[_0x93a0fd(0x218)]]=_0x932ac8['getValue']();else _0x439546['UgQbg'](_0x932ac8['getName'](),_0x439546[_0x93a0fd(0x1f7)])&&(global[_0x93a0fd(0x366)][_0x439546[_0x93a0fd(0x1df)]]=_0x932ac8[_0x93a0fd(0x1e9)]());}}}}async[a79_0x2e8dea(0x36b)](_0x34d72c){const _0x19af60=a79_0x2e8dea,_0x39a3f8={};_0x39a3f8[_0x19af60(0x2f2)]=function(_0x3c8d91,_0x32be13){return _0x3c8d91!==_0x32be13;},_0x39a3f8[_0x19af60(0x2f8)]='cucumber',_0x39a3f8['BnVxm']=_0x19af60(0x35a),_0x39a3f8[_0x19af60(0x226)]=_0x19af60(0x1dc);const _0x4d8aaa=_0x39a3f8;if(_0x4d8aaa['ovULw'](_0x34d72c[_0x19af60(0x216)],_0x4d8aaa['uubKq'])){logger['debug'](_0x4d8aaa[_0x19af60(0x285)]);return;}logger[_0x19af60(0x326)](_0x19af60(0x2b1)+JSON[_0x19af60(0x239)](_0x34d72c));try{const _0x5c53b6=_0x34d72c[_0x19af60(0x207)]||AutomationFramework[_0x19af60(0x273)](),_0x784dd5=CLIUtils[_0x19af60(0x34d)](),_0x24e989=this['getCurrentAccessibilityStatus']();logger[_0x19af60(0x2d7)](_0x19af60(0x250)+(_0x5c53b6?.['getPlatformIndex']?.()||_0x4d8aaa[_0x19af60(0x226)])+']\x20onAfterTest\x20should\x20scan='+_0x24e989),_0x24e989&&await this['stopTestCapture'](_0x5c53b6,_0x34d72c),this[_0x19af60(0x35e)][_0x19af60(0x350)](_0x784dd5),this[_0x19af60(0x29f)][_0x19af60(0x350)](_0x784dd5);}catch(_0x290c65){logger[_0x19af60(0x22a)](_0x19af60(0x21c)+(_0x290c65['stack']||_0x290c65[_0x19af60(0x34c)]));}}async['stopTestCapture'](_0x37df8c,_0x1a453f){const _0x3b3526=a79_0x2e8dea,_0x3cbcb0={};_0x3cbcb0[_0x3b3526(0x313)]=function(_0x5c481a,_0x492a32){return _0x5c481a===_0x492a32;},_0x3cbcb0[_0x3b3526(0x351)]='function',_0x3cbcb0[_0x3b3526(0x275)]='unknown',_0x3cbcb0[_0x3b3526(0x1e2)]='present',_0x3cbcb0[_0x3b3526(0x2c7)]=_0x3b3526(0x29d),_0x3cbcb0[_0x3b3526(0x2fb)]=_0x3b3526(0x35e),_0x3cbcb0[_0x3b3526(0x287)]='saveResults',_0x3cbcb0['WyfEC']=function(_0x5d3a8d,_0x4996a9){return _0x5d3a8d||_0x4996a9;},_0x3cbcb0[_0x3b3526(0x21f)]=function(_0x54fd2c,_0x168e44){return _0x54fd2c||_0x168e44;},_0x3cbcb0[_0x3b3526(0x2ce)]=_0x3b3526(0x233),_0x3cbcb0['SQmSK']=_0x3b3526(0x2bd);const _0x55a7e0=_0x3cbcb0;try{const _0x5b1b3d=this['getTestId'](_0x1a453f),_0x12024f=TestInfo['getTestUUID'](_0x5b1b3d),_0x5f5999=((()=>{const _0x2af839=_0x3b3526,_0x4274da=(this[_0x2af839(0x220)]?.['options']?.[_0x2af839(0x2fc)]||[])['find'](_0x1da14b=>(typeof _0x1da14b[_0x2af839(0x29a)]==='function'?_0x1da14b[_0x2af839(0x29a)]():_0x1da14b[_0x2af839(0x316)])===this[_0x2af839(0x2fe)]);return _0x4274da?_0x55a7e0[_0x2af839(0x313)](typeof _0x4274da[_0x2af839(0x1e9)],_0x55a7e0['xnxTR'])?_0x4274da[_0x2af839(0x1e9)]():_0x4274da[_0x2af839(0x272)]:'';})()),_0x1c6df0=process[_0x3b3526(0x223)]['BROWSERSTACK_TESTHUB_JWT']||'';logger[_0x3b3526(0x2d7)](_0x3b3526(0x250)+(_0x37df8c?.[_0x3b3526(0x304)]?.()||_0x55a7e0['refew'])+_0x3b3526(0x30b)+_0x12024f+_0x3b3526(0x26b)+_0x5f5999+_0x3b3526(0x266)+(_0x1c6df0?_0x55a7e0['pgotb']:_0x55a7e0['MWvOz']));const _0x3ccd62=await GrpcClient['getInstance']()[_0x3b3526(0x361)](process[_0x3b3526(0x223)][_0x3b3526(0x355)],_0x55a7e0[_0x3b3526(0x2fb)],_0x55a7e0[_0x3b3526(0x287)]),_0xc0bb62=AccessibilityModule[_0x3b3526(0x254)](_0x12024f,_0x3ccd62);logger[_0x3b3526(0x2d7)](_0x3b3526(0x2b7)+JSON['stringify'](_0xc0bb62));const _0x5e23aa=Object[_0x3b3526(0x1fe)]({},{'thTestRunUuid':_0x55a7e0[_0x3b3526(0x237)](_0x12024f,''),'thBuildUuid':_0x55a7e0[_0x3b3526(0x21f)](_0x5f5999,''),'thJwtToken':_0x55a7e0['WyfEC'](_0x1c6df0,'')},_0xc0bb62);let _0x44d451=global[_0x3b3526(0x24e)]?.[_0x3b3526(0x30c)]||null;!_0x44d451&&(_0x44d451=AutomationFramework[_0x3b3526(0x2a6)](_0x37df8c,_0x55a7e0[_0x3b3526(0x2ce)],null)),!_0x44d451&&(_0x44d451=AutomationFramework[_0x3b3526(0x2a6)](_0x37df8c,_0x55a7e0[_0x3b3526(0x1f3)],null)),await this['finishScanningForCli'](this[_0x3b3526(0x274)](),_0x12024f,_0x44d451,_0x5e23aa,this[_0x3b3526(0x315)]);}catch(_0xdadd84){logger['error']('Error\x20in\x20stopTestCapture:\x20'+(_0xdadd84['stack']||_0xdadd84['message']));}}async['finishScanningForCli'](_0x110288,_0x1a4caf,_0x38150e,_0x4d9dd7,_0x587d71){const _0x5eb022=a79_0x2e8dea,_0x5cdaaa={};_0x5cdaaa[_0x5eb022(0x32a)]=_0x5eb022(0x302),_0x5cdaaa['kQJaM']=function(_0x41396b,_0x516093){return _0x41396b&&_0x516093;},_0x5cdaaa[_0x5eb022(0x2d3)]='Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing',_0x5cdaaa[_0x5eb022(0x27b)]=function(_0x53a119,_0xcbeeea){return _0x53a119===_0xcbeeea;},_0x5cdaaa['xOACf']=_0x5eb022(0x29d),_0x5cdaaa[_0x5eb022(0x2ef)]=function(_0x2e27b2,_0x51625d){return _0x2e27b2===_0x51625d;},_0x5cdaaa[_0x5eb022(0x241)]=_0x5eb022(0x317),_0x5cdaaa[_0x5eb022(0x365)]=_0x5eb022(0x325),_0x5cdaaa[_0x5eb022(0x23d)]='afterTestHook',_0x5cdaaa[_0x5eb022(0x280)]='scan',_0x5cdaaa['LaTwy']=function(_0x3e0021,_0x35ab0b){return _0x3e0021&&_0x35ab0b;},_0x5cdaaa['vAxqt']=_0x5eb022(0x2a1),_0x5cdaaa[_0x5eb022(0x2c2)]=_0x5eb022(0x2ca),_0x5cdaaa['udnwS']=_0x5eb022(0x25a);const _0xa1fed1=_0x5cdaaa;try{const _0x259f2d=this[_0x5eb022(0x28c)](_0xa1fed1[_0x5eb022(0x32a)]);if(_0xa1fed1[_0x5eb022(0x303)](!_0x587d71,!_0x259f2d)){logger[_0x5eb022(0x2d7)](_0xa1fed1['ZTzeR']);return;}if(!_0x1a4caf||_0xa1fed1['BvVLP'](_0x1a4caf,_0xa1fed1[_0x5eb022(0x25f)])||_0xa1fed1[_0x5eb022(0x2ef)](_0x1a4caf,'')){logger[_0x5eb022(0x2d7)](_0xa1fed1['Ztnfj']);return;}logger[_0x5eb022(0x2d7)](_0x5eb022(0x23f)+JSON[_0x5eb022(0x239)](_0x4d9dd7)),_0x110288&&(logger[_0x5eb022(0x2d7)](_0xa1fed1[_0x5eb022(0x365)]),await this['performScanForCli'](_0x38150e,_0x1a4caf,_0xa1fed1[_0x5eb022(0x23d)],_0x4d9dd7,_0x587d71,_0xa1fed1['MgNdN']),_0xa1fed1[_0x5eb022(0x32e)](!_0x587d71,_0x259f2d)&&(logger[_0x5eb022(0x2d7)](_0xa1fed1['vAxqt']),await PerformanceTester['measureWrapper'](_0xa1fed1[_0x5eb022(0x2c2)],async()=>{const _0x249404=_0x5eb022;await this[_0x249404(0x286)](_0x38150e,_0x1a4caf,_0xa1fed1[_0x249404(0x32a)],_0x4d9dd7,_0x587d71,_0xa1fed1[_0x249404(0x32a)]);})()),logger[_0x5eb022(0x326)](_0xa1fed1[_0x5eb022(0x1fc)]));}catch(_0x504c33){logger[_0x5eb022(0x22a)](_0x5eb022(0x296)+(_0x504c33[_0x5eb022(0x2b2)]||_0x504c33[_0x5eb022(0x34c)]));}}async[a79_0x2e8dea(0x2e2)](_0x445218){const _0x2fd0b3=a79_0x2e8dea,_0x38445c={};_0x38445c[_0x2fd0b3(0x1ec)]=function(_0xa0d94f,_0x16065e){return _0xa0d94f!==_0x16065e;},_0x38445c['qwaSR']=_0x2fd0b3(0x2f1),_0x38445c[_0x2fd0b3(0x344)]=_0x2fd0b3(0x248),_0x38445c['nEHlD']=_0x2fd0b3(0x1dc),_0x38445c[_0x2fd0b3(0x1f6)]=_0x2fd0b3(0x1ef),_0x38445c['bPctb']=_0x2fd0b3(0x33c),_0x38445c[_0x2fd0b3(0x258)]=_0x2fd0b3(0x2ae),_0x38445c[_0x2fd0b3(0x1f5)]=_0x2fd0b3(0x367),_0x38445c[_0x2fd0b3(0x29c)]='null';const _0x588ff0=_0x38445c;if(_0x588ff0[_0x2fd0b3(0x1ec)](_0x445218[_0x2fd0b3(0x216)],_0x588ff0['qwaSR'])){logger['debug'](_0x588ff0[_0x2fd0b3(0x344)]);return;}logger[_0x2fd0b3(0x2d7)](_0x2fd0b3(0x31e)+(_0x445218[_0x2fd0b3(0x253)]||_0x588ff0[_0x2fd0b3(0x2a5)]));try{const _0x5f15d1=_0x445218[_0x2fd0b3(0x207)]||AutomationFramework['getTrackedInstance'](),_0x239341=TestFramework['getTrackedInstance'](),_0x4b9903=_0x445218[_0x2fd0b3(0x253)]||_0x445218['command']?.['getName']();if(!_0x4b9903){logger[_0x2fd0b3(0x2d7)](_0x588ff0['fKqFh']);return;}if(!this[_0x2fd0b3(0x274)]()){logger['debug'](_0x2fd0b3(0x205)+_0x4b9903);return;}if(!this['shouldScanForCommand'](_0x4b9903)){logger[_0x2fd0b3(0x2d7)]('onBeforeExecute:\x20Command\x20'+_0x4b9903+'\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned');return;}const _0x369fc0=_0x445218[_0x2fd0b3(0x235)]||global[_0x2fd0b3(0x24e)]?.['pwPage'];if(!_0x369fc0){logger['debug'](_0x2fd0b3(0x2fd)+_0x4b9903);return;}const _0x1fd44e=this[_0x2fd0b3(0x347)](_0x588ff0[_0x2fd0b3(0x1fb)])||'',_0x49ebf8=this[_0x2fd0b3(0x347)](_0x588ff0[_0x2fd0b3(0x258)])||this[_0x2fd0b3(0x220)][this[_0x2fd0b3(0x2fe)]]||null,_0x39387a=process[_0x2fd0b3(0x223)][_0x2fd0b3(0x257)]||'',_0x5c68cf=this[_0x2fd0b3(0x299)](_0x4b9903,_0x1fd44e,_0x49ebf8,_0x39387a),_0x7249ca=await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x588ff0['COhHM'],_0x1fd44e);logger[_0x2fd0b3(0x326)]('ScanArgs:\x20'+(_0x5c68cf?JSON[_0x2fd0b3(0x239)](_0x5c68cf):_0x588ff0[_0x2fd0b3(0x29c)]));const _0x26c4af=CLIUtils[_0x2fd0b3(0x260)](_0x5c68cf,_0x7249ca);logger['info']('MergedScanArgs:\x20'+(_0x26c4af?JSON[_0x2fd0b3(0x239)](_0x26c4af):_0x588ff0['JnQsv'])),logger[_0x2fd0b3(0x2d7)](_0x2fd0b3(0x33b)+_0x4b9903);const _0x4e956a=await this[_0x2fd0b3(0x286)](_0x369fc0,_0x1fd44e,_0x4b9903,_0x26c4af,this[_0x2fd0b3(0x315)]);logger['debug']('onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20'+_0x4b9903+_0x2fd0b3(0x2bb)+_0x4e956a);}catch(_0x393a68){logger[_0x2fd0b3(0x22a)](_0x2fd0b3(0x2bf)+(_0x393a68[_0x2fd0b3(0x2b2)]||_0x393a68[_0x2fd0b3(0x34c)]));}}[a79_0x2e8dea(0x309)](){const _0x4ae39b=a79_0x2e8dea;return this[_0x4ae39b(0x274)]();}[a79_0x2e8dea(0x34e)](_0x226fa0){const _0x5252cd=a79_0x2e8dea,_0x51e3ce=CLIUtils[_0x5252cd(0x34d)]();this[_0x5252cd(0x35e)][_0x5252cd(0x33a)](_0x51e3ce,_0x226fa0);}async[a79_0x2e8dea(0x352)](_0x21a5b4){const _0x43e125=a79_0x2e8dea,_0x1070cf={};_0x1070cf[_0x43e125(0x31f)]='unknown';const _0x333348=_0x1070cf;try{const _0x13fe39=_0x21a5b4['instance']||AutomationFramework[_0x43e125(0x273)](),_0x335e3e=_0x13fe39?.['getData']?.()?.[_0x43e125(0x2bc)]?.(this['KEY_INIT'])||![];if(_0x335e3e)return;PerformanceTester[_0x43e125(0x360)](EVENTS[_0x43e125(0x24b)]);const _0x1afbe9=await GrpcClient['getInstance']()[_0x43e125(0x35d)](_0x21a5b4);_0x1afbe9&&_0x1afbe9['getAccessibility']&&_0x1afbe9[_0x43e125(0x270)]()&&_0x1afbe9['getAccessibility']()['getSuccess']()?(await this[_0x43e125(0x201)](_0x1afbe9,_0x21a5b4),_0x13fe39?.['getData']&&_0x13fe39[_0x43e125(0x362)]()['set'](this[_0x43e125(0x1eb)],!![]),logger['debug'](_0x43e125(0x250)+(_0x13fe39?.[_0x43e125(0x304)]?.()||_0x333348['YRGRP'])+_0x43e125(0x308))):logger[_0x43e125(0x2d7)](_0x43e125(0x250)+(_0x13fe39?.[_0x43e125(0x304)]?.()||_0x333348[_0x43e125(0x31f)])+_0x43e125(0x20d)),PerformanceTester['end'](EVENTS[_0x43e125(0x24b)]);}catch(_0x4a9cf3){PerformanceTester[_0x43e125(0x291)](EVENTS['SDK_ACCESSIBILITY_CONFIG'],![],_0x4a9cf3[_0x43e125(0x34c)]),logger['error'](_0x43e125(0x32b)+(_0x4a9cf3[_0x43e125(0x2b2)]||_0x4a9cf3[_0x43e125(0x34c)]));}}async[a79_0x2e8dea(0x201)](_0x4a1f38,_0x74edaa){const _0x19d62c=a79_0x2e8dea;await this['setAccessibilityConfig'](_0x4a1f38,_0x74edaa);const _0x1cd6b3=_0x4a1f38[_0x19d62c(0x270)]()['getOptions']();if(_0x1cd6b3){const _0x52c50c=_0x4a1f38[_0x19d62c(0x2e4)]&&_0x4a1f38[_0x19d62c(0x2e4)]();_0x52c50c&&(this[_0x19d62c(0x220)][this['KEY_TESTHUB_BUILD_ID']]=_0x52c50c[_0x19d62c(0x21e)]&&_0x52c50c[_0x19d62c(0x21e)]());}}['shouldScanForCommand'](_0x3485f1){const _0x261015=a79_0x2e8dea,_0x30f5e1={};_0x30f5e1[_0x261015(0x232)]=function(_0x4ea018,_0x523784){return _0x4ea018===_0x523784;};const _0x15688b=_0x30f5e1;try{if(!_0x3485f1)return![];const _0x3468b9=this[_0x261015(0x220)]?.[_0x261015(0x2de)]?.[_0x261015(0x359)]?.['commandsList']||[],_0x1d5398=_0x3468b9[_0x261015(0x1f4)](_0x486f95=>{const _0x52d17f=_0x261015;return _0x486f95['name']&&_0x15688b[_0x52d17f(0x232)](_0x486f95[_0x52d17f(0x316)][_0x52d17f(0x2e9)](),_0x3485f1[_0x52d17f(0x2e9)]());});return logger[_0x261015(0x2d7)]('shouldScanForCommand:\x20'+_0x3485f1+'\x20->\x20'+_0x1d5398+_0x261015(0x34b)+JSON[_0x261015(0x239)](_0x3468b9['map'](_0x3e6ed1=>_0x3e6ed1[_0x261015(0x316)]))),_0x1d5398;}catch(_0x416b1c){return logger['debug'](_0x261015(0x328)+_0x416b1c[_0x261015(0x34c)]),![];}}[a79_0x2e8dea(0x343)](_0x3dcc02){const _0x1cac28=a79_0x2e8dea,_0x24b5db={};_0x24b5db[_0x1cac28(0x2b3)]=function(_0x4fdf97,_0x427a8d){return _0x4fdf97===_0x427a8d;},_0x24b5db[_0x1cac28(0x297)]=_0x1cac28(0x32c),_0x24b5db[_0x1cac28(0x2df)]='browserstack_executor';const _0x11fb29=_0x24b5db,_0x1f78e1=_0x3dcc02[_0x1cac28(0x230)]&&_0x3dcc02[_0x1cac28(0x230)]();return _0x1f78e1&&_0x11fb29[_0x1cac28(0x2b3)](typeof _0x1f78e1,_0x11fb29[_0x1cac28(0x297)])&&_0x1f78e1[_0x1cac28(0x26d)](_0x11fb29[_0x1cac28(0x2df)]);}[a79_0x2e8dea(0x2cf)](_0x2fdd8a){const _0x21538=a79_0x2e8dea,_0x1ca8ee={};_0x1ca8ee['QaQIs']=function(_0x18e8da,_0x58486f){return _0x18e8da!==_0x58486f;},_0x1ca8ee['ZuJqy']='string',_0x1ca8ee[_0x21538(0x301)]='accessibility',_0x1ca8ee[_0x21538(0x26c)]=_0x21538(0x211),_0x1ca8ee[_0x21538(0x2d2)]=_0x21538(0x2e8),_0x1ca8ee[_0x21538(0x236)]=_0x21538(0x265);const _0x499699=_0x1ca8ee,_0x4afa64=_0x2fdd8a[_0x21538(0x230)]&&_0x2fdd8a[_0x21538(0x230)]();if(!_0x4afa64||_0x499699[_0x21538(0x228)](typeof _0x4afa64,_0x499699[_0x21538(0x25c)]))return![];return _0x4afa64[_0x21538(0x26d)](_0x499699[_0x21538(0x301)])||_0x4afa64[_0x21538(0x26d)](_0x499699['yZGhV'])||_0x4afa64['includes'](_0x499699[_0x21538(0x2d2)])||_0x4afa64[_0x21538(0x26d)](_0x499699[_0x21538(0x236)]);}[a79_0x2e8dea(0x299)](_0x55af88,_0x5f52f3,_0x1a6c7d,_0x349a4b){const _0x858155=a79_0x2e8dea,_0x49ac39={};_0x49ac39['aSXjd']=function(_0x489ca1,_0x58dce0){return _0x489ca1||_0x58dce0;},_0x49ac39[_0x858155(0x357)]=function(_0x120390,_0x17020b){return _0x120390||_0x17020b;},_0x49ac39[_0x858155(0x318)]=function(_0x114898,_0x94497c){return _0x114898||_0x94497c;};const _0x5a1013=_0x49ac39;return{'command':_0x55af88,'thTestRunUuid':_0x5a1013[_0x858155(0x240)](_0x5f52f3,''),'thBuildUuid':_0x5a1013[_0x858155(0x357)](_0x1a6c7d,''),'thJwtToken':_0x5a1013[_0x858155(0x318)](_0x349a4b,''),'timestamp':new Date()['toISOString']()};}[a79_0x2e8dea(0x28c)](_0xb3d590){const _0xe68d9d=a79_0x2e8dea,_0x3d4eee={};_0x3d4eee[_0xe68d9d(0x2ad)]=function(_0x120f24,_0x319056){return _0x120f24||_0x319056;};const _0x17bbcc=_0x3d4eee;try{const _0x473c0f=this[_0xe68d9d(0x220)]?.[_0xe68d9d(0x2de)]?.['scriptsList']||[],_0x29e449=_0x473c0f[_0xe68d9d(0x24f)](_0x474002=>_0x474002[_0xe68d9d(0x316)]===_0xb3d590);return _0x17bbcc['QUtPe'](_0x29e449,null);}catch(_0x26f8c9){return logger[_0xe68d9d(0x2d7)](_0xe68d9d(0x263)+_0xb3d590+':\x20'+_0x26f8c9['message']),null;}}async[a79_0x2e8dea(0x271)](_0xfdea83,_0x361d14,_0x43f39e=null){const _0x1547fd=a79_0x2e8dea,_0x45ab1b={'qFznk':function(_0x3b3fd5,_0x168d1f){return _0x3b3fd5(_0x168d1f);},'IDXvS':_0x1547fd(0x341)};try{if(!_0xfdea83)return logger['debug'](_0x1547fd(0x24d)+_0x361d14),null;const _0xb8203=this['getScriptByName'](_0x361d14);if(!_0xb8203||!_0xb8203[_0x1547fd(0x2a8)])return logger['debug'](_0x1547fd(0x259)+_0x361d14+_0x1547fd(0x2d9)),null;logger[_0x1547fd(0x2d7)](_0x1547fd(0x200)+_0x361d14+'\x20accessibility\x20script\x20on\x20page');const _0x10bf19=_0x45ab1b['qFznk'](require,_0x45ab1b[_0x1547fd(0x281)]),_0x2de32a=_0x43f39e?await _0x10bf19['browserStackEvaluate'](_0xfdea83,_0xb8203[_0x1547fd(0x2a8)],_0x43f39e):await _0x10bf19['browserStackEvaluate'](_0xfdea83,_0xb8203['command']);return _0x2de32a;}catch(_0x5f725a){return logger[_0x1547fd(0x22a)]('Error\x20executing\x20script\x20'+_0x361d14+':\x20'+(_0x5f725a[_0x1547fd(0x2b2)]||_0x5f725a['message'])),null;}}async[a79_0x2e8dea(0x286)](_0x4a42b8,_0x2a3dde,_0x1a6be1,_0x10cb33,_0x536ea7,_0x538a26='scan'){const _0x29cebc=a79_0x2e8dea,_0x14fe50={'jtCFh':function(_0x551961,_0x3de2c5){return _0x551961===_0x3de2c5;},'EDlKS':_0x29cebc(0x367),'MyETI':function(_0x2cd480,_0x5de3dd){return _0x2cd480(_0x5de3dd);},'sXPhO':_0x29cebc(0x341)};try{logger[_0x29cebc(0x2d7)](_0x29cebc(0x312)+_0x1a6be1+_0x29cebc(0x23c)+_0x538a26);const _0x3e38c2=this[_0x29cebc(0x28c)](_0x538a26);if(!_0x3e38c2||!_0x3e38c2[_0x29cebc(0x2a8)]){logger[_0x29cebc(0x2d7)](_0x29cebc(0x278)+_0x538a26+_0x29cebc(0x25b));return;}if(_0x14fe50[_0x29cebc(0x203)](_0x538a26,_0x14fe50[_0x29cebc(0x26f)])){const _0x3ea776=_0x14fe50[_0x29cebc(0x28d)](require,_0x14fe50[_0x29cebc(0x21b)]),_0x4af549={};_0x4af549[_0x29cebc(0x2a8)]=_0x1a6be1;const _0x144eb9=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x29cebc(0x2eb)],async()=>{const _0x3c0cc4=_0x29cebc;await _0x3ea776['browserStackEvaluate'](_0x4a42b8,_0x3e38c2[_0x3c0cc4(0x2a8)]);},_0x4af549)();return logger[_0x29cebc(0x326)](_0x29cebc(0x2ed)+_0x538a26+'\x20result\x20for\x20'+_0x1a6be1+':\x20'+util['format'](_0x144eb9)),_0x144eb9;}const _0x860c45=_0x14fe50[_0x29cebc(0x28d)](require,_0x14fe50[_0x29cebc(0x21b)]),_0x41b9b9=await PerformanceTester[_0x29cebc(0x2ee)](PerformanceA11yEvents[_0x29cebc(0x298)],async()=>{const _0x345d54=_0x29cebc;await _0x860c45[_0x345d54(0x28e)](_0x4a42b8,_0x3e38c2[_0x345d54(0x2a8)],_0x10cb33);})();return logger['info'](_0x29cebc(0x2ed)+_0x538a26+_0x29cebc(0x2c1)+_0x1a6be1+':\x20'+util[_0x29cebc(0x22f)](_0x41b9b9)),_0x41b9b9;}catch(_0x106d8a){logger[_0x29cebc(0x22a)](_0x29cebc(0x349)+_0x538a26+':\x20'+(_0x106d8a['stack']||_0x106d8a[_0x29cebc(0x34c)]));}}async[a79_0x2e8dea(0x300)](_0x49e2db){const _0x411c0c=a79_0x2e8dea,_0x16e2db={'cyJcJ':function(_0x3941be,_0x503938){return _0x3941be(_0x503938);},'mmMFv':_0x411c0c(0x251)};try{const _0x1d9964=_0x16e2db[_0x411c0c(0x336)](require,_0x16e2db[_0x411c0c(0x276)]);return await _0x1d9964['platformValidation'](_0x49e2db);}catch(_0x3815bb){return logger[_0x411c0c(0x22a)](_0x411c0c(0x224)+(_0x3815bb[_0x411c0c(0x2b2)]||_0x3815bb[_0x411c0c(0x34c)])),![];}}[a79_0x2e8dea(0x2d5)](_0x82abae,_0xf0b238,_0x3386cd){const _0x234ace=a79_0x2e8dea,_0x4f1cac={'owadE':function(_0x167c3b,_0x14fb4c){return _0x167c3b(_0x14fb4c);},'eyvnO':_0x234ace(0x341),'jfaaf':'\x22browserstack.user\x22:\x22[REDACTED]\x22','iboFY':_0x234ace(0x323)};try{const _0x53413d=_0x4f1cac[_0x234ace(0x214)](require,_0x4f1cac[_0x234ace(0x231)]);_0x53413d['processAccessibilityCaps'](_0x82abae,_0xf0b238,_0x3386cd);const _0xf7918=JSON[_0x234ace(0x239)](_0x82abae)[_0x234ace(0x255)](/"browserstack\.user":"[^"]*"/g,_0x4f1cac[_0x234ace(0x356)])[_0x234ace(0x255)](/"browserstack\.key":"[^"]*"/g,_0x4f1cac['iboFY']);logger[_0x234ace(0x2d7)](_0x234ace(0x348)+global[_0x234ace(0x23b)]+'\x20'+_0xf7918);}catch(_0x291d75){logger[_0x234ace(0x22a)]('Error\x20in\x20processAccessibilityCaps:\x20'+(_0x291d75[_0x234ace(0x2b2)]||_0x291d75['message']));}}async[a79_0x2e8dea(0x1ee)](_0x234900){const _0x52c9a5=a79_0x2e8dea,_0x3ab05d={};_0x3ab05d[_0x52c9a5(0x36c)]=_0x52c9a5(0x322),_0x3ab05d['hDosR']='getResults';const _0x22929e=_0x3ab05d;try{if(!this[_0x52c9a5(0x274)]())return logger['warn'](_0x22929e[_0x52c9a5(0x36c)]),[];const _0x2c28a1=await this[_0x52c9a5(0x271)](_0x234900,_0x22929e[_0x52c9a5(0x338)]);return _0x2c28a1||[];}catch(_0x516f4e){return logger['error'](_0x52c9a5(0x1fd)+(_0x516f4e[_0x52c9a5(0x2b2)]||_0x516f4e['message'])),[];}}async[a79_0x2e8dea(0x2d1)](_0x28cb0d){const _0x43e19d=a79_0x2e8dea,_0x597445={};_0x597445[_0x43e19d(0x2a3)]='Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.',_0x597445[_0x43e19d(0x306)]=_0x43e19d(0x2c8),_0x597445['wUkoE']=function(_0x3cb6c8,_0x3e6112){return _0x3cb6c8||_0x3e6112;};const _0x406016=_0x597445;try{if(!this[_0x43e19d(0x274)]())return logger['warn'](_0x406016['oMMox']),{};const _0x50eb67=await this['executeScriptByName'](_0x28cb0d,_0x406016[_0x43e19d(0x306)]);return _0x406016['wUkoE'](_0x50eb67,{});}catch(_0x38b008){return logger[_0x43e19d(0x22a)](_0x43e19d(0x2d0)+(_0x38b008[_0x43e19d(0x2b2)]||_0x38b008[_0x43e19d(0x34c)])),{};}}async[a79_0x2e8dea(0x2e3)](_0x302c4c,_0x104ff8,_0x4d369f=null){const _0x414e18=a79_0x2e8dea,_0x23a4a2={};_0x23a4a2[_0x414e18(0x221)]=_0x414e18(0x2b8),_0x23a4a2[_0x414e18(0x358)]=_0x414e18(0x1ea),_0x23a4a2[_0x414e18(0x2f7)]=_0x414e18(0x354);const _0x16d54f=_0x23a4a2;try{if(!_0x302c4c)return logger['debug'](_0x16d54f[_0x414e18(0x221)]),null;if(!_0x104ff8)return logger[_0x414e18(0x2d7)](_0x16d54f[_0x414e18(0x358)]),null;logger['debug'](_0x16d54f[_0x414e18(0x2f7)]);const _0x148e00=_0x4d369f?await _0x302c4c[_0x414e18(0x247)](_0x104ff8,_0x4d369f):await _0x302c4c[_0x414e18(0x247)](_0x104ff8);return _0x148e00;}catch(_0x165495){return logger['error'](_0x414e18(0x262)+(_0x165495['stack']||_0x165495[_0x414e18(0x34c)])),null;}}static['loadDriverExecuteParams'](_0x26f542,_0x24c00f){const _0x2fae8d=a79_0x2e8dea,_0x1f49ad={};_0x1f49ad['VGvgq']='ascii';const _0x837ea1=_0x1f49ad,_0x1805d3={};_0x1805d3[_0x2fae8d(0x1f9)]=_0x26f542;const _0x9205fe=_0x1805d3;let _0x420aaf={};if(_0x24c00f['getSuccess']()&&_0x24c00f[_0x2fae8d(0x283)]())try{_0x420aaf=JSON[_0x2fae8d(0x23a)](new Buffer(_0x24c00f[_0x2fae8d(0x1f0)]())[_0x2fae8d(0x229)](_0x837ea1[_0x2fae8d(0x2fa)]));}catch(_0x49da25){logger['error'](_0x2fae8d(0x243)+_0x49da25['message']),_0x420aaf={};}return CLIUtils[_0x2fae8d(0x260)](_0x9205fe,_0x420aaf);}static async[a79_0x2e8dea(0x2f4)](_0xc0e9a1,_0xbc5a3a=''){const _0x1e18ab=a79_0x2e8dea,_0x254258={};_0x254258[_0x1e18ab(0x30d)]=_0x1e18ab(0x24c),_0x254258[_0x1e18ab(0x2d6)]='accessibility';const _0xae77fd=_0x254258;try{if(AccessibilityModule['_centralAuthConfigFetched'])return AccessibilityModule['_centralAuthA11yConfig'];if(!process[_0x1e18ab(0x223)][_0x1e18ab(0x355)])return logger[_0x1e18ab(0x22a)](_0xae77fd[_0x1e18ab(0x30d)]),{};const _0x246d97=await GrpcClient[_0x1e18ab(0x20c)]()[_0x1e18ab(0x361)](process[_0x1e18ab(0x223)][_0x1e18ab(0x355)],_0xae77fd[_0x1e18ab(0x2d6)],_0xc0e9a1),_0x70bc6c=AccessibilityModule[_0x1e18ab(0x254)](_0xbc5a3a,_0x246d97);return AccessibilityModule['_centralAuthA11yConfig']=_0x70bc6c,AccessibilityModule['_centralAuthConfigFetched']=!![],AccessibilityModule[_0x1e18ab(0x1e6)];}catch(_0xfdfea3){return logger[_0x1e18ab(0x22a)](_0x1e18ab(0x368)+_0xc0e9a1+':\x20'+(_0xfdfea3[_0x1e18ab(0x2b2)]||_0xfdfea3[_0x1e18ab(0x34c)])),{};}}};module[a79_0x2e8dea(0x2f6)]=AccessibilityModule;function a79_0x4fce(){const _0x3022a0=['dteyN','1092111vIIxZX','isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','../framework/testFramework','Error\x20getting\x20capability\x20value\x20for\x20','qyyGu','onBeforeExecute:\x20command=','YRGRP','JBSev','rpOlu','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','\x22browserstack.key\x22:\x22[REDACTED]\x22','getGoogleChromeOptions','Performing\x20scan\x20before\x20from\x20cli','info','12|6|1|14|3|5|9|8|0|10|4|2|13|7|11','Error\x20in\x20shouldScanForCommand:\x20','hstBN','MXanq','Error\x20in\x20initAccessibilityConfig:\x20','string','xUZxX','LaTwy','vWdei','bind','onBeforeTest','sDLuz','dYcGx','setAccessibilityConfig','test-tags-->\x20','cyJcJ','isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','hDosR','getCapabilitiesList','set','onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','test_run_id','60NpthwI','PJGQh','../../utils/playwright-patcher','TsQia','../../playwright/accessibility-helper','zpwzk','isBrowserstackScriptCommand','VzIib','KEY_DRIVER_HAS_URL','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','getCapabilityValue','Processed\x20accessibility\x20caps\x20','Error\x20in\x20performScanForCli\x20for\x20script\x20','10zPysqt',',\x20available\x20commands:\x20','message','getCurrentInstanceName','setShouldScanCurrentTest','accessibilityToken','delete','xnxTR','initAccessibilityConfig','includeTagsInTestingScope','Executing\x20accessibility\x20script\x20on\x20page','BROWSERSTACK_CLI_BIN_SESSION_ID','jfaaf','MgBeQ','VnYHl','commandsToWrap','onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20cucumber\x20test\x20framework','toJson','cHrYn','getAccessibilityConfig','accessibility','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','start','fetchDriverExecuteParamsEvent','getData','../grpcClient','1208408fmkwPQ','NXlBO','__accessibilityOptions','scan','fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20','ACCESSIBILITY_INITIALIZED','playwright-chromium','onAfterTest','vIcsn','unknown','../TestInfo.js','pVRvU','cqXNz','isArray','_sendMessageServerPatchApplied','pgotb','setAccessibilityToken','PrBIT','isEnabledTestcase','_centralAuthA11yConfig','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20cucumber\x20test\x20framework','dWlBc','getValue','performPageScan:\x20Script\x20is\x20null','KEY_INIT','HyUpY','browserVersion','getAccessibilityResults','onBeforeExecute:\x20No\x20command\x20name\x20provided','getAccessibilityExecuteParams','browserstack.accessibilityOptions.scannerVersion','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','SQmSK','some','COhHM','fKqFh','Ovrss','MODULE_NAME','thTestRunUuid','BS_A11Y_JWT','bPctb','udnwS','Error\x20in\x20getAccessibilityResults:\x20','assign','./baseModule','Executing\x20','loadAccessibilityConfig','PNyGw','jtCFh','cBulz','onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20','has','instance','lLTgc','../../../helpers/accessibility-automation/constants','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','../state/automationFrameworkState','getInstance',']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration','warn','Exception\x20in\x20isPlatformSupported:\x20','IjwUH','performScan','cwhqg','VgIit','owadE','TgetQ','testFramework','trim','GDaZd','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','setLogDisabledShown','sXPhO','Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20','updateData','getBuildId','mBhVn','accessibilityConfig','yEPvO','DRIVER_INIT','env','Error\x20in\x20validatePlatformForAccessibility:\x20','UBSum','vakrx','getOptions','QaQIs','toString','error','NbSgJ','length','vZIDT','echyo','format','getScript','eyvnO','mztnN','AUTOMATION_SESSIONS','applySendMessageToServerPatch','page','oQDYr','WyfEC','goog:chromeOptions','stringify','parse','accessibilityPlatform','\x20using\x20script:\x20','rIzRc','getModuleName','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','aSXjd','Ztnfj','44gSfLkG','Error\x20parsing\x20accessibility\x20execute\x20params:\x20',',\x20excludeTags=','../../../helpers/performance/constants.js','iOAdR','evaluate','onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20cucumber\x20test\x20framework',']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20','158975EtJpyA','SDK_ACCESSIBILITY_CONFIG','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','__workerDetails','find','[platform\x20-\x20','../../../helpers/accessibility-automation/helper','UgQbg','commandName','loadDriverExecuteParams','replace','Context','BROWSERSTACK_TESTHUB_JWT','ZWhXk','executeScriptByName:\x20No\x20','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.','\x20script\x20available\x20in\x20scriptsList','ZuJqy','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.',']\x20should\x20run\x20accessibility\x20value=','xOACf','mergeObject','getCommandsList','Error\x20in\x20performPageScan:\x20','Error\x20getting\x20script\x20by\x20name\x20','getContext','saveTestResults','\x20a11yToken=',',\x20includeTags=','JPOsP','1323783cVbBAX','pYcaT','\x20testHubUuid=','yZGhV','includes','setShouldScan','EDlKS','getAccessibility','executeScriptByName','value','getTrackedInstance','getCurrentAccessibilityStatus','refew','mmMFv','toObject','performScanForCli:\x20No\x20','patchSendMessageToServer','getTestId','BvVLP','MuFbg','split','qRrXf','onBeforeTest:\x20event=','MgNdN','IDXvS','cXFqT','hasAccessibilityExecuteParams','pWJHK','BnVxm','performScanForCli','wWuvN','526608QBgFfZ','nCYVT','map','NEmKS','getScriptByName','MyETI','browserStackEvaluate','isPlatformSupported','zSCuL','end','parseFromProto','util','getScriptsList','IZoav','Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20','ndxDd','SAVE_RESULTS','getParamsForScanForCli','getName','laSSd','JnQsv','null','mwMMJ','LOG_DISABLED_SHOWN','getTestDetails','Running\x20Save\x20results\x20for\x20Accessibility\x20testing','417461ayitRI','oMMox','PRE','nEHlD','getState','browserName','command','hQckZ','brZmx','tGrMt','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','QUtPe','testhub_build_uuid','7WWFbIO','ANtxQ','onAfterTest:\x20event=','stack','MqgiD','IgnJU','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','UvFNl','Accessibility\x20data\x20for\x20extension:\x20','performPageScan:\x20Page\x20is\x20null','../../../helpers/helper','42947pRGDen',',\x20\x0a\x20','get','NON_BROWSERSTACK_AUTOMATION_SESSIONS','excludeTagsInTestingScope','Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20','size','\x20result\x20for\x20','nGXsi','CObig','lrixB','name:\x20','../state/hookState','MWvOz','getResultsSummary','GHTUg','a11y:save-results','\x20value=','chrome','CREATE','XNNzE','isAccessibilityScriptCommand','Error\x20in\x20getAccessibilityResultsSummary:\x20','getAccessibilityResultsSummary','KFCee','ZTzeR','isEnabled','processAccessibilityCaps','MObLn','debug','latest','\x20script\x20available','true','TrackedInstance','scannerProcessingTimeout','BDrBc','options','gEYrt','Error\x20checking\x20headless\x20capability:\x20','../../../helpers/performance/performance-tester.js','onBeforeExecute','performPageScan','getTesthub','DRIVER_HAS_URL','../../../helpers/accessibility-automation/scripts','launchCaps','getResults','toLowerCase','iamiO','PERFORM_SCAN',']\x20isEnabledTestcase\x20result=','Page\x20','measureWrapper','OvVqe','ZLTbB','cucumber','ovULw','function','fetchCentralAuthA11yConfig','browser','exports','raTGt','uubKq','test_tags','VGvgq','ENFcd','capabilitiesList','onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20','KEY_TESTHUB_BUILD_ID','_centralAuthConfigFetched','validatePlatformForAccessibility','WrHUh','saveResults','kQJaM','getPlatformIndex','FdxTG','wflUq','patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher',']\x20Accessibility\x20configuration\x20initialized\x20successfully','shouldScanCurrentTest','JRiRp',']\x20clear\x20','pwPage','SWBMF','JPSqE','../../../helpers/classLogger','oPvTO','gZklV','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','ZASsH','capabilities','isAppAccessibility','name','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found'];a79_0x4fce=function(){return _0x3022a0;};return a79_0x4fce();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a80_0xa7c11d=a80_0x3df1;function a80_0x5620(){const _0x26f045=['8470820GmJYEh','BaseModule','9294192xyKWPG','28329455aszOuW','setTestFrameworkData','split','ensureBinSession','getTestId',',\x20platformIndex=','CUCUMBER','4099338MtcceB','0|3|1|2|4','PLAYWRIGHT','DreRR','hhBMp','platformIndex','../../../helpers/logger.js','testId','JEST','KEWEb','QFZmc','BbTuR','name','configure','debug','Configured\x20module\x20','config','client','hCfCB','\x20with\x20binSessionId=','exports','1|3|0|2|5|4','1354016DCTyLk','../../../helpers/test-observability/constants.js','testFramework','testInfo','Missing\x20binSessionId','vEcsI','winstonLogger','binSessionId','761671KLYcPH','4779604EmZgiZ','version'];a80_0x5620=function(){return _0x26f045;};return a80_0x5620();}(function(_0x347e40,_0x2c742c){const _0x1d1971=a80_0x3df1,_0x583c54=_0x347e40();while(!![]){try{const _0x3e4604=-parseInt(_0x1d1971(0x99))/0x1+parseInt(_0x1d1971(0x91))/0x2+parseInt(_0x1d1971(0xa6))/0x3+-parseInt(_0x1d1971(0x9a))/0x4+-parseInt(_0x1d1971(0x9c))/0x5+-parseInt(_0x1d1971(0x9e))/0x6+parseInt(_0x1d1971(0x9f))/0x7;if(_0x3e4604===_0x2c742c)break;else _0x583c54['push'](_0x583c54['shift']());}catch(_0x3d7970){_0x583c54['push'](_0x583c54['shift']());}}}(a80_0x5620,0xd977f));const logger=require(a80_0xa7c11d(0xac))[a80_0xa7c11d(0x97)],{FRAMEWORKS}=require(a80_0xa7c11d(0x92));class BaseModule{constructor(_0xdcdc9f=null){const _0x135746=a80_0xa7c11d,_0x367cf7={};_0x367cf7[_0x135746(0xaa)]=_0x135746(0x90),_0x367cf7['hCfCB']=_0x135746(0x9d);const _0x143cf1=_0x367cf7,_0x46417f=_0x143cf1[_0x135746(0xaa)][_0x135746(0xa1)]('|');let _0x329b39=0x0;while(!![]){switch(_0x46417f[_0x329b39++]){case'0':this[_0x135746(0xab)]=0x0;continue;case'1':this[_0x135746(0x87)]=_0x143cf1[_0x135746(0x8d)];continue;case'2':this['config']={};continue;case'3':this['binSessionId']=null;continue;case'4':this['testFrameworkData']=this['setTestFrameworkData'](_0xdcdc9f);continue;case'5':this[_0x135746(0x8c)]=null;continue;}break;}}[a80_0xa7c11d(0xa2)](){const _0x2a3185=a80_0xa7c11d,_0x58db45={};_0x58db45[_0x2a3185(0xa9)]=_0x2a3185(0x95);const _0x4aa58b=_0x58db45;if(!this[_0x2a3185(0x98)])throw new Error(_0x4aa58b['DreRR']);}['getModuleName'](){return this['name'];}[a80_0xa7c11d(0x88)](_0x1602ee,_0x2fab31,_0x483bf5,_0x5a1878={}){const _0x859cd2=a80_0xa7c11d,_0x1332b0={};_0x1332b0['KEWEb']=_0x859cd2(0xa7);const _0x1f4870=_0x1332b0,_0x38075c=_0x1f4870[_0x859cd2(0xaf)][_0x859cd2(0xa1)]('|');let _0x30397a=0x0;while(!![]){switch(_0x38075c[_0x30397a++]){case'0':this['binSessionId']=_0x1602ee;continue;case'1':this['client']=_0x483bf5;continue;case'2':this[_0x859cd2(0x8b)]=_0x5a1878;continue;case'3':this[_0x859cd2(0xab)]=_0x2fab31;continue;case'4':logger[_0x859cd2(0x89)](_0x859cd2(0x8a)+this['getModuleName']()+_0x859cd2(0x8e)+_0x1602ee+_0x859cd2(0xa4)+_0x2fab31);continue;}break;}}[a80_0xa7c11d(0xa3)](_0x2e8886){const _0x3b5217=a80_0xa7c11d,_0x17b154={};_0x17b154[_0x3b5217(0x96)]=function(_0x5e999a,_0x63c94f){return _0x5e999a===_0x63c94f;},_0x17b154['BbTuR']=function(_0x15e36d,_0x3164b8){return _0x15e36d===_0x3164b8;};const _0x5be994=_0x17b154;let _0x2fd105='';if(_0x5be994['vEcsI'](_0x2e8886['testFramework'],FRAMEWORKS[_0x3b5217(0xa8)]))_0x2fd105=_0x2e8886[_0x3b5217(0x94)]?.['_test']?.['id']||_0x2e8886[_0x3b5217(0x94)]?.[_0x3b5217(0xad)];else{if(_0x5be994[_0x3b5217(0x96)](_0x2e8886[_0x3b5217(0x93)],FRAMEWORKS[_0x3b5217(0xa5)]))_0x2fd105=_0x2e8886[_0x3b5217(0x94)]?.['testCaseStartedId'];else _0x5be994[_0x3b5217(0xb1)](_0x2e8886[_0x3b5217(0x93)],FRAMEWORKS[_0x3b5217(0xae)])&&(_0x2fd105=_0x2e8886[_0x3b5217(0x94)]?.['id']);}return _0x2fd105;}[a80_0xa7c11d(0xa0)](_0x2c5b6e){const _0x3eab44=a80_0xa7c11d,_0x115d05={};_0x115d05[_0x3eab44(0xb0)]=function(_0x1cd60f,_0x5534d){return _0x1cd60f!==_0x5534d;},_0x115d05['NpOul']='object';const _0x3611d5=_0x115d05;if(!_0x2c5b6e||_0x3611d5[_0x3eab44(0xb0)](typeof _0x2c5b6e,_0x3611d5['NpOul']))return null;const _0x5066b2={};_0x5066b2['name']=_0x2c5b6e['name'],_0x5066b2['version']=_0x2c5b6e[_0x3eab44(0x9b)]&&_0x2c5b6e[_0x3eab44(0x9b)][_0x2c5b6e[_0x3eab44(0x87)]];const _0x26ac8e=_0x5066b2;return _0x26ac8e;}}function a80_0x3df1(_0x565740,_0x1532b4){const _0x5620a9=a80_0x5620();return a80_0x3df1=function(_0x3df119,_0x39996b){_0x3df119=_0x3df119-0x87;let _0x28bc43=_0x5620a9[_0x3df119];return _0x28bc43;},a80_0x3df1(_0x565740,_0x1532b4);}module[a80_0xa7c11d(0x8f)]=BaseModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a81_0x1eb378=a81_0x4ca5;(function(_0x3c73d1,_0x51a0a4){const _0x22e07c=a81_0x4ca5,_0x44b186=_0x3c73d1();while(!![]){try{const _0x40c8ca=parseInt(_0x22e07c(0xfc))/0x1+-parseInt(_0x22e07c(0xf5))/0x2+parseInt(_0x22e07c(0x102))/0x3*(parseInt(_0x22e07c(0x105))/0x4)+-parseInt(_0x22e07c(0x116))/0x5+-parseInt(_0x22e07c(0x10f))/0x6*(-parseInt(_0x22e07c(0x115))/0x7)+parseInt(_0x22e07c(0x117))/0x8+-parseInt(_0x22e07c(0x104))/0x9*(parseInt(_0x22e07c(0x118))/0xa);if(_0x40c8ca===_0x51a0a4)break;else _0x44b186['push'](_0x44b186['shift']());}catch(_0x471115){_0x44b186['push'](_0x44b186['shift']());}}}(a81_0x2990,0x93d3c));const BaseModule=require(a81_0x1eb378(0x10c)),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFramework=require('../framework/automationFramework.js'),AutomationFrameworkState=require(a81_0x1eb378(0x100)),HookState=require('../state/hookState.js'),{playwrightAnnotate}=require('../../../helpers/helper.js'),PerformanceTester=require(a81_0x1eb378(0xfd)),{O11y_EVENTS}=require(a81_0x1eb378(0xf6)),constants=require(a81_0x1eb378(0xfa));class ObservabilityModule extends BaseModule{['logger']=createClassLogger(a81_0x1eb378(0x10e));constructor(_0x33fcab){const _0x2afff7=a81_0x1eb378,_0x591950={};_0x591950[_0x2afff7(0x107)]='ObservabilityModule';const _0x20449d=_0x591950;super(),this[_0x2afff7(0x108)]=_0x20449d[_0x2afff7(0x107)],this['observabilityConfig']=_0x33fcab,AutomationFramework[_0x2afff7(0x113)](AutomationFrameworkState['CREATE'],HookState[_0x2afff7(0xff)],this['onBeforeTest'][_0x2afff7(0x106)](this));}[a81_0x1eb378(0x10a)](){const _0x4e7343=a81_0x1eb378;return ObservabilityModule[_0x4e7343(0x114)];}async['onBeforeTest'](_0x4d30ee){const _0x3c8a59=a81_0x1eb378,_0x51feab={'xGjKv':function(_0x30ea2e,_0x5521a7){return _0x30ea2e+_0x5521a7;},'CycNp':_0x3c8a59(0x109),'zEYqb':function(_0x41e33a,_0x2e131c,_0x1df0cc,_0x443216){return _0x41e33a(_0x2e131c,_0x1df0cc,_0x443216);},'DzQQW':_0x3c8a59(0x10b),'EKtgF':'onBeforeTest:\x20page\x20is\x20not\x20defined'};if(_0x4d30ee['page']){const _0x17928a=_0x4d30ee[_0x3c8a59(0x10d)],_0x5aa163=Date['now'](),_0x27fd30=_0x51feab[_0x3c8a59(0xf9)](_0x51feab[_0x3c8a59(0x101)],_0x5aa163);PerformanceTester[_0x3c8a59(0xfe)](O11y_EVENTS[_0x3c8a59(0x119)]),await _0x51feab[_0x3c8a59(0xfb)](playwrightAnnotate,_0x17928a,_0x27fd30,_0x51feab[_0x3c8a59(0x112)]),PerformanceTester[_0x3c8a59(0xf7)](O11y_EVENTS[_0x3c8a59(0x119)]),this[_0x3c8a59(0x103)][_0x3c8a59(0xf8)](_0x3c8a59(0x111)+constants[_0x3c8a59(0xf4)]+'\x20sync\x20done');}else this[_0x3c8a59(0x103)][_0x3c8a59(0x10b)](_0x51feab[_0x3c8a59(0x110)]);}}ObservabilityModule['MODULE_NAME']=a81_0x1eb378(0x10e),module['exports']=ObservabilityModule;function a81_0x4ca5(_0xcdf75b,_0xb913a0){const _0x2990aa=a81_0x2990();return a81_0x4ca5=function(_0x4ca54f,_0x55c3bc){_0x4ca54f=_0x4ca54f-0xf4;let _0x43eef2=_0x2990aa[_0x4ca54f];return _0x43eef2;},a81_0x4ca5(_0xcdf75b,_0xb913a0);}function a81_0x2990(){const _0x34c652=['POST','../state/automationFrameworkState.js','CycNp','6puIyAt','logger','9tYBWvG','2386652zSZIXR','bind','NQGXH','name','ObservabilitySync:','getModuleName','debug','./baseModule','page','ObservabilityModule','156TJopZY','EKtgF','onBeforeTest:\x20','DzQQW','registerObserver','MODULE_NAME','261142CgHpzf','2454055lYGzSO','7994360PSxPvt','18565220odSXEC','SYNC','TEST_REPORTING_ANALYTICS','1826340jhBFie','../../../helpers/performance/constants.js','end','info','xGjKv','../../utils/constants.js','zEYqb','703426JKvjvE','../../../helpers/performance/performance-tester.js','start'];a81_0x2990=function(){return _0x34c652;};return a81_0x2990();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a82_0x472ba9=a82_0x5849;(function(_0x4197e5,_0x2e4e9c){const _0xd2c71c=a82_0x5849,_0xe6ebf7=_0x4197e5();while(!![]){try{const _0x3b87ca=parseInt(_0xd2c71c(0x129))/0x1*(-parseInt(_0xd2c71c(0x185))/0x2)+-parseInt(_0xd2c71c(0x196))/0x3+parseInt(_0xd2c71c(0x114))/0x4*(-parseInt(_0xd2c71c(0x18e))/0x5)+-parseInt(_0xd2c71c(0x172))/0x6*(-parseInt(_0xd2c71c(0x1c5))/0x7)+-parseInt(_0xd2c71c(0x1ac))/0x8+-parseInt(_0xd2c71c(0x190))/0x9+parseInt(_0xd2c71c(0x169))/0xa*(parseInt(_0xd2c71c(0x1aa))/0xb);if(_0x3b87ca===_0x2e4e9c)break;else _0xe6ebf7['push'](_0xe6ebf7['shift']());}catch(_0x3fd9de){_0xe6ebf7['push'](_0xe6ebf7['shift']());}}}(a82_0x813d,0xa5173));const util=require(a82_0x472ba9(0x103)),BaseModule=require(a82_0x472ba9(0x158)),{createClassLogger}=require(a82_0x472ba9(0x148)),{getFrameworkVersion}=require('../../../helpers/test-observability/utils'),helper=require(a82_0x472ba9(0x193)),{FRAMEWORKS}=require('../../utils/constants'),AutomationFramework=require(a82_0x472ba9(0x14e)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require(a82_0x472ba9(0x1ab)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a82_0x472ba9(0x180)),CLIUtils=require('../cliUtils.js'),BrowserstackCLI=require(a82_0x472ba9(0x137)),GrpcClient=require(a82_0x472ba9(0x1a3)),PerformanceTester=require(a82_0x472ba9(0x15c)),PerformanceEvents=require(a82_0x472ba9(0x13b))[a82_0x472ba9(0x1a6)],TestInfo=require('../TestInfo.js'),{getPlaywrightProvider}=require(a82_0x472ba9(0x180)),TestFrameworkConstants=require(a82_0x472ba9(0x1c1)),TestFrameworkState=require(a82_0x472ba9(0x111));class PlaywrightDriverModule extends BaseModule{static [a82_0x472ba9(0x128)]=a82_0x472ba9(0x12c);static [a82_0x472ba9(0x157)]=a82_0x472ba9(0x17d);static [a82_0x472ba9(0x113)]=a82_0x472ba9(0x131);static [a82_0x472ba9(0x162)]=a82_0x472ba9(0x12e);static [a82_0x472ba9(0x11d)]=a82_0x472ba9(0x125);static [a82_0x472ba9(0x175)]=a82_0x472ba9(0x11b);static [a82_0x472ba9(0x1c8)]=a82_0x472ba9(0x133);static [a82_0x472ba9(0x1b1)]=a82_0x472ba9(0x13d);static [a82_0x472ba9(0x182)]=a82_0x472ba9(0x19a);[a82_0x472ba9(0x1ae)]=createClassLogger(a82_0x472ba9(0x1b5));constructor(_0x5c8de3=null){const _0x3f6796=a82_0x472ba9,_0xea47bc={};_0xea47bc[_0x3f6796(0x16f)]=_0x3f6796(0x147),_0xea47bc[_0x3f6796(0x119)]=_0x3f6796(0x1b5);const _0x2224ef=_0xea47bc,_0x3fb439=_0x2224ef[_0x3f6796(0x16f)][_0x3f6796(0x1af)]('|');let _0x3b2407=0x0;while(!![]){switch(_0x3fb439[_0x3b2407++]){case'0':super(_0x5c8de3);continue;case'1':AutomationFramework[_0x3f6796(0x144)](AutomationFrameworkState[_0x3f6796(0x14c)],HookState[_0x3f6796(0x1be)],this['onAfterTest'][_0x3f6796(0x117)](this));continue;case'2':this[_0x3f6796(0x1a9)]=null;continue;case'3':AutomationFramework[_0x3f6796(0x144)](AutomationFrameworkState[_0x3f6796(0x171)],HookState[_0x3f6796(0x1be)],this['onAfterDriverCreate']['bind'](this));continue;case'4':this[_0x3f6796(0x19e)]=null;continue;case'5':this['name']=_0x2224ef['EkRWh'];continue;case'6':this[_0x3f6796(0x187)]=null;continue;case'7':this[_0x3f6796(0x1b2)]=[];continue;case'8':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x3f6796(0x171)],HookState[_0x3f6796(0x138)],this[_0x3f6796(0x139)][_0x3f6796(0x117)](this));continue;case'9':this[_0x3f6796(0x1c9)]=null;continue;case'10':AutomationFramework[_0x3f6796(0x144)](AutomationFrameworkState[_0x3f6796(0x1b3)],HookState[_0x3f6796(0x1be)],this['onPlaywrightDispatch'][_0x3f6796(0x117)](this));continue;}break;}}[a82_0x472ba9(0x10f)](){const _0x595e1a=a82_0x472ba9;return PlaywrightDriverModule[_0x595e1a(0x130)];}async[a82_0x472ba9(0x139)](_0x2d8752){const _0x130e0d=a82_0x472ba9,_0x37e24d={};_0x37e24d[_0x130e0d(0x16e)]=_0x130e0d(0x120);const _0x5d30aa=_0x37e24d;try{this[_0x130e0d(0x1ae)][_0x130e0d(0x1c3)](_0x5d30aa[_0x130e0d(0x16e)]);const _0x4fa132=_0x2d8752[_0x130e0d(0x123)],_0x30048c=_0x2d8752[_0x130e0d(0x133)];AutomationFramework[_0x130e0d(0x17f)](_0x2d8752[_0x130e0d(0x13e)],PlaywrightDriverModule[_0x130e0d(0x175)],_0x4fa132),AutomationFramework[_0x130e0d(0x17f)](_0x2d8752[_0x130e0d(0x13e)],PlaywrightDriverModule['KEY_HUB_URL'],_0x30048c);}catch(_0x2af99f){this[_0x130e0d(0x1ae)][_0x130e0d(0x1b9)](_0x130e0d(0x168)+util['format'](_0x2af99f));}}async['onPlaywrightDispatch'](_0xb7de6){const _0x3ab54=a82_0x472ba9,_0x1285b9={};_0x1285b9['mmWXl']=function(_0x39e1fd,_0x297cc8){return _0x39e1fd||_0x297cc8;};const _0x1dace4=_0x1285b9;try{const _0x59ec40=_0xb7de6?.['message']&&_0xb7de6?.[_0x3ab54(0x1b4)]?.[_0x3ab54(0x122)]&&_0xb7de6?.['message']?.[_0x3ab54(0x122)]?.['bsParams'],_0x5e5d48=_0xb7de6?.[_0x3ab54(0x1b4)]&&_0xb7de6?.[_0x3ab54(0x1b4)]?.[_0x3ab54(0x13c)];if(_0x1dace4[_0x3ab54(0x140)](_0x59ec40,_0x5e5d48)){this[_0x3ab54(0x1ae)][_0x3ab54(0x1c3)](_0x3ab54(0x15e)+util[_0x3ab54(0x107)](_0x59ec40)+_0x3ab54(0x146)+util['inspect'](_0x5e5d48));const _0x401d9c=_0xb7de6?.[_0x3ab54(0x13e)],_0x58842a=global?.[_0x3ab54(0x1a7)]?.[_0x3ab54(0x184)]?.[_0x3ab54(0x188)],_0x29a9f2=_0x59ec40?.['sessionId']||_0x5e5d48?.[_0x3ab54(0x12e)],_0x5d96c0=_0x59ec40?.['platformDetails']||_0x5e5d48?.[_0x3ab54(0x13d)];_0x29a9f2&&(this[_0x3ab54(0x1ae)]['debug'](_0x3ab54(0x142)+_0x29a9f2),AutomationFramework['setState'](_0x401d9c,PlaywrightDriverModule[_0x3ab54(0x162)],_0x29a9f2)),_0x58842a&&(this[_0x3ab54(0x1ae)][_0x3ab54(0x1c3)](_0x3ab54(0x194)+util[_0x3ab54(0x107)](_0x58842a)),AutomationFramework[_0x3ab54(0x17f)](_0x401d9c,PlaywrightDriverModule[_0x3ab54(0x11d)],_0x58842a));}}catch(_0x2eeb27){this[_0x3ab54(0x1ae)][_0x3ab54(0x1b9)](_0x3ab54(0x15b)+util[_0x3ab54(0x19c)](_0x2eeb27));}}async[a82_0x472ba9(0x19b)](_0x450e4c){const _0x3cedf2=a82_0x472ba9,_0x261a1f={'PIZNZ':'onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','UmkIE':function(_0x23f065,_0x10c31c){return _0x23f065(_0x10c31c);},'DRgqn':_0x3cedf2(0x134),'yWnlo':_0x3cedf2(0x152),'uUtYf':_0x3cedf2(0x108),'glszj':_0x3cedf2(0x153),'WkWHa':'base64'};try{this['logger'][_0x3cedf2(0x1c3)](_0x261a1f['PIZNZ']);const _0x5009e0=_0x450e4c[_0x3cedf2(0x13e)];this[_0x3cedf2(0x187)]=_0x261a1f[_0x3cedf2(0x155)](getFrameworkVersion,FRAMEWORKS[_0x3cedf2(0x11e)]);if(_0x450e4c[_0x3cedf2(0x132)]){this[_0x3cedf2(0x1ae)][_0x3cedf2(0x1c3)](_0x261a1f['DRgqn']),AutomationFramework[_0x3cedf2(0x17f)](_0x5009e0,PlaywrightDriverModule[_0x3cedf2(0x113)],_0x450e4c[_0x3cedf2(0x132)]);if(_0x450e4c[_0x3cedf2(0x10b)]){this['logger'][_0x3cedf2(0x1c3)](_0x261a1f[_0x3cedf2(0x176)]);const _0x11866=this['getTestId'](_0x450e4c);AutomationFramework[_0x3cedf2(0x17f)](_0x5009e0,PlaywrightDriverModule[_0x3cedf2(0x182)],_0x11866),await this[_0x3cedf2(0x10d)](_0x450e4c[_0x3cedf2(0x10b)]);}}_0x450e4c[_0x3cedf2(0x19f)]&&(this['logger'][_0x3cedf2(0x1c3)](_0x261a1f[_0x3cedf2(0x12a)]),AutomationFramework['setState'](_0x5009e0,PlaywrightDriverModule[_0x3cedf2(0x157)],_0x450e4c[_0x3cedf2(0x19f)]));if(_0x450e4c[_0x3cedf2(0x174)]){this[_0x3cedf2(0x1ae)][_0x3cedf2(0x1c3)](_0x261a1f[_0x3cedf2(0x143)]);const _0xf76bb0=global?.[_0x3cedf2(0x1a7)]?.[_0x3cedf2(0x184)]?.[_0x3cedf2(0x188)];AutomationFramework['setState'](_0x5009e0,PlaywrightDriverModule[_0x3cedf2(0x128)],_0x450e4c[_0x3cedf2(0x174)]),AutomationFramework['setState'](_0x5009e0,PlaywrightDriverModule[_0x3cedf2(0x11d)],_0xf76bb0);const _0x46b76c={};_0x46b76c['isPlaywright']=!![];const _0x346ee7=Buffer['from'](JSON['stringify'](_0x46b76c)['toString'](_0x261a1f[_0x3cedf2(0x165)])),_0x502fa8=await GrpcClient['getInstance']()[_0x3cedf2(0x118)]({'platformIndex':_0xf76bb0,'ref':_0x5009e0[_0x3cedf2(0x198)](),'userInputParams':_0x346ee7});helper[_0x3cedf2(0x16b)](helper['isBrowserstackInfra']())&&AutomationFramework[_0x3cedf2(0x17f)](_0x5009e0,PlaywrightDriverModule[_0x3cedf2(0x175)],JSON[_0x3cedf2(0x1bb)](Buffer['from'](_0x502fa8[_0x3cedf2(0x197)](),_0x261a1f[_0x3cedf2(0x165)])[_0x3cedf2(0x12b)]()));}}catch(_0x458c4b){this[_0x3cedf2(0x1ae)][_0x3cedf2(0x1b9)](_0x3cedf2(0x166)+util[_0x3cedf2(0x19c)](_0x458c4b));}}async['onAfterTest'](_0x4b2de6){const _0x47e5c5=a82_0x472ba9,_0x4af0a4={'awHIu':'Automation\x20onAfterTest:\x20Test\x20completed','NIfxs':_0x47e5c5(0x18d),'XrsMn':function(_0x1859c7,_0xa691e9){return _0x1859c7(_0xa691e9);},'XlmGQ':function(_0x57e1d5,_0x300a76,_0xa314db){return _0x57e1d5(_0x300a76,_0xa314db);},'qMHBa':_0x47e5c5(0x15f),'xyUIq':'message','bBsYR':function(_0x378c70,_0x2503a0){return _0x378c70(_0x2503a0);},'eYLxV':function(_0x3815f5,_0xd87310,_0x3df34c){return _0x3815f5(_0xd87310,_0x3df34c);},'IduVH':_0x47e5c5(0x1b9),'ycQwO':_0x47e5c5(0x1bc),'qXSOQ':function(_0x4f7cf9,_0x23ebd3){return _0x4f7cf9>_0x23ebd3;},'gEYDE':function(_0x46e544,_0x59b707){return _0x46e544||_0x59b707;},'zcAPh':function(_0x38c172,_0x4e6a3f){return _0x38c172===_0x4e6a3f;},'lFKoi':function(_0x5c1b20,_0x418c08){return _0x5c1b20===_0x418c08;},'uTqOK':function(_0x5d2faf,_0x53d32c){return _0x5d2faf+_0x53d32c;},'IAlQm':_0x47e5c5(0x164),'OvFoG':function(_0x45cf2a,_0x4531a3){return _0x45cf2a+_0x4531a3;},'jMNbE':_0x47e5c5(0x11f),'sJpEJ':function(_0x229ef1,_0x34fa75){return _0x229ef1(_0x34fa75);},'jKAdi':_0x47e5c5(0x1c0),'OVxqe':'1.51.0','GQWol':_0x47e5c5(0x1c4),'eyWXO':_0x47e5c5(0x116)};this[_0x47e5c5(0x1ae)][_0x47e5c5(0x1c3)](_0x4af0a4[_0x47e5c5(0x16a)]);const _0x373a33=_0x4b2de6['instance'];if(!_0x373a33){this['logger'][_0x47e5c5(0x1c3)](_0x4af0a4[_0x47e5c5(0x1a2)]);return;}const _0x234273=_0x4b2de6[_0x47e5c5(0x10b)],_0x5d1dbc=this[_0x47e5c5(0x199)](_0x4b2de6),_0x3f558d=_0x234273[_0x47e5c5(0x186)];let _0x14450c;const _0x33d670=_0x4af0a4[_0x47e5c5(0x121)](getPlaywrightStatus,_0x3f558d);let _0x59c887,_0xd19e52=null;if(_0x234273[_0x47e5c5(0x17e)]||_0x234273[_0x47e5c5(0x126)])_0x59c887=_0x4af0a4['XrsMn'](getCucumberSessionName,_0x234273),_0x14450c=_0x4af0a4[_0x47e5c5(0x1a1)](nestedKeyValue,_0x234273,[_0x4af0a4[_0x47e5c5(0x10e)],_0x4af0a4[_0x47e5c5(0x18a)]]);else{_0x59c887=_0x4af0a4[_0x47e5c5(0x110)](getPlaywrightSessionName,_0x234273),_0x14450c=_0x4af0a4['eYLxV'](nestedKeyValue,_0x234273,[_0x4af0a4[_0x47e5c5(0x11a)],_0x4af0a4[_0x47e5c5(0x18a)]]);const _0x35bf20=_0x4af0a4[_0x47e5c5(0x11c)](nestedKeyValue,_0x234273,[_0x4af0a4[_0x47e5c5(0x15d)]]);_0x35bf20&&_0x4af0a4[_0x47e5c5(0x178)](_0x35bf20['length'],0x0)&&(_0xd19e52=_0x35bf20[0x0][_0x47e5c5(0x1b4)]),_0x14450c=_0x4af0a4[_0x47e5c5(0x160)](_0x14450c,_0xd19e52),this['logger']['debug'](_0x47e5c5(0x1a8)+_0x33d670+_0x47e5c5(0x1a0)+_0x14450c);}const _0x4d03a1=_0x4af0a4[_0x47e5c5(0x160)](_0x14450c,_0xd19e52);this[_0x47e5c5(0x1ae)][_0x47e5c5(0x1c3)](_0x47e5c5(0x1a8)+_0x33d670);let _0x50b30e;if(this[_0x47e5c5(0x18f)]&&_0x4af0a4[_0x47e5c5(0x15a)](this[_0x47e5c5(0x18f)][_0x47e5c5(0x1b0)],FRAMEWORKS[_0x47e5c5(0x19d)]))_0x50b30e=_0x5d1dbc;else this['testFrameworkData']&&_0x4af0a4['lFKoi'](this['testFrameworkData'][_0x47e5c5(0x1b0)],FRAMEWORKS['JEST'])?_0x50b30e=_0x5d1dbc:_0x50b30e=TestInfo[_0x47e5c5(0x18c)](_0x234273,_0x234273[_0x47e5c5(0x1b8)]);const _0xadf08b=TestInfo[_0x47e5c5(0x14a)](_0x50b30e),_0x552453=TestInfo[_0x47e5c5(0x16c)](_0x50b30e);this[_0x47e5c5(0x1ae)][_0x47e5c5(0x1a4)](_0x4af0a4[_0x47e5c5(0x12f)](_0x4af0a4[_0x47e5c5(0x151)],_0x5d1dbc)),this['logger']['info'](_0x4af0a4['OvFoG'](_0x4af0a4['jMNbE'],util['inspect'](_0x552453)));const _0x5a0c12=AutomationFramework[_0x47e5c5(0x109)](_0x373a33,PlaywrightDriverModule['KEY_PLATFORM_INDEX']),_0x1198aa=_0x552453[TestFrameworkConstants[_0x47e5c5(0x170)]]||this['testFrameworkData']&&this['testFrameworkData']['name'],_0x4b17ad=_0x552453[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]||this[_0x47e5c5(0x18f)]&&this[_0x47e5c5(0x18f)]['version'],_0x469883=TestFrameworkState['TEST']['toString']()['split']('.')[0x1],_0x593641=HookState[_0x47e5c5(0x1be)][_0x47e5c5(0x12b)]()[_0x47e5c5(0x1af)]('.')[0x1],_0x9bcd70=_0x373a33['getContext'](),_0x1650ec=AutomationFramework[_0x47e5c5(0x109)](_0x373a33,PlaywrightDriverModule['KEY_HUB_URL'],''),_0x4423e0={'provider':_0x4af0a4[_0x47e5c5(0x161)](getPlaywrightProvider,_0x1650ec),'frameworkName':_0x4af0a4[_0x47e5c5(0x16d)],'frameworkVersion':_0x4af0a4[_0x47e5c5(0x135)],'frameworkSessionId':AutomationFramework[_0x47e5c5(0x109)](_0x373a33,PlaywrightDriverModule[_0x47e5c5(0x162)],''),'ref':_0x373a33[_0x47e5c5(0x198)](),'hubUrl':_0x1650ec};let _0x298544=AutomationFramework[_0x47e5c5(0x109)](_0x373a33,PlaywrightDriverModule[_0x47e5c5(0x175)],{});_0x298544&&_0x4af0a4[_0x47e5c5(0x178)](Object['keys'](_0x298544)['length'],0x0)?_0x298544=Buffer[_0x47e5c5(0x156)](JSON[_0x47e5c5(0x1ba)](_0x298544))[_0x47e5c5(0x12b)](_0x4af0a4['GQWol']):_0x298544={};const _0x19cfc3={'hash':_0x9bcd70[_0x47e5c5(0x124)](),'threadId':_0x9bcd70[_0x47e5c5(0x105)]()['toString'](),'processId':_0x9bcd70[_0x47e5c5(0x195)]()[_0x47e5c5(0x12b)]()},_0x5db93a={};_0x5db93a[_0x47e5c5(0x125)]=_0x5a0c12,_0x5db93a['testFrameworkName']=_0x1198aa,_0x5db93a['testFrameworkVersion']=_0x4b17ad,_0x5db93a['testFrameworkState']=_0x469883,_0x5db93a[_0x47e5c5(0x191)]=_0x593641,_0x5db93a['testUuid']=_0xadf08b,_0x5db93a[_0x47e5c5(0x18b)]=_0x4423e0,_0x5db93a[_0x47e5c5(0x11b)]=_0x298544,_0x5db93a[_0x47e5c5(0x13f)]=_0x19cfc3;const _0x90d8dc=_0x5db93a;this[_0x47e5c5(0x1ae)][_0x47e5c5(0x1c3)](_0x47e5c5(0x1a5)+util[_0x47e5c5(0x19c)](_0x90d8dc)),GrpcClient[_0x47e5c5(0x183)]()[_0x47e5c5(0x1ad)](_0x90d8dc),this[_0x47e5c5(0x1ae)][_0x47e5c5(0x1c3)](_0x47e5c5(0x1b7)+_0x5d1dbc);if(!_0x33d670){this[_0x47e5c5(0x1ae)][_0x47e5c5(0x1c3)](_0x4af0a4[_0x47e5c5(0x167)],_0x3f558d['status']);return;}this[_0x47e5c5(0x1ae)][_0x47e5c5(0x1c3)](_0x47e5c5(0x154)+_0x5d1dbc),_0x234273&&(this[_0x47e5c5(0x1ae)][_0x47e5c5(0x1c3)](_0x47e5c5(0x12d)+_0x59c887),await this[_0x47e5c5(0x10d)](_0x234273)),await this[_0x47e5c5(0x14b)](_0x373a33,_0x59c887,_0x33d670,_0x4d03a1);}async[a82_0x472ba9(0x14b)](_0x2846f6,_0x36a7f9,_0x1de23f,_0x74d782){const _0xc0042=a82_0x472ba9,_0x3aca53={'vmWqu':_0xc0042(0x1c2),'yxyrA':_0xc0042(0x127),'vmNZR':_0xc0042(0x115),'SBWGa':_0xc0042(0x116),'Kdsgf':_0xc0042(0x14d),'wYoNG':_0xc0042(0x163),'pLkme':_0xc0042(0x102),'FbOhU':function(_0x2c2e9e,_0x1b5169){return _0x2c2e9e===_0x1b5169;},'XTyLZ':_0xc0042(0x14f),'YPnCu':'info','vfIzr':_0xc0042(0x1b9),'niNxa':function(_0x112ad8,_0xce649e,_0x278576,_0xf52f5b){return _0x112ad8(_0xce649e,_0x278576,_0xf52f5b);},'SjXbA':_0xc0042(0x1c6),'IdWUX':function(_0x2995c8,_0x1f2da7,_0x24aadb){return _0x2995c8(_0x1f2da7,_0x24aadb);}};if(CLIUtils[_0xc0042(0x177)](BrowserstackCLI[_0xc0042(0x183)]()[_0xc0042(0x189)]())){this[_0xc0042(0x1ae)]['debug'](_0x3aca53[_0xc0042(0x141)]);return;}const _0x3c1b58=_0x2846f6;if(!_0x3c1b58){this[_0xc0042(0x1ae)][_0xc0042(0x1c3)](_0x3aca53[_0xc0042(0x1c7)]);return;}const _0x509fd9=AutomationFramework[_0xc0042(0x109)](_0x3c1b58,PlaywrightDriverModule['KEY_PAGE_OBJECT']);if(!_0x509fd9){this['logger'][_0xc0042(0x1c3)](_0x3aca53[_0xc0042(0x150)]);return;}const _0x2cfd72=_0x1de23f;if(!_0x2cfd72){this[_0xc0042(0x1ae)][_0xc0042(0x1c3)](_0x3aca53['SBWGa'],_0x2cfd72);return;}const _0x1ea290={};_0x1ea290[_0xc0042(0x186)]=_0x2cfd72;const _0x27672d={};_0x27672d['action']=_0x3aca53[_0xc0042(0x104)],_0x27672d[_0xc0042(0x145)]=_0x1ea290;const _0x32755e=_0x27672d;_0x74d782&&(_0x32755e[_0xc0042(0x145)][_0x3aca53[_0xc0042(0x106)]]=_0x74d782);const _0x551be8=(_0x36a7f9?_0x36a7f9:_0x3aca53[_0xc0042(0x159)])+'\x20'+_0x2cfd72+'\x20'+(_0x74d782?'with\x20'+_0x74d782:''),_0x2f1511=_0x3aca53[_0xc0042(0x1bf)](_0x2cfd72,_0x3aca53['XTyLZ'])?_0x3aca53[_0xc0042(0x1bd)]:_0x3aca53[_0xc0042(0x181)];await _0x3aca53['niNxa'](playwrightAnnotate,_0x509fd9,_0x551be8,_0x2f1511),_0x74d782&&(_0x32755e[_0xc0042(0x145)][_0x3aca53[_0xc0042(0x106)]]=_0x74d782),PerformanceTester['start'](PerformanceEvents[_0xc0042(0x1ca)]),this['logger']['debug'](_0x3aca53[_0xc0042(0x192)]),await _0x3aca53[_0xc0042(0x173)](playwrightBstackJsExecutor,_0x509fd9,_0x32755e),PerformanceTester[_0xc0042(0x10a)](PerformanceEvents[_0xc0042(0x1ca)]);}async[a82_0x472ba9(0x10d)](_0xb0e00a){const _0x12bd1a=a82_0x472ba9,_0x5a3dc0={'cYYto':_0x12bd1a(0x149),'LIlJQ':function(_0x3f9d30,_0x34def4){return _0x3f9d30(_0x34def4);},'fRMzi':_0x12bd1a(0x17b),'NLQve':function(_0x506ad2,_0x1ca5ef,_0x28baba){return _0x506ad2(_0x1ca5ef,_0x28baba);}};try{if(CLIUtils[_0x12bd1a(0x13a)](BrowserstackCLI[_0x12bd1a(0x183)]()[_0x12bd1a(0x189)]())){this[_0x12bd1a(0x1ae)][_0x12bd1a(0x1c3)](_0x5a3dc0['cYYto']);return;}const _0x3b5eeb=AutomationFramework[_0x12bd1a(0x109)](AutomationFramework[_0x12bd1a(0x101)](),PlaywrightDriverModule[_0x12bd1a(0x113)]);let _0x410cfa;_0xb0e00a[_0x12bd1a(0x17e)]||_0xb0e00a[_0x12bd1a(0x126)]?_0x410cfa=_0x5a3dc0[_0x12bd1a(0x112)](getCucumberSessionName,_0xb0e00a):_0x410cfa=_0x5a3dc0[_0x12bd1a(0x112)](getPlaywrightSessionName,_0xb0e00a);const _0x5b05d4={};_0x5b05d4[_0x12bd1a(0x1b0)]=_0x410cfa;const _0x2f7de0={};_0x2f7de0[_0x12bd1a(0x1b6)]=_0x5a3dc0['fRMzi'],_0x2f7de0['arguments']=_0x5b05d4;const _0x5eb3ec=_0x2f7de0;PerformanceTester[_0x12bd1a(0x17c)](PerformanceEvents[_0x12bd1a(0x136)]),await _0x5a3dc0[_0x12bd1a(0x10c)](playwrightBstackJsExecutor,_0x3b5eeb,_0x5eb3ec),PerformanceTester['end'](PerformanceEvents[_0x12bd1a(0x136)]);}catch(_0x3f50d1){PerformanceTester[_0x12bd1a(0x10a)](PerformanceEvents[_0x12bd1a(0x136)],![],util[_0x12bd1a(0x19c)](_0x3f50d1)),this[_0x12bd1a(0x1ae)]['error'](_0x12bd1a(0x17a)+util[_0x12bd1a(0x19c)](_0x3f50d1));}}}PlaywrightDriverModule['MODULE_NAME']=a82_0x472ba9(0x1b5),module[a82_0x472ba9(0x179)]=PlaywrightDriverModule;function a82_0x5849(_0x56d4c3,_0x3d2908){const _0x813d75=a82_0x813d();return a82_0x5849=function(_0x5849cd,_0x5cdf73){_0x5849cd=_0x5849cd-0x101;let _0x513fdb=_0x813d75[_0x5849cd];return _0x513fdb;},a82_0x5849(_0x56d4c3,_0x3d2908);}function a82_0x813d(){const _0x4f761a=['getTestId','testId','onAfterDriverCreate','format','CUCUMBER','browserVersion','context','\x20failure\x20reason:\x20','XlmGQ','NIfxs','../grpcClient.js','info','onAfterTest\x20CBTSession\x20payload:\x20','AUTOMATE_EVENTS','__workerDetails','Automation\x20onAfterTest:\x20Test\x20status:\x20','browserName','52740039AjVGJN','../state/hookState.js','9053328MzBrim','testSessionEvent','logger','split','name','KEY_PLATFORM_DETAILS','platforms','PLAYWRIGHT_DISPATCH','message','PlaywrightDriverModule','action','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','retry','error','stringify','parse','errors','YPnCu','POST','FbOhU','Playwright','../framework/constants/testFrameworkConstants.js','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','debug','base64','1836184zmVJPJ','markSessionStatus:\x20Marking\x20session\x20status','yxyrA','KEY_HUB_URL','testRunId','SESSION_STATUS','getTrackedInstance','Session','util','Kdsgf','getThreadId','wYoNG','inspect','onAfterDriverCreate:\x20Setting\x20context\x20object','getState','end','testInfo','NLQve','markSessionName','qMHBa','getModuleName','bBsYR','../state/testFrameworkState','LIlJQ','KEY_PAGE_OBJECT','5272940kiqnFl','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','bind','driverInit','EkRWh','IduVH','capabilities','eYLxV','KEY_PLATFORM_INDEX','PLAYWRIGHT','testData\x20from\x20onAfterTest:\x20','onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','XrsMn','params','launchcaps','getId','platformIndex','gherkinDocument','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','KEY_BROWSER_OBJECT','9011WzatAE','uUtYf','toString','browserObject','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20','sessionId','uTqOK','MODULE_NAME','pageObject','page','hubUrl','onAfterDriverCreate:\x20Setting\x20page\x20object','OVxqe','SESSION_NAME','../browserstackCLI.js','PRE','onBeforeDriverCreate','shouldSkipSessionName','../../../helpers/performance/constants.js','bStackParams','platformDetails','instance','executionContext','mmWXl','vmWqu','onDispatchExecute:\x20Playwright\x20sessionId:\x20','glszj','registerObserver','arguments','\x20||\x20','0|5|6|2|4|7|9|8|3|10|1','../../../helpers/classLogger.js','markSessionName:\x20Skipping\x20session\x20name\x20marking','getTestUUID','markSessionStatus','EXECUTE','setSessionStatus','../framework/automationFramework.js','passed','vmNZR','IAlQm','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','onAfterDriverCreate:\x20Setting\x20browser\x20object','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20','UmkIE','from','KEY_CONTEXT_OBJECT','./baseModule','pLkme','zcAPh','Error\x20in\x20onDispatchExecute:\x20','../../../helpers/performance/performance-tester.js','ycQwO','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','result','gEYDE','sJpEJ','KEY_SESSION_ID','reason','testId:\x20','WkWHa','Error\x20in\x20onAfterDriverCreate:\x20','eyWXO','Error\x20in\x20onBeforeDriverCreate:\x20','10gQVLuc','awHIu','isFalse','getTestDetails','jKAdi','xTCTX','GLpuf','KEY_TEST_FRAMEWORK_NAME','CREATE','6pMwIsY','IdWUX','browser','KEY_CAPABILITIES','yWnlo','shouldSkipSessionStatus','qXSOQ','exports','Error\x20in\x20markSessionName:\x20','setSessionName','start','contextObject','pickle','setState','../../../helpers/helper.js','vfIzr','KEY_TEST_ID','getInstance','workerInfo','190Mtcxsp','status','playwrightVersion','parallelIndex','getConfig','xyUIq','automationSession','getTestIdentifierFromTestInfo','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','5fimJId','testFrameworkData','4422582bjRaAK','testHookState','SjXbA','../../../helpers/helper','onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','getProcessId','1749918AsQKtm','getCapabilities','getRef'];a82_0x813d=function(){return _0x4f761a;};return a82_0x813d();}
|
|
1
|
+
function a82_0xe706(){const _0x3ff86b=['NejBK','Error\x20in\x20onDispatchExecute:\x20','logger','getModuleName','parallelIndex','testFrameworkVersion','../state/testFrameworkState','getState','onDispatchExecute:\x20Playwright\x20sessionId:\x20','pageObject','name','markSessionStatus','errors','MODULE_NAME','560874HVbcvD','Aymho','DRKMX','irvMJ','onAfterTest\x20CBTSession\x20payload:\x20','32EpKrrW','qGpLy','getTestId','onPlaywrightDispatch','testInfo','SESSION_NAME','../cliUtils.js','KEY_HUB_URL','../../../helpers/performance/performance-tester.js','../grpcClient.js','keys','CUCUMBER','POST','../state/hookState.js','KEY_PLATFORM_DETAILS','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','Session','gherkinDocument','debug','testSessionEvent','4069266OqDoFN','MhkCn','KEY_CONTEXT_OBJECT','testData\x20from\x20onAfterTest:\x20','result','automationSession','anOkb','KMQHx','setState','../../../helpers/classLogger.js','getTestIdentifierFromTestInfo','KEY_PLATFORM_INDEX','length','context','split','5NqtzxF','isFalse','FQpcU','onBeforeDriverCreate','setSessionStatus','instance','inspect','CREATE','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','driverInit','playwrightVersion','isBrowserstackInfra','SESSION_STATUS','from','info','ohtNz','srNDv','KEY_SESSION_ID','getProcessId','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','lJkQY','bStackParams','registerObserver','onAfterTest','platformIndex','getTestUUID','FTURY','33aETnBJ','bsParams','reason','1549242DFObeC','\x20failure\x20reason:\x20','getTestDetails','browserName','testFrameworkName','bind','__workerDetails','getInstance','./baseModule','LXcwy','kuIFl','3291430TFzMwg','markSessionName','testId:\x20','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','hubUrl','format','getId','JEST','1naqEZK','markSessionStatus:\x20Marking\x20session\x20status','ZELlO','testRunId','toString','browser','onAfterDriverCreate:\x20Setting\x20context\x20object','hqTce','page','sxHAS','setSessionName','../../../helpers/helper.js','retry','end','onAfterDriverCreate:\x20Setting\x20browser\x20object','markSessionName:\x20Skipping\x20session\x20name\x20marking','KEY_BROWSER_OBJECT','EXECUTE','gqOwA','PlaywrightDriverModule','668689WLXBPx','KEY_CAPABILITIES','error','action','lhNTB','zdmAf','arguments','KEY_TEST_ID','base64','UXjGI','onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','aNRfu','onAfterDriverCreate:\x20Setting\x20page\x20object','MwYgZ','shouldSkipSessionName','start','guuhP','parse','getContext','message','contextObject','OwoVv','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','QBlwT','IYIiQ','sessionId','params','\x20||\x20','FTNPY','util','capabilities','../TestInfo.js','../state/automationFrameworkState.js','9|3|6|8|2|4|7|1|0|10|5','mtalk','rdmLX','getConfig','HTsyG','../../../helpers/performance/constants.js','../framework/constants/testFrameworkConstants.js','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20','fECzf','2098372KCyYYY','stringify','XsFNs','KEY_PAGE_OBJECT','Automation\x20onAfterTest:\x20Test\x20status:\x20','onAfterDriverCreate','testFrameworkData','../../utils/constants','ecbop','shouldSkipSessionStatus','HjPgC','platformDetails','Error\x20in\x20onBeforeDriverCreate:\x20','5649111PvfskD','WXSSq','version','PRE','testHookState','getRef','mTKqF','YghwN','Error\x20in\x20markSessionName:\x20','HtkAi','testUuid','status','Opuec','pickle'];a82_0xe706=function(){return _0x3ff86b;};return a82_0xe706();}const a82_0x201220=a82_0x384e;(function(_0x27a899,_0x181e4b){const _0x4e9379=a82_0x384e,_0xbc20dd=_0x27a899();while(!![]){try{const _0x2cfb1c=-parseInt(_0x4e9379(0x276))/0x1*(parseInt(_0x4e9379(0x21d))/0x2)+-parseInt(_0x4e9379(0x263))/0x3+parseInt(_0x4e9379(0x1f4))/0x4*(-parseInt(_0x4e9379(0x245))/0x5)+parseInt(_0x4e9379(0x236))/0x6+parseInt(_0x4e9379(0x28a))/0x7*(-parseInt(_0x4e9379(0x222))/0x8)+parseInt(_0x4e9379(0x201))/0x9+parseInt(_0x4e9379(0x26e))/0xa*(parseInt(_0x4e9379(0x260))/0xb);if(_0x2cfb1c===_0x181e4b)break;else _0xbc20dd['push'](_0xbc20dd['shift']());}catch(_0x1dcd7c){_0xbc20dd['push'](_0xbc20dd['shift']());}}}(a82_0xe706,0x8ffc7));function a82_0x384e(_0x3a498f,_0x160130){const _0xe7062b=a82_0xe706();return a82_0x384e=function(_0x384e50,_0x13d5b7){_0x384e50=_0x384e50-0x1db;let _0x343e6f=_0xe7062b[_0x384e50];return _0x343e6f;},a82_0x384e(_0x3a498f,_0x160130);}const util=require(a82_0x201220(0x1e7)),BaseModule=require(a82_0x201220(0x26b)),{createClassLogger}=require(a82_0x201220(0x23f)),{getFrameworkVersion}=require('../../../helpers/test-observability/utils'),helper=require('../../../helpers/helper'),{FRAMEWORKS}=require(a82_0x201220(0x1fb)),AutomationFramework=require('../framework/automationFramework.js'),AutomationFrameworkState=require(a82_0x201220(0x1ea)),HookState=require(a82_0x201220(0x22f)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a82_0x201220(0x281)),CLIUtils=require(a82_0x201220(0x228)),BrowserstackCLI=require('../browserstackCLI.js'),GrpcClient=require(a82_0x201220(0x22b)),PerformanceTester=require(a82_0x201220(0x22a)),PerformanceEvents=require(a82_0x201220(0x1f0))['AUTOMATE_EVENTS'],TestInfo=require(a82_0x201220(0x1e9)),{getPlaywrightProvider}=require(a82_0x201220(0x281)),TestFrameworkConstants=require(a82_0x201220(0x1f1)),TestFrameworkState=require(a82_0x201220(0x215));class PlaywrightDriverModule extends BaseModule{static [a82_0x201220(0x286)]='browserObject';static [a82_0x201220(0x238)]=a82_0x201220(0x1de);static [a82_0x201220(0x1f7)]=a82_0x201220(0x218);static ['KEY_SESSION_ID']=a82_0x201220(0x1e3);static [a82_0x201220(0x241)]=a82_0x201220(0x25d);static ['KEY_CAPABILITIES']=a82_0x201220(0x1e8);static [a82_0x201220(0x229)]=a82_0x201220(0x272);static [a82_0x201220(0x230)]=a82_0x201220(0x1ff);static ['KEY_TEST_ID']='testId';[a82_0x201220(0x211)]=createClassLogger(a82_0x201220(0x289));constructor(_0x3ddc99=null){const _0x2ced0e=a82_0x201220,_0x251fb1={};_0x251fb1[_0x2ced0e(0x21f)]=_0x2ced0e(0x1eb),_0x251fb1[_0x2ced0e(0x1fc)]='PlaywrightDriverModule';const _0x1f7b32=_0x251fb1,_0x437ee1=_0x1f7b32['DRKMX'][_0x2ced0e(0x244)]('|');let _0x36c340=0x0;while(!![]){switch(_0x437ee1[_0x36c340++]){case'0':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x2ced0e(0x24c)],HookState[_0x2ced0e(0x22e)],this['onAfterDriverCreate'][_0x2ced0e(0x268)](this));continue;case'1':AutomationFramework[_0x2ced0e(0x25b)](AutomationFrameworkState[_0x2ced0e(0x24c)],HookState[_0x2ced0e(0x204)],this[_0x2ced0e(0x248)]['bind'](this));continue;case'2':this['browserVersion']=null;continue;case'3':this[_0x2ced0e(0x219)]=_0x1f7b32[_0x2ced0e(0x1fc)];continue;case'4':this['platforms']=[];continue;case'5':AutomationFramework[_0x2ced0e(0x25b)](AutomationFrameworkState[_0x2ced0e(0x287)],HookState['POST'],this[_0x2ced0e(0x25c)][_0x2ced0e(0x268)](this));continue;case'6':this['playwrightVersion']=null;continue;case'7':this[_0x2ced0e(0x279)]=null;continue;case'8':this[_0x2ced0e(0x266)]=null;continue;case'9':super(_0x3ddc99);continue;case'10':AutomationFramework[_0x2ced0e(0x25b)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x2ced0e(0x22e)],this[_0x2ced0e(0x225)][_0x2ced0e(0x268)](this));continue;}break;}}[a82_0x201220(0x212)](){const _0x2893cb=a82_0x201220;return PlaywrightDriverModule[_0x2893cb(0x21c)];}async[a82_0x201220(0x248)](_0x275832){const _0x10e836=a82_0x201220,_0x3bea9c={};_0x3bea9c[_0x10e836(0x28f)]='onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created';const _0x447554=_0x3bea9c;try{this['logger'][_0x10e836(0x234)](_0x447554[_0x10e836(0x28f)]);const _0x1d7254=_0x275832['launchcaps'],_0x5c8d93=_0x275832['hubUrl'];AutomationFramework[_0x10e836(0x23e)](_0x275832[_0x10e836(0x24a)],PlaywrightDriverModule['KEY_CAPABILITIES'],_0x1d7254),AutomationFramework[_0x10e836(0x23e)](_0x275832[_0x10e836(0x24a)],PlaywrightDriverModule['KEY_HUB_URL'],_0x5c8d93);}catch(_0x59ae8f){this[_0x10e836(0x211)][_0x10e836(0x28c)](_0x10e836(0x200)+util[_0x10e836(0x273)](_0x59ae8f));}}async['onPlaywrightDispatch'](_0x494295){const _0x1a58ca=a82_0x201220,_0x2f2ba0={};_0x2f2ba0[_0x1a58ca(0x208)]=function(_0xa50dfd,_0x5ca8cf){return _0xa50dfd||_0x5ca8cf;};const _0x491f17=_0x2f2ba0;try{const _0x26a0af=_0x494295?.[_0x1a58ca(0x1dd)]&&_0x494295?.[_0x1a58ca(0x1dd)]?.[_0x1a58ca(0x1e4)]&&_0x494295?.[_0x1a58ca(0x1dd)]?.[_0x1a58ca(0x1e4)]?.[_0x1a58ca(0x261)],_0x320b34=_0x494295?.['message']&&_0x494295?.[_0x1a58ca(0x1dd)]?.[_0x1a58ca(0x25a)];if(_0x491f17[_0x1a58ca(0x208)](_0x26a0af,_0x320b34)){this[_0x1a58ca(0x211)][_0x1a58ca(0x234)]('onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20'+util['inspect'](_0x26a0af)+_0x1a58ca(0x1e5)+util[_0x1a58ca(0x24b)](_0x320b34));const _0xf7d8ed=_0x494295?.['instance'],_0x1081b4=global?.['__workerDetails']?.['workerInfo']?.[_0x1a58ca(0x213)],_0x48ef2d=_0x26a0af?.[_0x1a58ca(0x1e3)]||_0x320b34?.[_0x1a58ca(0x1e3)],_0x40148d=_0x26a0af?.[_0x1a58ca(0x1ff)]||_0x320b34?.[_0x1a58ca(0x1ff)];_0x48ef2d&&(this[_0x1a58ca(0x211)][_0x1a58ca(0x234)](_0x1a58ca(0x217)+_0x48ef2d),AutomationFramework[_0x1a58ca(0x23e)](_0xf7d8ed,PlaywrightDriverModule[_0x1a58ca(0x256)],_0x48ef2d)),_0x1081b4&&(this[_0x1a58ca(0x211)][_0x1a58ca(0x234)]('onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20'+util[_0x1a58ca(0x24b)](_0x1081b4)),AutomationFramework['setState'](_0xf7d8ed,PlaywrightDriverModule[_0x1a58ca(0x241)],_0x1081b4));}}catch(_0xd85900){this[_0x1a58ca(0x211)][_0x1a58ca(0x28c)](_0x1a58ca(0x210)+util[_0x1a58ca(0x273)](_0xd85900));}}async[a82_0x201220(0x1f9)](_0x4949ff){const _0x1f82ac=a82_0x201220,_0x7243d2={'lJkQY':_0x1f82ac(0x294),'NejBK':function(_0x4729f3,_0x3cd5c0){return _0x4729f3(_0x3cd5c0);},'irvMJ':_0x1f82ac(0x296),'gqOwA':_0x1f82ac(0x271),'HTsyG':_0x1f82ac(0x27c),'MwYgZ':_0x1f82ac(0x284),'qGpLy':_0x1f82ac(0x292)};try{this['logger'][_0x1f82ac(0x234)](_0x7243d2[_0x1f82ac(0x259)]);const _0x32816f=_0x4949ff[_0x1f82ac(0x24a)];this[_0x1f82ac(0x24f)]=_0x7243d2[_0x1f82ac(0x20f)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x4949ff[_0x1f82ac(0x27e)]){this['logger'][_0x1f82ac(0x234)](_0x7243d2[_0x1f82ac(0x220)]),AutomationFramework[_0x1f82ac(0x23e)](_0x32816f,PlaywrightDriverModule[_0x1f82ac(0x1f7)],_0x4949ff[_0x1f82ac(0x27e)]);if(_0x4949ff['testInfo']){this[_0x1f82ac(0x211)]['debug'](_0x7243d2[_0x1f82ac(0x288)]);const _0x870843=this['getTestId'](_0x4949ff);AutomationFramework['setState'](_0x32816f,PlaywrightDriverModule[_0x1f82ac(0x291)],_0x870843),await this['markSessionName'](_0x4949ff[_0x1f82ac(0x226)]);}}_0x4949ff[_0x1f82ac(0x243)]&&(this[_0x1f82ac(0x211)][_0x1f82ac(0x234)](_0x7243d2[_0x1f82ac(0x1ef)]),AutomationFramework['setState'](_0x32816f,PlaywrightDriverModule[_0x1f82ac(0x238)],_0x4949ff[_0x1f82ac(0x243)]));if(_0x4949ff[_0x1f82ac(0x27b)]){this[_0x1f82ac(0x211)]['debug'](_0x7243d2[_0x1f82ac(0x297)]);const _0x1f3c54=global?.[_0x1f82ac(0x269)]?.['workerInfo']?.[_0x1f82ac(0x213)];AutomationFramework[_0x1f82ac(0x23e)](_0x32816f,PlaywrightDriverModule[_0x1f82ac(0x286)],_0x4949ff[_0x1f82ac(0x27b)]),AutomationFramework[_0x1f82ac(0x23e)](_0x32816f,PlaywrightDriverModule[_0x1f82ac(0x241)],_0x1f3c54);const _0x59d833={};_0x59d833['isPlaywright']=!![];const _0x567eca=Buffer[_0x1f82ac(0x252)](JSON[_0x1f82ac(0x1f5)](_0x59d833)[_0x1f82ac(0x27a)](_0x7243d2[_0x1f82ac(0x223)])),_0x393db6=await GrpcClient[_0x1f82ac(0x26a)]()[_0x1f82ac(0x24e)]({'platformIndex':_0x1f3c54,'ref':_0x32816f[_0x1f82ac(0x206)](),'userInputParams':_0x567eca});helper[_0x1f82ac(0x246)](helper[_0x1f82ac(0x250)]())&&AutomationFramework['setState'](_0x32816f,PlaywrightDriverModule[_0x1f82ac(0x28b)],JSON[_0x1f82ac(0x1db)](Buffer['from'](_0x393db6['getCapabilities'](),_0x7243d2['qGpLy'])[_0x1f82ac(0x27a)]()));}}catch(_0x497974){this['logger'][_0x1f82ac(0x28c)]('Error\x20in\x20onAfterDriverCreate:\x20'+util[_0x1f82ac(0x273)](_0x497974));}}async[a82_0x201220(0x25c)](_0x45e4e8){const _0x3f9fe5=a82_0x201220,_0x5e5a9a={'VCxcC':'Automation\x20onAfterTest:\x20Test\x20completed','ohtNz':'Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','OwoVv':function(_0x42bbec,_0x571627){return _0x42bbec(_0x571627);},'FQpcU':function(_0x744be1,_0x3c255e,_0x40e00f){return _0x744be1(_0x3c255e,_0x40e00f);},'UXjGI':_0x3f9fe5(0x23a),'aNRfu':_0x3f9fe5(0x1dd),'QBlwT':function(_0x50880d,_0x4725f7){return _0x50880d(_0x4725f7);},'vJpWY':_0x3f9fe5(0x28c),'fECzf':_0x3f9fe5(0x21b),'Opuec':function(_0x3f630e,_0x9d68a3){return _0x3f630e>_0x9d68a3;},'FTNPY':function(_0x6c1c19,_0x189fd7){return _0x6c1c19||_0x189fd7;},'mtalk':function(_0xc80507,_0x169d13){return _0xc80507===_0x169d13;},'hqTce':function(_0x469402,_0x183704){return _0x469402+_0x183704;},'lhNTB':_0x3f9fe5(0x270),'LXcwy':_0x3f9fe5(0x239),'ZibkI':function(_0x1bdcba,_0x5e45bb){return _0x1bdcba(_0x5e45bb);},'srNDv':'Playwright','mTKqF':'1.51.0','mCZSn':function(_0x30bba7,_0x4a7099){return _0x30bba7>_0x4a7099;},'zqRyJ':_0x3f9fe5(0x292),'Aymho':_0x3f9fe5(0x231)};this[_0x3f9fe5(0x211)][_0x3f9fe5(0x234)](_0x5e5a9a['VCxcC']);const _0x12246d=_0x45e4e8[_0x3f9fe5(0x24a)];if(!_0x12246d){this['logger'][_0x3f9fe5(0x234)](_0x5e5a9a[_0x3f9fe5(0x254)]);return;}const _0x1d9574=_0x45e4e8[_0x3f9fe5(0x226)],_0x113a64=this[_0x3f9fe5(0x224)](_0x45e4e8),_0x1b2f11=_0x1d9574[_0x3f9fe5(0x20c)];let _0x328384;const _0xd4c375=_0x5e5a9a[_0x3f9fe5(0x1df)](getPlaywrightStatus,_0x1b2f11);let _0xe7589d,_0x1b4741=null;if(_0x1d9574[_0x3f9fe5(0x20e)]||_0x1d9574['gherkinDocument'])_0xe7589d=_0x5e5a9a[_0x3f9fe5(0x1df)](getCucumberSessionName,_0x1d9574),_0x328384=_0x5e5a9a[_0x3f9fe5(0x247)](nestedKeyValue,_0x1d9574,[_0x5e5a9a[_0x3f9fe5(0x293)],_0x5e5a9a[_0x3f9fe5(0x295)]]);else{_0xe7589d=_0x5e5a9a[_0x3f9fe5(0x1e1)](getPlaywrightSessionName,_0x1d9574),_0x328384=_0x5e5a9a[_0x3f9fe5(0x247)](nestedKeyValue,_0x1d9574,[_0x5e5a9a['vJpWY'],_0x5e5a9a[_0x3f9fe5(0x295)]]);const _0xa36a71=_0x5e5a9a['FQpcU'](nestedKeyValue,_0x1d9574,[_0x5e5a9a[_0x3f9fe5(0x1f3)]]);_0xa36a71&&_0x5e5a9a[_0x3f9fe5(0x20d)](_0xa36a71[_0x3f9fe5(0x242)],0x0)&&(_0x1b4741=_0xa36a71[0x0][_0x3f9fe5(0x1dd)]),_0x328384=_0x5e5a9a[_0x3f9fe5(0x1e6)](_0x328384,_0x1b4741),this[_0x3f9fe5(0x211)]['debug'](_0x3f9fe5(0x1f8)+_0xd4c375+_0x3f9fe5(0x264)+_0x328384);}const _0x36439f=_0x5e5a9a[_0x3f9fe5(0x1e6)](_0x328384,_0x1b4741);this[_0x3f9fe5(0x211)][_0x3f9fe5(0x234)](_0x3f9fe5(0x1f8)+_0xd4c375);let _0x5a0563;if(this[_0x3f9fe5(0x1fa)]&&_0x5e5a9a['mtalk'](this[_0x3f9fe5(0x1fa)][_0x3f9fe5(0x219)],FRAMEWORKS[_0x3f9fe5(0x22d)]))_0x5a0563=_0x113a64;else this[_0x3f9fe5(0x1fa)]&&_0x5e5a9a[_0x3f9fe5(0x1ec)](this[_0x3f9fe5(0x1fa)][_0x3f9fe5(0x219)],FRAMEWORKS[_0x3f9fe5(0x275)])?_0x5a0563=_0x113a64:_0x5a0563=TestInfo[_0x3f9fe5(0x240)](_0x1d9574,_0x1d9574[_0x3f9fe5(0x282)]);const _0x44e72d=TestInfo[_0x3f9fe5(0x25e)](_0x5a0563),_0x424b81=TestInfo[_0x3f9fe5(0x265)](_0x5a0563);this[_0x3f9fe5(0x211)][_0x3f9fe5(0x253)](_0x5e5a9a['hqTce'](_0x5e5a9a[_0x3f9fe5(0x28e)],_0x113a64)),this[_0x3f9fe5(0x211)][_0x3f9fe5(0x253)](_0x5e5a9a[_0x3f9fe5(0x27d)](_0x5e5a9a[_0x3f9fe5(0x26c)],util[_0x3f9fe5(0x24b)](_0x424b81)));const _0x288478=AutomationFramework[_0x3f9fe5(0x216)](_0x12246d,PlaywrightDriverModule[_0x3f9fe5(0x241)]),_0x42a494=_0x424b81[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]||this[_0x3f9fe5(0x1fa)]&&this['testFrameworkData'][_0x3f9fe5(0x219)],_0x5984ba=_0x424b81[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]||this[_0x3f9fe5(0x1fa)]&&this[_0x3f9fe5(0x1fa)][_0x3f9fe5(0x203)],_0x4b5209=TestFrameworkState['TEST'][_0x3f9fe5(0x27a)]()['split']('.')[0x1],_0x220725=HookState[_0x3f9fe5(0x22e)]['toString']()['split']('.')[0x1],_0x1ea127=_0x12246d[_0x3f9fe5(0x1dc)](),_0x5871b8=AutomationFramework[_0x3f9fe5(0x216)](_0x12246d,PlaywrightDriverModule[_0x3f9fe5(0x229)],''),_0x3803c9={'provider':_0x5e5a9a['ZibkI'](getPlaywrightProvider,_0x5871b8),'frameworkName':_0x5e5a9a[_0x3f9fe5(0x255)],'frameworkVersion':_0x5e5a9a[_0x3f9fe5(0x207)],'frameworkSessionId':AutomationFramework[_0x3f9fe5(0x216)](_0x12246d,PlaywrightDriverModule[_0x3f9fe5(0x256)],''),'ref':_0x12246d[_0x3f9fe5(0x206)](),'hubUrl':_0x5871b8};let _0x4d4c45=AutomationFramework['getState'](_0x12246d,PlaywrightDriverModule[_0x3f9fe5(0x28b)],{});_0x4d4c45&&_0x5e5a9a['mCZSn'](Object[_0x3f9fe5(0x22c)](_0x4d4c45)[_0x3f9fe5(0x242)],0x0)?_0x4d4c45=Buffer[_0x3f9fe5(0x252)](JSON[_0x3f9fe5(0x1f5)](_0x4d4c45))[_0x3f9fe5(0x27a)](_0x5e5a9a['zqRyJ']):_0x4d4c45={};const _0x26337f={'hash':_0x1ea127[_0x3f9fe5(0x274)](),'threadId':_0x1ea127['getThreadId']()[_0x3f9fe5(0x27a)](),'processId':_0x1ea127[_0x3f9fe5(0x257)]()['toString']()},_0x184d2b={};_0x184d2b['platformIndex']=_0x288478,_0x184d2b[_0x3f9fe5(0x267)]=_0x42a494,_0x184d2b[_0x3f9fe5(0x214)]=_0x5984ba,_0x184d2b['testFrameworkState']=_0x4b5209,_0x184d2b[_0x3f9fe5(0x205)]=_0x220725,_0x184d2b[_0x3f9fe5(0x20b)]=_0x44e72d,_0x184d2b[_0x3f9fe5(0x23b)]=_0x3803c9,_0x184d2b[_0x3f9fe5(0x1e8)]=_0x4d4c45,_0x184d2b['executionContext']=_0x26337f;const _0x401ff3=_0x184d2b;this[_0x3f9fe5(0x211)][_0x3f9fe5(0x234)](_0x3f9fe5(0x221)+util['format'](_0x401ff3)),GrpcClient[_0x3f9fe5(0x26a)]()[_0x3f9fe5(0x235)](_0x401ff3),this[_0x3f9fe5(0x211)][_0x3f9fe5(0x234)](_0x3f9fe5(0x1e0)+_0x113a64);if(!_0xd4c375){this['logger'][_0x3f9fe5(0x234)](_0x5e5a9a[_0x3f9fe5(0x21e)],_0x1b2f11['status']);return;}this[_0x3f9fe5(0x211)][_0x3f9fe5(0x234)]('Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20'+_0x113a64),_0x1d9574&&(this['logger'][_0x3f9fe5(0x234)](_0x3f9fe5(0x1f2)+_0xe7589d),await this[_0x3f9fe5(0x26f)](_0x1d9574)),await this[_0x3f9fe5(0x21a)](_0x12246d,_0xe7589d,_0xd4c375,_0x36439f);}async['markSessionStatus'](_0x290595,_0x256107,_0x5d0667,_0x3f1fed){const _0x4b5a8e=a82_0x201220,_0x4c6c20={'XsFNs':_0x4b5a8e(0x24d),'anOkb':_0x4b5a8e(0x258),'rdmLX':'markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','MhkCn':_0x4b5a8e(0x231),'HMEIK':_0x4b5a8e(0x249),'kuIFl':_0x4b5a8e(0x262),'ZELlO':_0x4b5a8e(0x232),'FTURY':function(_0x447274,_0x184731){return _0x447274===_0x184731;},'phOID':'passed','JiWto':_0x4b5a8e(0x253),'IYIiQ':_0x4b5a8e(0x28c),'gOKMQ':function(_0x2fd1d1,_0x2fd1f5,_0x3b930b,_0x3de201){return _0x2fd1d1(_0x2fd1f5,_0x3b930b,_0x3de201);},'sxHAS':_0x4b5a8e(0x277),'guuhP':function(_0x46d987,_0x2ce2f9,_0x3aea5d){return _0x46d987(_0x2ce2f9,_0x3aea5d);}};if(CLIUtils[_0x4b5a8e(0x1fd)](BrowserstackCLI[_0x4b5a8e(0x26a)]()[_0x4b5a8e(0x1ee)]())){this[_0x4b5a8e(0x211)][_0x4b5a8e(0x234)](_0x4c6c20[_0x4b5a8e(0x1f6)]);return;}const _0x24eea5=_0x290595;if(!_0x24eea5){this[_0x4b5a8e(0x211)][_0x4b5a8e(0x234)](_0x4c6c20[_0x4b5a8e(0x23c)]);return;}const _0x553b08=AutomationFramework[_0x4b5a8e(0x216)](_0x24eea5,PlaywrightDriverModule[_0x4b5a8e(0x1f7)]);if(!_0x553b08){this['logger'][_0x4b5a8e(0x234)](_0x4c6c20[_0x4b5a8e(0x1ed)]);return;}const _0x5607cd=_0x5d0667;if(!_0x5607cd){this[_0x4b5a8e(0x211)]['debug'](_0x4c6c20[_0x4b5a8e(0x237)],_0x5607cd);return;}const _0x93a482={};_0x93a482[_0x4b5a8e(0x20c)]=_0x5607cd;const _0xc4de8b={};_0xc4de8b[_0x4b5a8e(0x28d)]=_0x4c6c20['HMEIK'],_0xc4de8b[_0x4b5a8e(0x290)]=_0x93a482;const _0x5a54f6=_0xc4de8b;_0x3f1fed&&(_0x5a54f6[_0x4b5a8e(0x290)][_0x4c6c20[_0x4b5a8e(0x26d)]]=_0x3f1fed);const _0xda7ea8=(_0x256107?_0x256107:_0x4c6c20[_0x4b5a8e(0x278)])+'\x20'+_0x5607cd+'\x20'+(_0x3f1fed?'with\x20'+_0x3f1fed:''),_0x2d26f6=_0x4c6c20[_0x4b5a8e(0x25f)](_0x5607cd,_0x4c6c20['phOID'])?_0x4c6c20['JiWto']:_0x4c6c20[_0x4b5a8e(0x1e2)];await _0x4c6c20['gOKMQ'](playwrightAnnotate,_0x553b08,_0xda7ea8,_0x2d26f6),_0x3f1fed&&(_0x5a54f6[_0x4b5a8e(0x290)][_0x4c6c20['kuIFl']]=_0x3f1fed),PerformanceTester['start'](PerformanceEvents[_0x4b5a8e(0x251)]),this['logger']['debug'](_0x4c6c20[_0x4b5a8e(0x27f)]),await _0x4c6c20[_0x4b5a8e(0x29a)](playwrightBstackJsExecutor,_0x553b08,_0x5a54f6),PerformanceTester[_0x4b5a8e(0x283)](PerformanceEvents[_0x4b5a8e(0x251)]);}async[a82_0x201220(0x26f)](_0x3be825){const _0x14ba66=a82_0x201220,_0x283aa6={'WXSSq':_0x14ba66(0x285),'KMQHx':function(_0x73836b,_0x3dca68){return _0x73836b(_0x3dca68);},'HjPgC':_0x14ba66(0x280),'HtkAi':function(_0x3995a4,_0x592e10,_0x38c406){return _0x3995a4(_0x592e10,_0x38c406);}};try{if(CLIUtils[_0x14ba66(0x298)](BrowserstackCLI['getInstance']()[_0x14ba66(0x1ee)]())){this[_0x14ba66(0x211)][_0x14ba66(0x234)](_0x283aa6[_0x14ba66(0x202)]);return;}const _0x5557d1=AutomationFramework['getState'](AutomationFramework['getTrackedInstance'](),PlaywrightDriverModule[_0x14ba66(0x1f7)]);let _0x56b2ee;_0x3be825['pickle']||_0x3be825[_0x14ba66(0x233)]?_0x56b2ee=_0x283aa6[_0x14ba66(0x23d)](getCucumberSessionName,_0x3be825):_0x56b2ee=_0x283aa6[_0x14ba66(0x23d)](getPlaywrightSessionName,_0x3be825);const _0x2e83ae={};_0x2e83ae[_0x14ba66(0x219)]=_0x56b2ee;const _0x5bde4e={};_0x5bde4e[_0x14ba66(0x28d)]=_0x283aa6[_0x14ba66(0x1fe)],_0x5bde4e[_0x14ba66(0x290)]=_0x2e83ae;const _0x10b07a=_0x5bde4e;PerformanceTester[_0x14ba66(0x299)](PerformanceEvents[_0x14ba66(0x227)]),await _0x283aa6[_0x14ba66(0x20a)](playwrightBstackJsExecutor,_0x5557d1,_0x10b07a),PerformanceTester[_0x14ba66(0x283)](PerformanceEvents[_0x14ba66(0x227)]);}catch(_0x5b704a){PerformanceTester[_0x14ba66(0x283)](PerformanceEvents[_0x14ba66(0x227)],![],util[_0x14ba66(0x273)](_0x5b704a)),this[_0x14ba66(0x211)][_0x14ba66(0x28c)](_0x14ba66(0x209)+util[_0x14ba66(0x273)](_0x5b704a));}}}PlaywrightDriverModule[a82_0x201220(0x21c)]=a82_0x201220(0x289),module['exports']=PlaywrightDriverModule;
|