browserstack-node-sdk 1.0.2 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"browserstack-node-sdk","version":"1.0.2","private":false,"description":"Node SDK for browserstack selenium-webdriver tests","main":"./src/index.js","scripts":{},"author":"BrowserStack","license":"SEE LICENSE IN LICENSE.md","bin":{"browserstack-node-sdk":"./src/bin/runner.js"},"dependencies":{"browserstack-local":"^1.5.0","js-yaml":"^4.1.0","lodash":"^4.17.21","uuid":"^8.3.2","winston":"2.4.4","yargs":"^17.5.1"},"devDependencies":{}}
1
+ {"name":"browserstack-node-sdk","version":"1.1.0","private":false,"description":"Node SDK for browserstack selenium-webdriver tests","main":"./src/index.js","scripts":{},"author":"BrowserStack","license":"SEE LICENSE IN LICENSE.md","bin":{"browserstack-node-sdk":"./src/bin/runner.js"},"dependencies":{"browserstack-local":"^1.5.0","js-yaml":"^4.1.0","lodash":"^4.17.21","winston":"2.4.4","yargs":"^17.5.1"},"devDependencies":{}}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a0_0x5da1(_0x3fba4c,_0x3405ef){const _0x431079=a0_0x4310();return a0_0x5da1=function(_0x5da12d,_0x48a7cd){_0x5da12d=_0x5da12d-0x81;let _0x440ca0=_0x431079[_0x5da12d];return _0x440ca0;},a0_0x5da1(_0x3fba4c,_0x3405ef);}const a0_0x42325a=a0_0x5da1;function a0_0x4310(){const _0x2b7c34=['info','/jest.setup.js','testEnvironmentOptions','writeFileSync',';\x0a\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x20\x20','debug','\x20with\x20browserstack\x20jest\x20configs','3893961vhMxQt','/test_before.setup.js','/customTestRunnerTemplate.js','setupFiles','jest','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','serial__','11130516TzFHaN','jest_browserstack.config.js','4774184tohCKB','156023gVCayP','exports','capabilities','67420xkQGAi','../../helpers/helper','287150ixrDLr','config','jest.cmd','path','test','/customEnvironment.js','inherit','parallelsPerPlatform','platform','readFileSync','splice','\x0amodule.exports\x20=\x20config;','reporters','forEach','runner','join','\x0a\x20\x20\x20\x20','close','unlinkSync','modifyBrowserStackW3CCaps','18856BoCNem','parallels__','../../helpers/BrowserStackSetup','--config','platforms','isUndefined','cwd','Deleting\x20','maxWorkers','default','4uudcnd','useW3C','1505KvLIol','false','Getting\x20your\x20jest\x20configs\x20from\x20','testEnvironment','package.json','Getting\x20your\x20jest\x20configs\x20from\x20package.json','120PELVXK','modifyBrowserStackCaps','const\x20config='];a0_0x4310=function(){return _0x2b7c34;};return a0_0x4310();}(function(_0x578e5f,_0x3fc91b){const _0x5dbf0b=a0_0x5da1,_0x1e08de=_0x578e5f();while(!![]){try{const _0x2ad342=-parseInt(_0x5dbf0b(0x85))/0x1*(-parseInt(_0x5dbf0b(0xa8))/0x2)+-parseInt(_0x5dbf0b(0xba))/0x3+parseInt(_0x5dbf0b(0x84))/0x4+-parseInt(_0x5dbf0b(0x8a))/0x5*(parseInt(_0x5dbf0b(0xb0))/0x6)+parseInt(_0x5dbf0b(0xaa))/0x7*(parseInt(_0x5dbf0b(0x9e))/0x8)+parseInt(_0x5dbf0b(0x82))/0x9+-parseInt(_0x5dbf0b(0x88))/0xa;if(_0x2ad342===_0x3fc91b)break;else _0x1e08de['push'](_0x1e08de['shift']());}catch(_0x2e0f92){_0x1e08de['push'](_0x1e08de['shift']());}}}(a0_0x4310,0xc245e));const fs=require('fs'),path=require(a0_0x42325a(0x8d)),{spawn}=require('child_process'),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a0_0x42325a(0xa0)),helper=require(a0_0x42325a(0x89)),getUserJestConfigs=(_0x3a37ab,_0x4d0a13)=>{const _0x5fd557=a0_0x42325a,_0x27a67e=_0x4d0a13['findIndex'](_0x3fb514=>_0x3fb514=='--config');if(!helper['isUndefined'](_0x3a37ab[_0x5fd557(0x8b)])){logger[_0x5fd557(0xb3)](_0x5fd557(0xac)+_0x3a37ab[_0x5fd557(0x8b)]);const _0x23d950=require(path['join'](process[_0x5fd557(0xa4)](),_0x3a37ab[_0x5fd557(0x8b)]));return _0x4d0a13[_0x5fd557(0x94)](_0x27a67e,0x2),_0x23d950||{};}return logger[_0x5fd557(0xb3)](_0x5fd557(0xaf)),require(path[_0x5fd557(0x99)](process[_0x5fd557(0xa4)](),_0x5fd557(0xae)))[_0x5fd557(0xbe)]||{};},getSerial=(_0x19da06,_0x519db4)=>{const _0x2d4f94=a0_0x42325a;let _0x11aa63='true';return _0x19da06['length']>0x1&&(!_0x519db4['runInBand']&&(helper[_0x2d4f94(0xa3)](_0x519db4[_0x2d4f94(0xa6)])||_0x519db4[_0x2d4f94(0xa6)]>0x1))&&(_0x11aa63=_0x2d4f94(0xab)),_0x11aa63;},getMaxWorkers=(_0x5ac138,_0x48bbc5)=>{const _0x50377a=a0_0x42325a;let _0x1f2396=0x1;if(!helper[_0x50377a(0xa3)](_0x48bbc5['parallelsPerPlatform']))_0x1f2396=parseInt(_0x48bbc5[_0x50377a(0x91)]);else!helper[_0x50377a(0xa3)](_0x5ac138[_0x50377a(0xa6)])&&(_0x1f2396=_0x5ac138[_0x50377a(0xa6)]);return _0x1f2396;};function run(_0x51b93c,_0x2430d6){const _0x4702e9=a0_0x42325a,_0x2df591=new BrowserStackSetup(),_0x538cf5=getUserJestConfigs(_0x51b93c,_0x2430d6);logger['info'](_0x4702e9(0xbf));const _0x2b9382={..._0x538cf5};_0x2b9382[_0x4702e9(0xb5)]={'server':'https://hub.browserstack.com/wd/hub','environment':_0x538cf5[_0x4702e9(0xad)]};let _0x30538b=helper[_0x4702e9(0xa9)](_0x2df591[_0x4702e9(0x8b)]);const _0x5e39c0=[];_0x2df591['config'][_0x4702e9(0xa2)][_0x4702e9(0x97)]((_0x42a725,_0x5b68e8)=>{const _0x2142e4=_0x4702e9;if(_0x30538b)_0x5e39c0['push'](helper[_0x2142e4(0x9d)](_0x2df591[_0x2142e4(0x8b)],_0x5b68e8));else _0x5e39c0['push'](helper[_0x2142e4(0xb1)](_0x2df591[_0x2142e4(0x8b)],_0x5b68e8));}),_0x2b9382[_0x4702e9(0xb5)][_0x4702e9(0x87)]=_0x5e39c0,_0x2b9382[_0x4702e9(0xb5)][_0x4702e9(0x81)]=getSerial(_0x5e39c0,_0x51b93c),_0x2b9382[_0x4702e9(0xb5)][_0x4702e9(0x9f)]=getMaxWorkers(_0x51b93c,_0x2df591['config']),_0x2b9382[_0x4702e9(0xb5)]['proxySettings']=_0x2df591[_0x4702e9(0x8b)]['proxySettings'];const _0xfb59ad=_0x4702e9(0x83),_0x26450c=__dirname+'/customTestRunner.js',_0x23b016=__dirname+_0x4702e9(0xbc);_0x2b9382[_0x4702e9(0xad)]=__dirname+_0x4702e9(0x8f),_0x2b9382[_0x4702e9(0x98)]=_0x26450c,_0x2b9382['setupFilesAfterEnv']=[__dirname+_0x4702e9(0xb4)],_0x2b9382[_0x4702e9(0xbd)]=[__dirname+_0x4702e9(0xbb)],_0x2b9382[_0x4702e9(0x96)]=_0x2b9382[_0x4702e9(0x96)]||[_0x4702e9(0xa7)];let _0x467a97=fs[_0x4702e9(0x93)](_0x23b016);fs['writeFileSync'](_0x2b9382['runner'],_0x4702e9(0x9a)+_0x467a97+'\x0a\x0a\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27)).default;\x20//node_modules/@jest/core/build/ReporterDispatcher.js\x0a\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20'+_0x2df591[_0x4702e9(0x8b)][_0x4702e9(0xa2)]['length']+_0x4702e9(0xb7)),logger[_0x4702e9(0xb3)]('Creating\x20'+_0xfb59ad+_0x4702e9(0xb9)),fs[_0x4702e9(0xb6)](_0xfb59ad,_0x4702e9(0xb2)+JSON['stringify'](_0x2b9382)+_0x4702e9(0x95)),logger[_0x4702e9(0xb3)]('Showing\x20jest\x20logs\x20and\x20reporter\x20logs.');const _0x181c3f=spawn(/^win/[_0x4702e9(0x8e)](process[_0x4702e9(0x92)])?_0x4702e9(0x8c):_0x4702e9(0xbe),[_0x4702e9(0xa1),_0xfb59ad,..._0x2430d6['slice'](0x1)],{'stdio':_0x4702e9(0x90)});_0x181c3f['on'](_0x4702e9(0x9b),async _0x1a1dc1=>{const _0x187b8c=_0x4702e9;logger[_0x187b8c(0xb8)]('child\x20process\x20exited\x20with\x20code\x20'+_0x1a1dc1),logger[_0x187b8c(0xb3)](_0x187b8c(0xa5)+_0xfb59ad),fs['unlinkSync'](_0xfb59ad),fs[_0x187b8c(0x9c)](_0x26450c);});}module[a0_0x42325a(0x86)]=run;
2
+ 'use strict';const a0_0x50e6fb=a0_0x1e5e;(function(_0x2023f5,_0x30327d){const _0x4da3d0=a0_0x1e5e,_0x3f0b75=_0x2023f5();while(!![]){try{const _0x4c42f2=-parseInt(_0x4da3d0(0xa3))/0x1*(parseInt(_0x4da3d0(0xcb))/0x2)+parseInt(_0x4da3d0(0xad))/0x3*(-parseInt(_0x4da3d0(0xca))/0x4)+parseInt(_0x4da3d0(0xd2))/0x5*(-parseInt(_0x4da3d0(0xbc))/0x6)+parseInt(_0x4da3d0(0xa1))/0x7+-parseInt(_0x4da3d0(0xa4))/0x8*(parseInt(_0x4da3d0(0xb5))/0x9)+parseInt(_0x4da3d0(0xba))/0xa+-parseInt(_0x4da3d0(0xbb))/0xb*(-parseInt(_0x4da3d0(0x9f))/0xc);if(_0x4c42f2===_0x30327d)break;else _0x3f0b75['push'](_0x3f0b75['shift']());}catch(_0x2f8965){_0x3f0b75['push'](_0x3f0b75['shift']());}}}(a0_0x5112,0x6e00d));function a0_0x1e5e(_0x166b0d,_0x347b63){const _0x511251=a0_0x5112();return a0_0x1e5e=function(_0x1e5e54,_0x4b5470){_0x1e5e54=_0x1e5e54-0x9d;let _0x503367=_0x511251[_0x1e5e54];return _0x503367;},a0_0x1e5e(_0x166b0d,_0x347b63);}const fs=require('fs'),path=require('path'),{spawn}=require(a0_0x50e6fb(0xc1)),logger=require('../../helpers/logger')[a0_0x50e6fb(0xcd)],{default:BrowserStackSetup}=require(a0_0x50e6fb(0xce)),helper=require(a0_0x50e6fb(0xa0)),getUserJestConfigs=(_0x53e533,_0x3092a6)=>{const _0x38f12b=a0_0x50e6fb,_0x363d34=_0x3092a6['findIndex'](_0x18cd71=>_0x18cd71==_0x38f12b(0xd0));if(!helper[_0x38f12b(0x9e)](_0x53e533[_0x38f12b(0xda)])){logger['info']('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x53e533['config']);const _0x14744b=require(path[_0x38f12b(0xb0)](process[_0x38f12b(0xab)](),_0x53e533['config']));return _0x3092a6[_0x38f12b(0xc9)](_0x363d34,0x2),_0x14744b||{};}return logger[_0x38f12b(0xc5)]('Getting\x20your\x20jest\x20configs\x20from\x20package.json'),require(path['join'](process[_0x38f12b(0xab)](),_0x38f12b(0xd1)))[_0x38f12b(0xa5)]||{};},getSerial=(_0x1a2e85,_0x3737c8)=>{const _0x173ad2=a0_0x50e6fb;let _0x33a5ed=_0x173ad2(0xc6);return _0x1a2e85['length']>0x1&&(!_0x3737c8[_0x173ad2(0xb9)]&&(helper[_0x173ad2(0x9e)](_0x3737c8[_0x173ad2(0xc7)])||_0x3737c8[_0x173ad2(0xc7)]>0x1))&&(_0x33a5ed=_0x173ad2(0xbd)),_0x33a5ed;},getMaxWorkers=(_0x4c694d,_0x594ca4)=>{const _0xa56090=a0_0x50e6fb;let _0x21c669=0x1;if(!helper[_0xa56090(0x9e)](_0x594ca4[_0xa56090(0xde)]))_0x21c669=parseInt(_0x594ca4['parallelsPerPlatform']);else!helper['isUndefined'](_0x4c694d['maxWorkers'])&&(_0x21c669=_0x4c694d[_0xa56090(0xc7)]);return _0x21c669;};function run(_0x3b906c,_0x1682d7){const _0x5d456a=a0_0x50e6fb,_0x2b8895=new BrowserStackSetup();if(!_0x2b8895[_0x5d456a(0xda)])return;const _0x4a6c74=getUserJestConfigs(_0x3b906c,_0x1682d7);logger['info'](_0x5d456a(0xbf));const _0x4977dd={..._0x4a6c74};_0x4977dd[_0x5d456a(0xd9)]={'server':_0x5d456a(0xc4),'environment':_0x4a6c74[_0x5d456a(0xc2)]};let _0x24326b=helper['useW3C'](_0x2b8895[_0x5d456a(0xda)]);const _0x487097=[];_0x2b8895[_0x5d456a(0xda)][_0x5d456a(0xb7)][_0x5d456a(0xd4)]((_0x2e3b7a,_0xe00641)=>{const _0x4fee3f=_0x5d456a;if(_0x24326b)_0x487097[_0x4fee3f(0xa2)](helper['modifyBrowserStackW3CCaps'](_0x2b8895[_0x4fee3f(0xda)],_0xe00641));else _0x487097['push'](helper['modifyBrowserStackCaps'](_0x2b8895[_0x4fee3f(0xda)],_0xe00641));}),_0x4977dd['testEnvironmentOptions']['capabilities']=_0x487097,_0x4977dd['testEnvironmentOptions'][_0x5d456a(0xac)]=getSerial(_0x487097,_0x3b906c),_0x4977dd['testEnvironmentOptions'][_0x5d456a(0xc3)]=getMaxWorkers(_0x3b906c,_0x2b8895[_0x5d456a(0xda)]),_0x4977dd[_0x5d456a(0xd9)]['proxySettings']=_0x2b8895[_0x5d456a(0xda)][_0x5d456a(0xc8)];const _0x458f98='jest_browserstack.config.js',_0x18a346=__dirname+_0x5d456a(0xdd),_0x26e358=__dirname+_0x5d456a(0xa8);_0x4977dd[_0x5d456a(0xc2)]=__dirname+_0x5d456a(0xa6),_0x4977dd[_0x5d456a(0xb6)]=_0x18a346,_0x4977dd[_0x5d456a(0xcc)]=[__dirname+_0x5d456a(0xaf)],_0x4977dd[_0x5d456a(0xdc)]=[__dirname+_0x5d456a(0xd5)],_0x4977dd[_0x5d456a(0xd3)]=_0x4977dd[_0x5d456a(0xd3)]||[_0x5d456a(0xb4)];let _0x3c9dbf=fs['readFileSync'](_0x26e358);fs[_0x5d456a(0xd6)](_0x4977dd[_0x5d456a(0xb6)],_0x5d456a(0xbe)+_0x3c9dbf+_0x5d456a(0xae)+_0x2b8895[_0x5d456a(0xda)]['platforms'][_0x5d456a(0xb2)]+_0x5d456a(0x9d)),logger[_0x5d456a(0xc5)](_0x5d456a(0xaa)+_0x458f98+_0x5d456a(0xb3)),fs[_0x5d456a(0xd6)](_0x458f98,_0x5d456a(0xdf)+JSON['stringify'](_0x4977dd)+_0x5d456a(0xa9)),logger[_0x5d456a(0xc5)]('Showing\x20jest\x20logs\x20and\x20reporter\x20logs.');const _0x259aed=spawn(/^win/[_0x5d456a(0xd8)](process[_0x5d456a(0xa7)])?_0x5d456a(0xd7):'jest',[_0x5d456a(0xd0),_0x458f98,..._0x1682d7['slice'](0x1)],{'stdio':_0x5d456a(0xcf)});_0x259aed['on'](_0x5d456a(0xe0),async _0x46f9bb=>{const _0x165bb8=_0x5d456a;logger[_0x165bb8(0xb1)](_0x165bb8(0xdb)+_0x46f9bb),logger['info']('Deleting\x20'+_0x458f98),fs[_0x165bb8(0xc0)](_0x458f98),fs[_0x165bb8(0xc0)](_0x18a346);});}function a0_0x5112(){const _0x5231bf=['setupFiles','/customTestRunner.js','parallelsPerPlatform','const\x20config=','close',';\x0a\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x20\x20','isUndefined','8683236QRXzyW','../../helpers/helper','2918482dciQqX','push','117846dUPHch','8KKSIck','jest','/customEnvironment.js','platform','/customTestRunnerTemplate.js','\x0amodule.exports\x20=\x20config;','Creating\x20','cwd','serial__','3WzAWFY','\x0a\x0a\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27)).default;\x20//node_modules/@jest/core/build/ReporterDispatcher.js\x0a\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','/jest.setup.js','join','debug','length','\x20with\x20browserstack\x20jest\x20configs','default','7559037aVvNmz','runner','platforms','exports','runInBand','320540GieiTI','33DqCZZI','6rqAUVW','false','\x0a\x20\x20\x20\x20','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','unlinkSync','child_process','testEnvironment','parallels__','https://hub.browserstack.com/wd/hub','info','true','maxWorkers','proxySettings','splice','1736496tOyqwt','6vXQvpZ','setupFilesAfterEnv','winstonLogger','../../helpers/BrowserStackSetup','inherit','--config','package.json','2708305LEMOjL','reporters','forEach','/test_before.setup.js','writeFileSync','jest.cmd','test','testEnvironmentOptions','config','child\x20process\x20exited\x20with\x20code\x20'];a0_0x5112=function(){return _0x5231bf;};return a0_0x5112();}module[a0_0x50e6fb(0xb8)]=run;
@@ -1 +1 @@
1
- const a1_0x4d44e3=a1_0x1bab;(function(_0x1815d6,_0x122302){const _0x522657=a1_0x1bab,_0x305ca7=_0x1815d6();while(!![]){try{const _0x19f7a0=parseInt(_0x522657(0x1fd))/0x1+-parseInt(_0x522657(0x1da))/0x2*(-parseInt(_0x522657(0x1f7))/0x3)+parseInt(_0x522657(0x1f5))/0x4+-parseInt(_0x522657(0x1ed))/0x5+-parseInt(_0x522657(0x1f3))/0x6+parseInt(_0x522657(0x1d8))/0x7*(parseInt(_0x522657(0x1d9))/0x8)+-parseInt(_0x522657(0x1f9))/0x9;if(_0x19f7a0===_0x122302)break;else _0x305ca7['push'](_0x305ca7['shift']());}catch(_0x47b67c){_0x305ca7['push'](_0x305ca7['shift']());}}}(a1_0x32c7,0xeb3ab));const helper=require(a1_0x4d44e3(0x1e5)),_seleniumWebdriver=helper[a1_0x4d44e3(0x1e1)](),_proxy=helper[a1_0x4d44e3(0x1e6)]('selenium-webdriver/proxy.js'),SeleniumEnvironmentNode=helper[a1_0x4d44e3(0x1e6)]('jest-environment-node'),_seleniumWebdriver2=_interopRequireDefault(_seleniumWebdriver),_jestEnvironmentNode2=_interopRequireDefault(SeleniumEnvironmentNode);function _interopRequireDefault(_0x3d20b7){const _0x963530=a1_0x4d44e3;return _0x3d20b7&&_0x3d20b7[_0x963530(0x1e0)]?_0x3d20b7:{'default':_0x3d20b7};}function a1_0x1bab(_0x50de35,_0x18aa0e){const _0x32c7af=a1_0x32c7();return a1_0x1bab=function(_0x1bab08,_0xfdff24){_0x1bab08=_0x1bab08-0x1d6;let _0x58df72=_0x32c7af[_0x1bab08];return _0x58df72;},a1_0x1bab(_0x50de35,_0x18aa0e);}class CustomEnvironment extends _jestEnvironmentNode2[a1_0x4d44e3(0x1f0)]{constructor(_0x35c230){const _0x4e4960=a1_0x4d44e3;super(_0x35c230),_0x35c230[_0x4e4960(0x1ee)]=_0x35c230[_0x4e4960(0x1fa)]?_0x35c230[_0x4e4960(0x1fa)][_0x4e4960(0x1ee)]:_0x35c230[_0x4e4960(0x1ee)],this[_0x4e4960(0x1f1)]=_0x35c230[_0x4e4960(0x1ee)],this['capability']=_0x35c230[_0x4e4960(0x1fa)]?_0x35c230[_0x4e4960(0x1fa)][_0x4e4960(0x1e9)]:_0x35c230[_0x4e4960(0x1e9)],this['builder']=new _seleniumWebdriver2[(_0x4e4960(0x1f0))][(_0x4e4960(0x1fc))](),this['builder']['initBuild']=this[_0x4e4960(0x1e3)][_0x4e4960(0x1ec)],this['builder'][_0x4e4960(0x1ec)]=()=>{const _0x2edd75=_0x4e4960;return this[_0x2edd75(0x1e3)][_0x2edd75(0x1f2)](this['capability']),this[_0x2edd75(0x1e3)][_0x2edd75(0x1e4)](this[_0x2edd75(0x1f1)][_0x2edd75(0x1f6)]),this[_0x2edd75(0x1f1)][_0x2edd75(0x1f4)][_0x2edd75(0x1ef)]&&this[_0x2edd75(0x1e3)][_0x2edd75(0x1df)](this[_0x2edd75(0x1f1)]['proxySettings']['proxyUrl']),this[_0x2edd75(0x1d7)][_0x2edd75(0x1fb)]=this[_0x2edd75(0x1e3)]['initBuild'](),this[_0x2edd75(0x1d7)]['driver'][_0x2edd75(0x1e8)]=this['global']['driver'][_0x2edd75(0x1eb)],this[_0x2edd75(0x1d7)][_0x2edd75(0x1fb)][_0x2edd75(0x1eb)]=_0x85e668=>{const _0x269aa2=_0x2edd75;if(_0x85e668===_0x269aa2(0x1eb)&&this['global']['driver']['quitCalled'])return this[_0x269aa2(0x1d7)][_0x269aa2(0x1fb)][_0x269aa2(0x1e8)]();_0x85e668!==_0x269aa2(0x1eb)&&(this['global'][_0x269aa2(0x1fb)]['quitCalled']=!![]);},this[_0x2edd75(0x1d7)][_0x2edd75(0x1fb)];},this[_0x4e4960(0x1d7)][_0x4e4960(0x1e3)]=this[_0x4e4960(0x1e3)],this['global']['__webdriver']=_seleniumWebdriver2[_0x4e4960(0x1f0)],this[_0x4e4960(0x1d7)][_0x4e4960(0x1fe)][_0x4e4960(0x1fc)][_0x4e4960(0x1db)]['build']=()=>{return this['builder']['build']();},this[_0x4e4960(0x1e9)]['name']||this[_0x4e4960(0x1e9)][_0x4e4960(0x1e7)]?this[_0x4e4960(0x1d7)]['sessionNameProvided']=!![]:this[_0x4e4960(0x1d7)]['sessionNameProvided']=![],this[_0x4e4960(0x1d7)][_0x4e4960(0x1e2)]=async()=>{const _0x5278f6=_0x4e4960;await this[_0x5278f6(0x1d7)][_0x5278f6(0x1fb)][_0x5278f6(0x1eb)]();};}async[a1_0x4d44e3(0x1de)](){const _0x20fbf0=a1_0x4d44e3;this[_0x20fbf0(0x1d7)][_0x20fbf0(0x1fe)]['Builder'][_0x20fbf0(0x1db)][_0x20fbf0(0x1ec)]=this['builder'][_0x20fbf0(0x1ff)];}async[a1_0x4d44e3(0x1dc)](){}async[a1_0x4d44e3(0x1ea)](_0x2a9b1b,_0x384f77){const _0x14ada8=a1_0x4d44e3,{name:_0x577550}=_0x2a9b1b;_0x577550===_0x14ada8(0x1dd)&&(this['global'][_0x14ada8(0x1f8)]=_0x2a9b1b[_0x14ada8(0x1d6)]);}}module['exports']=CustomEnvironment;function a1_0x32c7(){const _0x33911c=['7596606WgAoeF','proxySettings','5907260bHWARq','server','7539VPbbQr','testContext','3033009HUduri','projectConfig','driver','Builder','945188lwogpX','__webdriver','initBuild','test','global','1050KyuYky','76416mfANOq','346oHsycW','prototype','setup','test_start','teardown','usingWebDriverProxy','__esModule','requireSeleniumWebdriver','cleanup','builder','usingServer','../../helpers/helper','requireModule','sessionName','initQuit','capability','handleTestEvent','quit','build','8614755ICFxfN','testEnvironmentOptions','proxyUrl','default','configuration','withCapabilities'];a1_0x32c7=function(){return _0x33911c;};return a1_0x32c7();}
1
+ const a1_0xb1055d=a1_0x1468;function a1_0x5358(){const _0x5742b1=['cleanup','server','1242544GvAQZe','capability','sessionNameProvided','quitCalled','testEnvironmentOptions','proxySettings','modifyCommand','build','withCapabilities','sessionName','jest-environment-node','initBuild','usingWebDriverProxy','569684uJDorV','teardown','924812Nzaooj','__webdriver','default','exports','proxyUrl','282HXgSHZ','Builder','configuration','prototype','test_start','270613hCCwuN','3eXNlOl','test','global','2234079VLagVO','builder','29515Uzqpfo','initQuit','__esModule','../../helpers/helper','usingServer','5125040bTRFIa','28vVFZIx','handleTestEvent','projectConfig','driver','quit'];a1_0x5358=function(){return _0x5742b1;};return a1_0x5358();}function a1_0x1468(_0x28ee19,_0x1541d9){const _0x535896=a1_0x5358();return a1_0x1468=function(_0x1468d,_0x49e831){_0x1468d=_0x1468d-0xf0;let _0x2aeb34=_0x535896[_0x1468d];return _0x2aeb34;},a1_0x1468(_0x28ee19,_0x1541d9);}(function(_0x21eba9,_0x4e5995){const _0x56e3f7=a1_0x1468,_0x70b5e5=_0x21eba9();while(!![]){try{const _0xaa8dc4=parseInt(_0x56e3f7(0x10d))/0x1+-parseInt(_0x56e3f7(0x101))/0x2*(parseInt(_0x56e3f7(0x10e))/0x3)+parseInt(_0x56e3f7(0x103))/0x4+parseInt(_0x56e3f7(0x113))/0x5*(parseInt(_0x56e3f7(0x108))/0x6)+parseInt(_0x56e3f7(0x119))/0x7*(parseInt(_0x56e3f7(0xf4))/0x8)+-parseInt(_0x56e3f7(0x111))/0x9+-parseInt(_0x56e3f7(0x118))/0xa;if(_0xaa8dc4===_0x4e5995)break;else _0x70b5e5['push'](_0x70b5e5['shift']());}catch(_0xba2088){_0x70b5e5['push'](_0x70b5e5['shift']());}}}(a1_0x5358,0x56a88));const helper=require(a1_0xb1055d(0x116)),_seleniumWebdriver=helper['requireSeleniumWebdriver'](),SeleniumEnvironmentNode=helper['requireModule'](a1_0xb1055d(0xfe)),_seleniumWebdriver2=_interopRequireDefault(_seleniumWebdriver),_jestEnvironmentNode2=_interopRequireDefault(SeleniumEnvironmentNode);function _interopRequireDefault(_0x36b986){const _0x2ef9fc=a1_0xb1055d;return _0x36b986&&_0x36b986[_0x2ef9fc(0x115)]?_0x36b986:{'default':_0x36b986};}helper[a1_0xb1055d(0xfa)]();class CustomEnvironment extends _jestEnvironmentNode2[a1_0xb1055d(0x105)]{constructor(_0x1d46a6){const _0x4bc671=a1_0xb1055d;super(_0x1d46a6),_0x1d46a6[_0x4bc671(0xf8)]=_0x1d46a6[_0x4bc671(0x11b)]?_0x1d46a6['projectConfig'][_0x4bc671(0xf8)]:_0x1d46a6[_0x4bc671(0xf8)],this[_0x4bc671(0x10a)]=_0x1d46a6[_0x4bc671(0xf8)],this['capability']=_0x1d46a6[_0x4bc671(0x11b)]?_0x1d46a6['projectConfig']['capability']:_0x1d46a6['capability'],this[_0x4bc671(0x112)]=new _seleniumWebdriver2[(_0x4bc671(0x105))]['Builder'](),this[_0x4bc671(0x112)][_0x4bc671(0xff)]=this['builder'][_0x4bc671(0xfb)],this[_0x4bc671(0x112)][_0x4bc671(0xfb)]=()=>{const _0x1ceea7=_0x4bc671;return this[_0x1ceea7(0x112)][_0x1ceea7(0xfc)](this[_0x1ceea7(0xf5)]),this[_0x1ceea7(0x112)][_0x1ceea7(0x117)](this[_0x1ceea7(0x10a)][_0x1ceea7(0xf3)]),this[_0x1ceea7(0x10a)][_0x1ceea7(0xf9)][_0x1ceea7(0x107)]&&this[_0x1ceea7(0x112)][_0x1ceea7(0x100)](this[_0x1ceea7(0x10a)]['proxySettings'][_0x1ceea7(0x107)]),this[_0x1ceea7(0x110)]['driver']=this[_0x1ceea7(0x112)][_0x1ceea7(0xff)](),this[_0x1ceea7(0x110)][_0x1ceea7(0xf0)][_0x1ceea7(0x114)]=this[_0x1ceea7(0x110)][_0x1ceea7(0xf0)]['quit'],this[_0x1ceea7(0x110)][_0x1ceea7(0xf0)]['quit']=_0x146f60=>{const _0x1e2b3b=_0x1ceea7;if(_0x146f60===_0x1e2b3b(0xf1)&&this[_0x1e2b3b(0x110)]['driver']['quitCalled'])return this[_0x1e2b3b(0x110)][_0x1e2b3b(0xf0)]['initQuit']();_0x146f60!=='quit'&&(this[_0x1e2b3b(0x110)][_0x1e2b3b(0xf0)][_0x1e2b3b(0xf7)]=!![]);},this['global']['driver'];},this['global'][_0x4bc671(0x112)]=this['builder'],this[_0x4bc671(0x110)]['__webdriver']=_seleniumWebdriver2[_0x4bc671(0x105)],this[_0x4bc671(0x110)][_0x4bc671(0x104)][_0x4bc671(0x109)][_0x4bc671(0x10b)][_0x4bc671(0xfb)]=()=>{const _0x143de1=_0x4bc671;return this[_0x143de1(0x112)]['build']();},this[_0x4bc671(0xf5)]['name']||this['capability'][_0x4bc671(0xfd)]?this[_0x4bc671(0x110)]['sessionNameProvided']=!![]:this['global'][_0x4bc671(0xf6)]=![],this[_0x4bc671(0x110)][_0x4bc671(0xf2)]=async()=>{const _0x575b5b=_0x4bc671;await this[_0x575b5b(0x110)][_0x575b5b(0xf0)]['quit']();};}async[a1_0xb1055d(0x102)](){const _0x287cd3=a1_0xb1055d;this['global']['__webdriver'][_0x287cd3(0x109)][_0x287cd3(0x10b)][_0x287cd3(0xfb)]=this[_0x287cd3(0x112)]['initBuild'];}async['setup'](){}async[a1_0xb1055d(0x11a)](_0x214e71,_0x253636){const _0x2a6200=a1_0xb1055d,{name:_0xb45a70}=_0x214e71;_0xb45a70===_0x2a6200(0x10c)&&(this[_0x2a6200(0x110)]['testContext']=_0x214e71[_0x2a6200(0x10f)]);}}module[a1_0xb1055d(0x106)]=CustomEnvironment;
@@ -1 +1 @@
1
- 'use strict';const a2_0x4de82d=a2_0x3324;(function(_0x5c7c3d,_0x50027a){const _0x107c59=a2_0x3324,_0x36fc5f=_0x5c7c3d();while(!![]){try{const _0x39b0e7=-parseInt(_0x107c59(0xfe))/0x1*(parseInt(_0x107c59(0xff))/0x2)+-parseInt(_0x107c59(0x112))/0x3+parseInt(_0x107c59(0x113))/0x4*(-parseInt(_0x107c59(0x107))/0x5)+-parseInt(_0x107c59(0x104))/0x6*(parseInt(_0x107c59(0x102))/0x7)+parseInt(_0x107c59(0x116))/0x8+-parseInt(_0x107c59(0xfc))/0x9*(parseInt(_0x107c59(0x103))/0xa)+-parseInt(_0x107c59(0x10e))/0xb*(-parseInt(_0x107c59(0x115))/0xc);if(_0x39b0e7===_0x50027a)break;else _0x36fc5f['push'](_0x36fc5f['shift']());}catch(_0x435656){_0x36fc5f['push'](_0x36fc5f['shift']());}}}(a2_0x90a9,0x79b4f));function a2_0x90a9(){const _0x17beff=['config','63xYONyu','exports','8809wttXTl','16aJnISk','default','slice','7dcsFDG','997170tmNmqO','5048382lkRWzW','jest-runner','_globalConfig','5555llPejI','testEnvironmentOptions','length','freeze','context','defineProperty','push','22DlXsTi','false','runTests','__esModule','1176846HGLfXx','3068kQMIFF','parallels__','18611076mtpjpq','2007776pykkWA','../../helpers/helper'];a2_0x90a9=function(){return _0x17beff;};return a2_0x90a9();}const {requireModule}=require(a2_0x4de82d(0x117));Object[a2_0x4de82d(0x10c)](exports,a2_0x4de82d(0x111),{'value':!![]}),exports[a2_0x4de82d(0x100)]=void 0x0;function _interopRequireDefault(_0x3f73d0){const _0x22b4cd=a2_0x4de82d;return _0x3f73d0&&_0x3f73d0[_0x22b4cd(0x111)]?_0x3f73d0:{'default':_0x3f73d0};}function a2_0x3324(_0x30cd2d,_0x56cbdb){const _0x90a9ad=a2_0x90a9();return a2_0x3324=function(_0x3324ff,_0x4330b8){_0x3324ff=_0x3324ff-0xfb;let _0x182f57=_0x90a9ad[_0x3324ff];return _0x182f57;},a2_0x3324(_0x30cd2d,_0x56cbdb);}const JestRunner=_interopRequireDefault(requireModule(a2_0x4de82d(0x105)))[a2_0x4de82d(0x100)];class TestRunner extends JestRunner{constructor(..._0x14d285){super(..._0x14d285);}[a2_0x4de82d(0x110)](..._0x52b088){const _0x415f37=a2_0x4de82d,_0x4b47f7=_0x52b088[0x0],_0x27f98b=_0x52b088[_0x52b088[_0x415f37(0x109)]-0x1],_0x6d4a12=_0x4b47f7[0x0][_0x415f37(0x10b)][_0x415f37(0xfb)][_0x415f37(0x108)]['capabilities'],_0x5bec39=_0x4b47f7[0x0]['context']['config'][_0x415f37(0x108)][_0x415f37(0x114)];_0x5bec39&&(this[_0x415f37(0x106)]=Object[_0x415f37(0x10a)]({...this['_globalConfig'],'maxWorkers':_0x5bec39*_0x6d4a12[_0x415f37(0x109)]}));if(_0x4b47f7[0x0][_0x415f37(0x10b)][_0x415f37(0xfb)][_0x415f37(0x108)]['serial__']==_0x415f37(0x10f))_0x27f98b&&(_0x27f98b['serial']=![]);const _0x555ff6=[];for(let _0x41e9a6=0x0;_0x41e9a6<_0x4b47f7['length'];_0x41e9a6++){const _0x45dc38=[];_0x6d4a12['forEach'](_0x90fa00=>{const _0x58502b=_0x415f37;let _0xc08897={..._0x4b47f7[_0x41e9a6]};_0xc08897[_0x58502b(0x10b)]=Object['freeze']({..._0xc08897[_0x58502b(0x10b)],'config':{..._0xc08897['context'][_0x58502b(0xfb)],'capability':_0x90fa00}}),_0x45dc38[_0x58502b(0x10d)](_0xc08897);}),_0x555ff6[_0x415f37(0x10d)](..._0x45dc38);}return super[_0x415f37(0x110)](_0x555ff6,..._0x52b088[_0x415f37(0x101)](0x1));}}module[a2_0x4de82d(0xfd)]=TestRunner;
1
+ 'use strict';const a2_0x6ed114=a2_0x2983;(function(_0x49d6ec,_0x11857a){const _0x16f4ab=a2_0x2983,_0x2d8565=_0x49d6ec();while(!![]){try{const _0x327569=-parseInt(_0x16f4ab(0x1b6))/0x1*(-parseInt(_0x16f4ab(0x1a4))/0x2)+parseInt(_0x16f4ab(0x1b0))/0x3*(parseInt(_0x16f4ab(0x19f))/0x4)+-parseInt(_0x16f4ab(0x1a1))/0x5+parseInt(_0x16f4ab(0x1af))/0x6+parseInt(_0x16f4ab(0x1a8))/0x7*(parseInt(_0x16f4ab(0x1a0))/0x8)+parseInt(_0x16f4ab(0x1a3))/0x9+-parseInt(_0x16f4ab(0x19d))/0xa*(parseInt(_0x16f4ab(0x1a9))/0xb);if(_0x327569===_0x11857a)break;else _0x2d8565['push'](_0x2d8565['shift']());}catch(_0x45efcd){_0x2d8565['push'](_0x2d8565['shift']());}}}(a2_0x550a,0xd9a9f));function a2_0x2983(_0x32d637,_0x379e5e){const _0x550af1=a2_0x550a();return a2_0x2983=function(_0x298359,_0x1dccaf){_0x298359=_0x298359-0x19c;let _0x37f7eb=_0x550af1[_0x298359];return _0x37f7eb;},a2_0x2983(_0x32d637,_0x379e5e);}const {requireModule}=require(a2_0x6ed114(0x1a7));Object['defineProperty'](exports,a2_0x6ed114(0x1ad),{'value':!![]}),exports[a2_0x6ed114(0x1b4)]=void 0x0;function _interopRequireDefault(_0xc497bb){return _0xc497bb&&_0xc497bb['__esModule']?_0xc497bb:{'default':_0xc497bb};}const JestRunner=_interopRequireDefault(requireModule(a2_0x6ed114(0x1ae)))[a2_0x6ed114(0x1b4)];class TestRunner extends JestRunner{constructor(..._0x56c3ae){super(..._0x56c3ae);}[a2_0x6ed114(0x19e)](..._0x3a2a00){const _0x391b77=a2_0x6ed114,_0x49fe31=_0x3a2a00[0x0],_0x145ab4=_0x3a2a00[_0x3a2a00[_0x391b77(0x1ab)]-0x1],_0x4d2e2d=_0x49fe31[0x0][_0x391b77(0x1b2)][_0x391b77(0x19c)]['testEnvironmentOptions'][_0x391b77(0x1aa)],_0x291e83=_0x49fe31[0x0]['context']['config'][_0x391b77(0x1b5)][_0x391b77(0x1a6)];_0x291e83&&(this['_globalConfig']=Object[_0x391b77(0x1b3)]({...this['_globalConfig'],'maxWorkers':_0x291e83*_0x4d2e2d[_0x391b77(0x1ab)]}));if(_0x49fe31[0x0][_0x391b77(0x1b2)]['config'][_0x391b77(0x1b5)][_0x391b77(0x1ac)]=='false')_0x145ab4&&(_0x145ab4['serial']=![]);const _0xb96fd7=[];for(let _0x3fbc07=0x0;_0x3fbc07<_0x49fe31[_0x391b77(0x1ab)];_0x3fbc07++){const _0x5679db=[];_0x4d2e2d[_0x391b77(0x1a2)](_0x3314f5=>{const _0x11dc59=_0x391b77;let _0x5ce4e1={..._0x49fe31[_0x3fbc07]};_0x5ce4e1[_0x11dc59(0x1b2)]=Object[_0x11dc59(0x1b3)]({..._0x5ce4e1[_0x11dc59(0x1b2)],'config':{..._0x5ce4e1[_0x11dc59(0x1b2)]['config'],'capability':_0x3314f5}}),_0x5679db['push'](_0x5ce4e1);}),_0xb96fd7[_0x391b77(0x1b1)](..._0x5679db);}return super[_0x391b77(0x19e)](_0xb96fd7,..._0x3a2a00['slice'](0x1));}}module[a2_0x6ed114(0x1a5)]=TestRunner;function a2_0x550a(){const _0x5191e8=['config','490KbndAw','runTests','4aNXjED','8nXLnhq','4979440lVbFzT','forEach','9276192Fizhzo','1635082MHlihR','exports','parallels__','../../helpers/helper','4761379hEqOCR','576191frOMCt','capabilities','length','serial__','__esModule','jest-runner','8866326rdyNly','1343883yfRSSc','push','context','freeze','default','testEnvironmentOptions','1QaURIX'];a2_0x550a=function(){return _0x5191e8;};return a2_0x550a();}
@@ -1 +1 @@
1
- (function(_0x4967d6,_0x5df481){const _0x1130aa=a3_0x256f,_0x175c0c=_0x4967d6();while(!![]){try{const _0x15e1f2=-parseInt(_0x1130aa(0x1cb))/0x1+parseInt(_0x1130aa(0x1be))/0x2+-parseInt(_0x1130aa(0x1d6))/0x3+parseInt(_0x1130aa(0x1c8))/0x4+-parseInt(_0x1130aa(0x1c3))/0x5+parseInt(_0x1130aa(0x1ce))/0x6+-parseInt(_0x1130aa(0x1d1))/0x7*(-parseInt(_0x1130aa(0x1d4))/0x8);if(_0x15e1f2===_0x5df481)break;else _0x175c0c['push'](_0x175c0c['shift']());}catch(_0x516ca1){_0x175c0c['push'](_0x175c0c['shift']());}}}(a3_0x2aaa,0xdfe68));function a3_0x256f(_0x54c5ca,_0x57fc67){const _0x2aaac5=a3_0x2aaa();return a3_0x256f=function(_0x256f27,_0x566a9f){_0x256f27=_0x256f27-0x1bb;let _0x3d95a2=_0x2aaac5[_0x256f27];return _0x3d95a2;},a3_0x256f(_0x54c5ca,_0x57fc67);}function a3_0x2aaa(){const _0x3c72b9=['1573188LYwRIV','description','undefined','1407978ayzlyy','\x22,\x22level\x22:\x20\x22info\x22}}','errors','434lAUOWT','\x20|\x20','quit','86992mKfxtO','name','143730RRwExT','executeScript','stringify','currentTest','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','\x22}}','2741752pIORWB','failedExpectations','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22passed\x22,\x20\x22reason\x22:\x20\x22','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22failed\x22,\x20\x22reason\x22:\x20\x22','message','5117450qXXSJZ','replace','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Passed\x20-\x20','getEnv','length','5127828QIpzIm','getState','slice'];a3_0x2aaa=function(){return _0x3c72b9;};return a3_0x2aaa();}const failedResults=[];function stripUnicode(_0x28c740){const _0x4cb634=a3_0x256f;return _0x28c740[_0x4cb634(0x1c4)](/\\u001b\[.*?m/g,'')[_0x4cb634(0x1ca)](0x1,-0x1);}async function setContext(){const _0x2537dc=a3_0x256f;if(!sessionNameProvided){let _0x2c515b=expect[_0x2537dc(0x1c9)]()['currentTestName'];await driver[_0x2537dc(0x1d7)](_0x2537dc(0x1bc)+_0x2c515b+_0x2537dc(0x1bd));}let _0x3fa747=null,_0x6c3eaf=![];typeof jasmine!==_0x2537dc(0x1cd)?jasmine[_0x2537dc(0x1bb)]['failedExpectations']&&jasmine['currentTest'][_0x2537dc(0x1bf)][_0x2537dc(0x1c7)]>0x0?(_0x6c3eaf=!![],_0x3fa747=stripUnicode(JSON[_0x2537dc(0x1d8)](jasmine[_0x2537dc(0x1bb)]['failedExpectations'][0x0][_0x2537dc(0x1c2)]))):_0x3fa747=jasmine[_0x2537dc(0x1bb)][_0x2537dc(0x1cc)]:testContext['errors']&&testContext[_0x2537dc(0x1d0)][_0x2537dc(0x1c7)]>0x0?(_0x6c3eaf=!![],_0x3fa747=stripUnicode(JSON['stringify'](testContext[_0x2537dc(0x1d0)][0x0][0x0][_0x2537dc(0x1c2)]||testContext[_0x2537dc(0x1d0)][0x0][0x0]))):_0x3fa747=testContext[_0x2537dc(0x1d5)],_0x6c3eaf?(failedResults['push'](_0x3fa747),await driver[_0x2537dc(0x1d7)](_0x2537dc(0x1c1)+_0x3fa747+_0x2537dc(0x1bd)),await driver[_0x2537dc(0x1d7)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Failed\x20-\x20'+_0x3fa747+'\x22,\x22level\x22:\x20\x22error\x22}}')):(await driver[_0x2537dc(0x1d7)](_0x2537dc(0x1c0)+_0x3fa747+_0x2537dc(0x1bd)),await driver['executeScript'](_0x2537dc(0x1c5)+_0x3fa747+_0x2537dc(0x1cf)));}beforeAll(async()=>{const _0x480328=a3_0x256f;typeof jasmine!==_0x480328(0x1cd)&&jasmine[_0x480328(0x1c6)]()['addReporter']({'specStarted':_0x4fbb29=>{const _0x200a89=_0x480328;jasmine[_0x200a89(0x1bb)]=_0x4fbb29;}});}),beforeEach(async()=>{}),afterEach(async()=>{const _0x52dbfd=a3_0x256f;await setContext(),await driver[_0x52dbfd(0x1d3)](_0x52dbfd(0x1d3));}),afterAll(async()=>{const _0x2b71a6=a3_0x256f;try{await driver['session_'],failedResults[_0x2b71a6(0x1c7)]>0x0&&await driver[_0x2b71a6(0x1d7)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22failed\x22,\x20\x22reason\x22:\x20\x22'+failedResults['join'](_0x2b71a6(0x1d2))+_0x2b71a6(0x1bd)),await driver['quit'](_0x2b71a6(0x1d3));}catch(_0x8e5394){}});
1
+ function a3_0x412b(_0x41c797,_0x27abe1){const _0x2cd68c=a3_0x2cd6();return a3_0x412b=function(_0x412b55,_0x61a4bd){_0x412b55=_0x412b55-0xbb;let _0x1a57b3=_0x2cd68c[_0x412b55];return _0x1a57b3;},a3_0x412b(_0x41c797,_0x27abe1);}function a3_0x2cd6(){const _0x528d62=['browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Failed\x20-\x20','errors','getEnv','addReporter','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22passed\x22,\x20\x22reason\x22:\x20\x22','174AZIqwF','\x20|\x20','quit','length','name','undefined','450017jnhTDr','slice','replace','3971307GVwsks','\x22,\x22level\x22:\x20\x22info\x22}}','description','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','failedExpectations','message','3883405HjpPng','\x22}}','stringify','743652jxfhoM','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22failed\x22,\x20\x22reason\x22:\x20\x22','5484184FBhMdP','1873506fJdsVu','271726JNHfLo','push','executeScript','currentTest','currentTestName','session_','getState','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:\x22Passed\x20-\x20'];a3_0x2cd6=function(){return _0x528d62;};return a3_0x2cd6();}(function(_0x5944b7,_0x1387fe){const _0x3226a1=a3_0x412b,_0x5bb713=_0x5944b7();while(!![]){try{const _0x530ad6=-parseInt(_0x3226a1(0xd2))/0x1+-parseInt(_0x3226a1(0xbe))/0x2+parseInt(_0x3226a1(0xd5))/0x3+-parseInt(_0x3226a1(0xbb))/0x4+-parseInt(_0x3226a1(0xdb))/0x5+parseInt(_0x3226a1(0xcc))/0x6*(parseInt(_0x3226a1(0xbf))/0x7)+parseInt(_0x3226a1(0xbd))/0x8;if(_0x530ad6===_0x1387fe)break;else _0x5bb713['push'](_0x5bb713['shift']());}catch(_0x572a54){_0x5bb713['push'](_0x5bb713['shift']());}}}(a3_0x2cd6,0xbfcf2));const failedResults=[];function stripUnicode(_0x49b703){const _0x42dea1=a3_0x412b;return _0x49b703[_0x42dea1(0xd4)](/\\u001b\[.*?m/g,'')[_0x42dea1(0xd3)](0x1,-0x1);}async function setContext(){const _0x55ba6b=a3_0x412b;if(!sessionNameProvided){let _0x16f73c=expect[_0x55ba6b(0xc5)]()[_0x55ba6b(0xc3)];await driver[_0x55ba6b(0xc1)](_0x55ba6b(0xd8)+_0x16f73c+_0x55ba6b(0xdc));}let _0x5ce483=null,_0x4eae55=![];typeof jasmine!=='undefined'?jasmine['currentTest']['failedExpectations']&&jasmine[_0x55ba6b(0xc2)][_0x55ba6b(0xd9)][_0x55ba6b(0xcf)]>0x0?(_0x4eae55=!![],_0x5ce483=stripUnicode(JSON['stringify'](jasmine[_0x55ba6b(0xc2)][_0x55ba6b(0xd9)][0x0][_0x55ba6b(0xda)]))):_0x5ce483=jasmine[_0x55ba6b(0xc2)][_0x55ba6b(0xd7)]:testContext['errors']&&testContext[_0x55ba6b(0xc8)]['length']>0x0?(_0x4eae55=!![],_0x5ce483=stripUnicode(JSON[_0x55ba6b(0xdd)](testContext[_0x55ba6b(0xc8)][0x0][0x0][_0x55ba6b(0xda)]||testContext['errors'][0x0][0x0]))):_0x5ce483=testContext[_0x55ba6b(0xd0)],_0x4eae55?(failedResults[_0x55ba6b(0xc0)](_0x5ce483),await driver[_0x55ba6b(0xc1)](_0x55ba6b(0xbc)+_0x5ce483+_0x55ba6b(0xdc)),await driver[_0x55ba6b(0xc1)](_0x55ba6b(0xc7)+_0x5ce483+'\x22,\x22level\x22:\x20\x22error\x22}}')):(await driver[_0x55ba6b(0xc1)](_0x55ba6b(0xcb)+_0x5ce483+'\x22}}'),await driver[_0x55ba6b(0xc1)](_0x55ba6b(0xc6)+_0x5ce483+_0x55ba6b(0xd6)));}beforeAll(async()=>{const _0x2655e8=a3_0x412b;typeof jasmine!==_0x2655e8(0xd1)&&jasmine[_0x2655e8(0xc9)]()[_0x2655e8(0xca)]({'specStarted':_0x176619=>{const _0x369ff8=_0x2655e8;jasmine[_0x369ff8(0xc2)]=_0x176619;}});}),beforeEach(async()=>{}),afterEach(async()=>{const _0xd44447=a3_0x412b;await setContext(),await driver[_0xd44447(0xce)](_0xd44447(0xce));}),afterAll(async()=>{const _0x29ad6c=a3_0x412b;try{await driver[_0x29ad6c(0xc4)],failedResults[_0x29ad6c(0xcf)]>0x0&&await driver[_0x29ad6c(0xc1)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionStatus\x22,\x20\x22arguments\x22:\x20{\x22status\x22:\x20\x22failed\x22,\x20\x22reason\x22:\x20\x22'+failedResults['join'](_0x29ad6c(0xcd))+_0x29ad6c(0xdc)),await driver[_0x29ad6c(0xce)](_0x29ad6c(0xce));}catch(_0x42c753){}});
@@ -1 +1 @@
1
- const a4_0x4ef07e=a4_0x4831;(function(_0x4be776,_0xd9335c){const _0x3bb461=a4_0x4831,_0x2988e4=_0x4be776();while(!![]){try{const _0x2fe68d=-parseInt(_0x3bb461(0x1e6))/0x1*(parseInt(_0x3bb461(0x1ed))/0x2)+-parseInt(_0x3bb461(0x1e3))/0x3*(parseInt(_0x3bb461(0x1e8))/0x4)+parseInt(_0x3bb461(0x1e1))/0x5*(parseInt(_0x3bb461(0x1ef))/0x6)+parseInt(_0x3bb461(0x1df))/0x7*(-parseInt(_0x3bb461(0x1ec))/0x8)+-parseInt(_0x3bb461(0x1e5))/0x9+parseInt(_0x3bb461(0x1e4))/0xa+parseInt(_0x3bb461(0x1e0))/0xb*(parseInt(_0x3bb461(0x1e2))/0xc);if(_0x2fe68d===_0xd9335c)break;else _0x2988e4['push'](_0x2988e4['shift']());}catch(_0x2a221b){_0x2988e4['push'](_0x2988e4['shift']());}}}(a4_0x4797,0xd9e8b));function a4_0x4831(_0x2c7ebb,_0x2f5c1c){const _0x479773=a4_0x4797();return a4_0x4831=function(_0x4831c4,_0x239761){_0x4831c4=_0x4831c4-0x1dd;let _0x1dad0c=_0x479773[_0x4831c4];return _0x1dad0c;},a4_0x4831(_0x2c7ebb,_0x2f5c1c);}const {requireModule}=require(a4_0x4ef07e(0x1dd));function a4_0x4797(){const _0x2e7c30=['15LRnJis','3684dfjoKE','9UsjoyM','17588560OAvAAV','1021797aMWQgh','3mDZMrs','prototype','1594244DpSEnN','build','../../helpers/setKeepAlive','selenium-webdriver','208OcHBpg','516674TSIkCC','Builder','2793702QwAnYz','../../helpers/helper','until','188601dGRaOI','18689mKrHfl'];a4_0x4797=function(){return _0x2e7c30;};return a4_0x4797();}require(a4_0x4ef07e(0x1ea))();const __wd__=requireModule(a4_0x4ef07e(0x1eb));__wd__['until']=__webdriver[a4_0x4ef07e(0x1de)],__wd__['By']=__webdriver['By'],__wd__[a4_0x4ef07e(0x1ee)][a4_0x4ef07e(0x1e7)][a4_0x4ef07e(0x1e9)]=()=>{return builder['build']();};
1
+ const a4_0x437b5d=a4_0x3891;function a4_0x3891(_0x486a44,_0x7e38ba){const _0x7f14b1=a4_0x7f14();return a4_0x3891=function(_0x3891fb,_0x3c0a6d){_0x3891fb=_0x3891fb-0x15c;let _0xd1f74b=_0x7f14b1[_0x3891fb];return _0xd1f74b;},a4_0x3891(_0x486a44,_0x7e38ba);}(function(_0xcb1926,_0x56e815){const _0x8f0646=a4_0x3891,_0x529f7d=_0xcb1926();while(!![]){try{const _0x128297=-parseInt(_0x8f0646(0x15c))/0x1*(-parseInt(_0x8f0646(0x165))/0x2)+parseInt(_0x8f0646(0x167))/0x3*(parseInt(_0x8f0646(0x161))/0x4)+parseInt(_0x8f0646(0x164))/0x5*(-parseInt(_0x8f0646(0x162))/0x6)+-parseInt(_0x8f0646(0x163))/0x7+-parseInt(_0x8f0646(0x15d))/0x8*(-parseInt(_0x8f0646(0x16c))/0x9)+parseInt(_0x8f0646(0x15f))/0xa+-parseInt(_0x8f0646(0x169))/0xb*(-parseInt(_0x8f0646(0x16d))/0xc);if(_0x128297===_0x56e815)break;else _0x529f7d['push'](_0x529f7d['shift']());}catch(_0xcd3295){_0x529f7d['push'](_0x529f7d['shift']());}}}(a4_0x7f14,0x577e2));const {requireModule}=require(a4_0x437b5d(0x16a));require(a4_0x437b5d(0x15e))();const __wd__=requireModule(a4_0x437b5d(0x168));function a4_0x7f14(){const _0x32f7e2=['../../helpers/helper','build','1440090PhZBiR','4478772pUNQtc','10826EWwqGl','16QNYsiZ','../../helpers/setKeepAlive','2667150CSILMG','until','422116eKFKnQ','12jwyeRA','4323270HAMomF','1096450PbZtHj','6CzUcfK','Builder','12IcKtGy','selenium-webdriver','11bzzZpG'];a4_0x7f14=function(){return _0x32f7e2;};return a4_0x7f14();}__wd__[a4_0x437b5d(0x160)]=__webdriver[a4_0x437b5d(0x160)],__wd__['By']=__webdriver['By'],__wd__[a4_0x437b5d(0x166)]['prototype'][a4_0x437b5d(0x16b)]=()=>{const _0x4a71db=a4_0x437b5d;return builder[_0x4a71db(0x16b)]();};
package/src/bin/runner.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a5_0xc4d067=a5_0x2600;function a5_0x2600(_0xc579c6,_0x520383){const _0x439432=a5_0x4394();return a5_0x2600=function(_0x26007c,_0x5b2ced){_0x26007c=_0x26007c-0x1cb;let _0x3c0a80=_0x439432[_0x26007c];return _0x3c0a80;},a5_0x2600(_0xc579c6,_0x520383);}(function(_0x3f4c49,_0x581170){const _0x1de00e=a5_0x2600,_0x2dc84c=_0x3f4c49();while(!![]){try{const _0x4c990c=-parseInt(_0x1de00e(0x1d8))/0x1+-parseInt(_0x1de00e(0x1d4))/0x2+-parseInt(_0x1de00e(0x1dc))/0x3*(-parseInt(_0x1de00e(0x1cf))/0x4)+-parseInt(_0x1de00e(0x1e2))/0x5+-parseInt(_0x1de00e(0x1e5))/0x6*(parseInt(_0x1de00e(0x1d6))/0x7)+-parseInt(_0x1de00e(0x1d7))/0x8*(parseInt(_0x1de00e(0x1e4))/0x9)+parseInt(_0x1de00e(0x1e6))/0xa*(parseInt(_0x1de00e(0x1e0))/0xb);if(_0x4c990c===_0x581170)break;else _0x2dc84c['push'](_0x2dc84c['shift']());}catch(_0x2232f9){_0x2dc84c['push'](_0x2dc84c['shift']());}}}(a5_0x4394,0x5f227));const yargs=require(a5_0xc4d067(0x1cb)),Constants=require('./utils/constants'),logger=require(a5_0xc4d067(0x1db))['winstonLogger'],argv=yargs['usage']('usage:\x20$0\x20<command>')[a5_0xc4d067(0x1d3)]('v',a5_0xc4d067(0x1d0))[a5_0xc4d067(0x1cd)]('v')[a5_0xc4d067(0x1d3)]('h',a5_0xc4d067(0x1d5))[a5_0xc4d067(0x1d5)](a5_0xc4d067(0x1d5))[a5_0xc4d067(0x1de)](![],Constants[a5_0xc4d067(0x1da)]['HELP'])[a5_0xc4d067(0x1d9)]('jest',Constants[a5_0xc4d067(0x1e3)]['INFO'],function(_0x1d6a67){const _0x1d0ecc=a5_0xc4d067,_0x3865cb=process['argv']['slice'](0x2);return require(_0x1d0ecc(0x1e1))(_0x1d6a67['argv'],_0x3865cb);})[a5_0xc4d067(0x1d9)]('mocha',Constants[a5_0xc4d067(0x1ce)][a5_0xc4d067(0x1dd)],function(_0x4d8d1a){const _0x791c5f=a5_0xc4d067;logger[_0x791c5f(0x1d2)](_0x791c5f(0x1d1));})[a5_0xc4d067(0x1cc)](null)[a5_0xc4d067(0x1df)];function a5_0x4394(){const _0x3e1583=['argv','2072147BOVeJX','./jest/command','2468355WFPPOd','JEST','234DNmYmJ','3282FKzsdq','110yYdrgP','yargs','wrap','describe','MOCHA','6856ThNISa','version','Coming\x20soon\x20🔥.','info','alias','481042kxPMJz','help','2233hRyvmF','201304EuNecG','381795ZNfWOX','command','VERSION','../helpers/logger','459gPIobK','INFO','showHelpOnFail'];a5_0x4394=function(){return _0x3e1583;};return a5_0x4394();}
2
+ 'use strict';function a5_0x5165(_0x1f5994,_0x44486d){const _0x449e5e=a5_0x449e();return a5_0x5165=function(_0x516583,_0x2d6a89){_0x516583=_0x516583-0x146;let _0x5c3812=_0x449e5e[_0x516583];return _0x5c3812;},a5_0x5165(_0x1f5994,_0x44486d);}const a5_0x1c36c9=a5_0x5165;(function(_0x26861a,_0x2fb50b){const _0x528f5d=a5_0x5165,_0x5c3629=_0x26861a();while(!![]){try{const _0x4ed119=-parseInt(_0x528f5d(0x162))/0x1+-parseInt(_0x528f5d(0x159))/0x2*(parseInt(_0x528f5d(0x155))/0x3)+-parseInt(_0x528f5d(0x15d))/0x4+-parseInt(_0x528f5d(0x160))/0x5*(parseInt(_0x528f5d(0x14d))/0x6)+-parseInt(_0x528f5d(0x152))/0x7*(parseInt(_0x528f5d(0x157))/0x8)+parseInt(_0x528f5d(0x158))/0x9*(-parseInt(_0x528f5d(0x165))/0xa)+-parseInt(_0x528f5d(0x14b))/0xb*(-parseInt(_0x528f5d(0x151))/0xc);if(_0x4ed119===_0x2fb50b)break;else _0x5c3629['push'](_0x5c3629['shift']());}catch(_0x3b1fe0){_0x5c3629['push'](_0x5c3629['shift']());}}}(a5_0x449e,0x4b44c));const yargs=require('yargs'),Constants=require(a5_0x1c36c9(0x154)),logger=require(a5_0x1c36c9(0x148))[a5_0x1c36c9(0x147)],argv=yargs['usage']('usage:\x20$0\x20<command>')['alias']('v',a5_0x1c36c9(0x150))[a5_0x1c36c9(0x163)]('v')[a5_0x1c36c9(0x14c)]('h','help')[a5_0x1c36c9(0x15a)](a5_0x1c36c9(0x15a))[a5_0x1c36c9(0x14f)](![],Constants['VERSION'][a5_0x1c36c9(0x149)])[a5_0x1c36c9(0x14a)](a5_0x1c36c9(0x146),Constants[a5_0x1c36c9(0x164)][a5_0x1c36c9(0x15f)],function(_0x49ddc3){const _0x1545be=a5_0x1c36c9,_0x40f872=process['argv']['slice'](0x2);return require(_0x1545be(0x15e))(_0x49ddc3[_0x1545be(0x15c)],_0x40f872);})[a5_0x1c36c9(0x14a)](a5_0x1c36c9(0x153),Constants[a5_0x1c36c9(0x161)][a5_0x1c36c9(0x15f)],function(_0x3d0f9a){const _0x2752da=a5_0x1c36c9;logger[_0x2752da(0x156)](_0x2752da(0x14e));})[a5_0x1c36c9(0x15b)](null)[a5_0x1c36c9(0x15c)];function a5_0x449e(){const _0x1ad39d=['info','8muTpWC','54RUamlb','552316WXUtcL','help','wrap','argv','1943704fyQPRS','./jest/command','INFO','1202050wZOdPT','MOCHA','504138JDJEpv','describe','JEST','57830fYAISm','jest','winstonLogger','../helpers/logger','HELP','command','12285383audOcq','alias','12kCMQWA','Coming\x20soon\x20🔥.','showHelpOnFail','version','24zItOAE','1005662sZisFl','mocha','./utils/constants','3MoRauK'];a5_0x449e=function(){return _0x1ad39d;};return a5_0x449e();}
@@ -1 +1 @@
1
- function a6_0x4c97(){var _0x44a975=['117PnXlDj','2085109yIyMbU','9230melMjU','7172xhmljA','Run\x20mocha\x20tests\x20on\x20browserstack','30705UwAHZR','exports','83202LJUlbd','Specify\x20--help\x20for\x20available\x20options','shows\x20version\x20information','633832KnsTDF','3006591jieetx','96FuXwcd','2RHYucJ','160tMMTwo','260ZaKTir','831007qpPjHa'];a6_0x4c97=function(){return _0x44a975;};return a6_0x4c97();}function a6_0x45a1(_0x174574,_0x11d591){var _0x4c9736=a6_0x4c97();return a6_0x45a1=function(_0x45a10e,_0x4d6ec5){_0x45a10e=_0x45a10e-0x1bb;var _0x36f4a8=_0x4c9736[_0x45a10e];return _0x36f4a8;},a6_0x45a1(_0x174574,_0x11d591);}var a6_0x392fa4=a6_0x45a1;(function(_0x464220,_0x4d072d){var _0x5b39bf=a6_0x45a1,_0x5059b0=_0x464220();while(!![]){try{var _0x203317=parseInt(_0x5b39bf(0x1ca))/0x1*(-parseInt(_0x5b39bf(0x1c7))/0x2)+-parseInt(_0x5b39bf(0x1bf))/0x3*(-parseInt(_0x5b39bf(0x1c8))/0x4)+parseInt(_0x5b39bf(0x1c9))/0x5*(parseInt(_0x5b39bf(0x1c1))/0x6)+-parseInt(_0x5b39bf(0x1c5))/0x7+-parseInt(_0x5b39bf(0x1c4))/0x8*(parseInt(_0x5b39bf(0x1cb))/0x9)+parseInt(_0x5b39bf(0x1bc))/0xa*(parseInt(_0x5b39bf(0x1bd))/0xb)+parseInt(_0x5b39bf(0x1c6))/0xc*(parseInt(_0x5b39bf(0x1bb))/0xd);if(_0x203317===_0x4d072d)break;else _0x5059b0['push'](_0x5059b0['shift']());}catch(_0x236cb2){_0x5059b0['push'](_0x5059b0['shift']());}}}(a6_0x4c97,0xb0fbf),module[a6_0x392fa4(0x1c0)]={'VERSION':{'INFO':a6_0x392fa4(0x1c3),'HELP':a6_0x392fa4(0x1c2)},'JEST':{'INFO':'Run\x20jest\x20tests\x20on\x20browserstack'},'MOCHA':{'INFO':a6_0x392fa4(0x1be)}});
1
+ function a6_0x50df(_0xa3bf7f,_0x23bfbd){var _0x4d1b21=a6_0x4d1b();return a6_0x50df=function(_0x50df3a,_0x18cb2b){_0x50df3a=_0x50df3a-0xc5;var _0x16a98f=_0x4d1b21[_0x50df3a];return _0x16a98f;},a6_0x50df(_0xa3bf7f,_0x23bfbd);}var a6_0xe8bfd9=a6_0x50df;(function(_0x4d71c1,_0xb04dab){var _0x51a8f2=a6_0x50df,_0x47557f=_0x4d71c1();while(!![]){try{var _0x317e9e=-parseInt(_0x51a8f2(0xcf))/0x1*(-parseInt(_0x51a8f2(0xd4))/0x2)+parseInt(_0x51a8f2(0xd0))/0x3+parseInt(_0x51a8f2(0xca))/0x4+-parseInt(_0x51a8f2(0xcc))/0x5+parseInt(_0x51a8f2(0xd2))/0x6*(-parseInt(_0x51a8f2(0xd3))/0x7)+-parseInt(_0x51a8f2(0xce))/0x8*(parseInt(_0x51a8f2(0xd1))/0x9)+-parseInt(_0x51a8f2(0xc7))/0xa*(-parseInt(_0x51a8f2(0xcb))/0xb);if(_0x317e9e===_0xb04dab)break;else _0x47557f['push'](_0x47557f['shift']());}catch(_0x347384){_0x47557f['push'](_0x47557f['shift']());}}}(a6_0x4d1b,0x3981f),module[a6_0xe8bfd9(0xcd)]={'VERSION':{'INFO':a6_0xe8bfd9(0xc6),'HELP':a6_0xe8bfd9(0xc8)},'JEST':{'INFO':a6_0xe8bfd9(0xc5)},'MOCHA':{'INFO':a6_0xe8bfd9(0xc9)}});function a6_0x4d1b(){var _0x15afc=['347348EculGh','33zUONPH','1553135wtxxLZ','exports','8aWRyuX','1gBeZHV','582351zfwCvN','3670614RXVUcs','2532102pHaBQw','7LbVKzB','6720pnuYeg','Run\x20jest\x20tests\x20on\x20browserstack','shows\x20version\x20information','3639090CiElYX','Specify\x20--help\x20for\x20available\x20options','Run\x20mocha\x20tests\x20on\x20browserstack'];a6_0x4d1b=function(){return _0x15afc;};return a6_0x4d1b();}
@@ -1 +1 @@
1
- const a7_0x33a217=a7_0x5c91;(function(_0x2f1245,_0x2334e1){const _0x42c8a9=a7_0x5c91,_0x1bbaa7=_0x2f1245();while(!![]){try{const _0x392a31=-parseInt(_0x42c8a9(0x82))/0x1+-parseInt(_0x42c8a9(0x75))/0x2+parseInt(_0x42c8a9(0x7b))/0x3*(parseInt(_0x42c8a9(0x73))/0x4)+-parseInt(_0x42c8a9(0x76))/0x5+-parseInt(_0x42c8a9(0x71))/0x6*(-parseInt(_0x42c8a9(0x89))/0x7)+parseInt(_0x42c8a9(0x83))/0x8*(parseInt(_0x42c8a9(0x84))/0x9)+parseInt(_0x42c8a9(0x8b))/0xa;if(_0x392a31===_0x2334e1)break;else _0x1bbaa7['push'](_0x1bbaa7['shift']());}catch(_0xa92fd5){_0x1bbaa7['push'](_0x1bbaa7['shift']());}}}(a7_0x3dae,0x892a4));const logger=require(a7_0x33a217(0x90))[a7_0x33a217(0x7c)],helper=require('./helper');function a7_0x5c91(_0x57af33,_0x104d0c){const _0x3daea8=a7_0x3dae();return a7_0x5c91=function(_0x5c9179,_0x1d5486){_0x5c9179=_0x5c9179-0x70;let _0x411cdc=_0x3daea8[_0x5c9179];return _0x411cdc;},a7_0x5c91(_0x57af33,_0x104d0c);}function a7_0x3dae(){const _0x131838=['unhandledRejection','setProxySettings','env','6NGNGyL','Local\x20binary\x20started\x20successfully','1292EvzsTV','setupKeepAlive','375808ximlYk','614290qoMfyk','Error\x20occured\x20while\x20stopping\x20local\x20binary','stopLocalBinary','readConfig','error','9837bHrrtP','winstonLogger','./setKeepAlive','message','handleExceptions','Local\x20binary\x20stopped','setLogLevel','549542QBgheH','32pPawmN','443367Kooubw','getConfigPath','stopBrowserstackLocal','SIGINT','BROWSERSTACK_LOCAL','1075333wSTlFY','default','123440ACsjRg','info','startLocalBinarySync','config','browserstackLocal','./logger','debug','uncaughtException','isRunning','setupBrowserstackLocal'];a7_0x3dae=function(){return _0x131838;};return a7_0x3dae();}class BrowserStackSetup{constructor(){const _0xb9c388=a7_0x33a217;this[_0xb9c388(0x8f)]=null,this[_0xb9c388(0x8e)]=helper[_0xb9c388(0x79)](helper[_0xb9c388(0x85)]()),!this[_0xb9c388(0x8e)]['error']&&(helper[_0xb9c388(0x81)](this[_0xb9c388(0x8e)]),helper[_0xb9c388(0x96)](this[_0xb9c388(0x8e)]),this[_0xb9c388(0x7f)](),this[_0xb9c388(0x94)](),this[_0xb9c388(0x74)]());}[a7_0x33a217(0x94)](){const _0x245a6c=a7_0x33a217;if((this[_0x245a6c(0x8e)][_0x245a6c(0x8f)]==!![]||process[_0x245a6c(0x70)][_0x245a6c(0x88)])&&(!this['browserstackLocal']||!this[_0x245a6c(0x8f)][_0x245a6c(0x93)]()))try{this[_0x245a6c(0x8f)]=helper[_0x245a6c(0x8d)](this[_0x245a6c(0x8e)]),logger[_0x245a6c(0x8c)](_0x245a6c(0x72));let _0x59a848=0x0;const _0x102607=async()=>{const _0x10f807=_0x245a6c;_0x59a848++,_0x59a848==0x1&&await this[_0x10f807(0x86)]();};process['on']('beforeExit',_0x102607),process['on'](_0x245a6c(0x87),_0x102607),process['on']('SIGTERM',_0x102607);}catch(_0x94ea2e){logger[_0x245a6c(0x7a)]('Something\x20went\x20wrong\x20while\x20starting\x20local\x20:',_0x94ea2e['message']),logger['debug'](_0x94ea2e);}}async[a7_0x33a217(0x86)](){const _0x3e9d40=a7_0x33a217;if(this[_0x3e9d40(0x8f)]&&this[_0x3e9d40(0x8f)]['isRunning']())try{await helper[_0x3e9d40(0x78)](this[_0x3e9d40(0x8f)]),logger[_0x3e9d40(0x8c)](_0x3e9d40(0x80));}catch(_0x4c2b56){logger['error'](_0x3e9d40(0x77),_0x4c2b56[_0x3e9d40(0x7e)]);}}[a7_0x33a217(0x74)](){const _0x1cadb1=a7_0x33a217;require(_0x1cadb1(0x7d))();}[a7_0x33a217(0x7f)](){const _0x3e39ab=a7_0x33a217,_0x23bd20=_0x1890ed=>{const _0x327acf=a7_0x5c91;logger[_0x327acf(0x7a)](_0x1890ed[_0x327acf(0x7e)]),logger[_0x327acf(0x91)](_0x1890ed);};process['on'](_0x3e39ab(0x95),_0x23bd20),process['on'](_0x3e39ab(0x92),_0x23bd20);}}exports[a7_0x33a217(0x8a)]=BrowserStackSetup;
1
+ const a7_0x581aa0=a7_0x15ba;(function(_0x1570ec,_0xba4e84){const _0x18a6c6=a7_0x15ba,_0x243a86=_0x1570ec();while(!![]){try{const _0x5f5ae5=parseInt(_0x18a6c6(0x1df))/0x1+-parseInt(_0x18a6c6(0x1d0))/0x2*(-parseInt(_0x18a6c6(0x1d3))/0x3)+parseInt(_0x18a6c6(0x1c3))/0x4+-parseInt(_0x18a6c6(0x1e0))/0x5*(-parseInt(_0x18a6c6(0x1c8))/0x6)+parseInt(_0x18a6c6(0x1c0))/0x7+parseInt(_0x18a6c6(0x1c1))/0x8+-parseInt(_0x18a6c6(0x1c7))/0x9;if(_0x5f5ae5===_0xba4e84)break;else _0x243a86['push'](_0x243a86['shift']());}catch(_0x2d90f3){_0x243a86['push'](_0x243a86['shift']());}}}(a7_0xacbe,0x943cb));function a7_0x15ba(_0x433089,_0x372d9c){const _0xacbe0=a7_0xacbe();return a7_0x15ba=function(_0x15ba66,_0x5019c9){_0x15ba66=_0x15ba66-0x1be;let _0x3f1bb1=_0xacbe0[_0x15ba66];return _0x3f1bb1;},a7_0x15ba(_0x433089,_0x372d9c);}const logger=require(a7_0x581aa0(0x1dd))[a7_0x581aa0(0x1d1)],helper=require(a7_0x581aa0(0x1cb));class BrowserStackSetup{constructor(){const _0x59f8c8=a7_0x581aa0;this[_0x59f8c8(0x1d4)]=null,this[_0x59f8c8(0x1cf)]=helper[_0x59f8c8(0x1cc)](helper[_0x59f8c8(0x1c6)]());if(this[_0x59f8c8(0x1cf)][_0x59f8c8(0x1d7)])throw new Error(this[_0x59f8c8(0x1cf)]['error']);helper[_0x59f8c8(0x1bf)](this[_0x59f8c8(0x1cf)]),helper[_0x59f8c8(0x1c4)](this[_0x59f8c8(0x1cf)]),this[_0x59f8c8(0x1d2)](),this[_0x59f8c8(0x1d8)](),this[_0x59f8c8(0x1d5)]();}[a7_0x581aa0(0x1d8)](){const _0x18bea7=a7_0x581aa0;if((this[_0x18bea7(0x1cf)][_0x18bea7(0x1d4)]==!![]||process[_0x18bea7(0x1ce)][_0x18bea7(0x1dc)])&&(!this[_0x18bea7(0x1d4)]||!this[_0x18bea7(0x1d4)]['isRunning']()))try{this['browserstackLocal']=helper['startLocalBinarySync'](this['config']),logger[_0x18bea7(0x1e1)](_0x18bea7(0x1c9));let _0xcfb8d0=0x0;const _0x606d3b=async()=>{const _0x331181=_0x18bea7;_0xcfb8d0++,_0xcfb8d0==0x1&&await this[_0x331181(0x1cd)]();};process['on'](_0x18bea7(0x1d9),_0x606d3b),process['on'](_0x18bea7(0x1c5),_0x606d3b),process['on']('SIGTERM',_0x606d3b);}catch(_0x30c91e){logger[_0x18bea7(0x1d7)](_0x18bea7(0x1de),_0x30c91e['message']),logger[_0x18bea7(0x1d6)](_0x30c91e);}}async[a7_0x581aa0(0x1cd)](){const _0x4621cc=a7_0x581aa0;if(this[_0x4621cc(0x1d4)]&&this[_0x4621cc(0x1d4)][_0x4621cc(0x1ca)]())try{await helper[_0x4621cc(0x1e2)](this[_0x4621cc(0x1d4)]),logger[_0x4621cc(0x1e1)]('Local\x20binary\x20stopped');}catch(_0x574d24){logger['error']('Error\x20occured\x20while\x20stopping\x20local\x20binary',_0x574d24[_0x4621cc(0x1c2)]);}}[a7_0x581aa0(0x1d5)](){const _0x4308e8=a7_0x581aa0;require(_0x4308e8(0x1da))();}[a7_0x581aa0(0x1d2)](){const _0x458465=a7_0x581aa0,_0x50367e=_0x3b1fee=>{const _0x265d95=a7_0x15ba;logger[_0x265d95(0x1d7)](_0x3b1fee[_0x265d95(0x1c2)]),logger[_0x265d95(0x1d6)](_0x3b1fee);};process['on'](_0x458465(0x1db),_0x50367e),process['on'](_0x458465(0x1be),_0x50367e);}}function a7_0xacbe(){const _0x524ac7=['setProxySettings','SIGINT','getConfigPath','32644818AJLwqi','3459282RVBhjW','Local\x20binary\x20started\x20successfully','isRunning','./helper','readConfig','stopBrowserstackLocal','env','config','6lWOICz','winstonLogger','handleExceptions','710997CNheNf','browserstackLocal','setupKeepAlive','debug','error','setupBrowserstackLocal','beforeExit','./setKeepAlive','unhandledRejection','BROWSERSTACK_LOCAL','./logger','Something\x20went\x20wrong\x20while\x20starting\x20local\x20:','286510FxMPwP','5FdrYbF','info','stopLocalBinary','uncaughtException','setLogLevel','6960954YNpINi','4578080gKPPtD','message','4374580IaNsVG'];a7_0xacbe=function(){return _0x524ac7;};return a7_0xacbe();}exports['default']=BrowserStackSetup;
@@ -1 +1 @@
1
- function a8_0x2038(){const _0x515395=['getLocalConfig','\x20from\x20','version','cloneDeep','existsSync','generateLocalIdentifier','getLocalIdentifier','npm\x20root\x20-g','getProxyUrl','load','lodash','HTTP_PROXY','../../package.json','browserstack-local','jest-runtime','806kiEkqV','browser','loggerFile','includes','verbose','browserstack.yaml','Getting\x20','startSync','getBrowserVersion','getAgentVersion','browserstack.key','Local\x20set\x20to\x20true.\x20Adding\x20local:\x20true\x20and\x20localIdentifier:\x20','browserName','uuid','httpsProxy','browserStackLocalOptions','platforms','localOptions','trim','proxyPassword','split','getAccessKey','utf8','stop','httpProxy','forEach','requireModule','browserstack.user','browserVersion','length','BROWSERSTACK_ACCESS_KEY','proxyUrl','userName','6868fljsOW','13632060fOrlXT','child_process','setLogLevel','message','requireSeleniumWebdriver','info','path','126aNTCZk','proxyHost','os_version','Log\x20level\x20set\x20to','1462StYJIt','slice','useW3C','8814472HwoyMf','5664830zPioCm','toString','cwd','proxySettings','getBuildName','localIdentifier','://','build','Stopping\x20local\x20binary','40872OJbuBz','browserstack.local','accessKey','5074704cBqtrd','browserstack.localIdentifier','isUndefined','getRootLevelCapabilities','readConfig','Starting\x20local\x20binary','jest-runner','Local\x20set\x20to\x20true.\x20Adding\x20browserstack.local:\x20true\x20and\x20browserstack.localIdentifier:\x20','./logger','browserstackSDK','local','js-yaml','env','proxyProtocol','BROWSERSTACK_LOCAL_IDENTIFIER','Config\x20file\x20does\x20not\x20exist\x20at','getPlatformLevelCapabilities','getOsVersion','proxyPass','proxyUser','getUserName','node_modules','Reading\x20configs\x20from\x20','error','setLocalArgs','entries','111skOgOK','jest','browserstackLocal','browserstack.yml','getOs','getBrowserName','proxyPort','\x20doesn\x27t\x20exist.','parallelsPerPlatform','warn','transports','nodeagent/','getConfigPath','Local','./w3cMapping','debug','setLocalIdentifier','level','osVersion','\x20to\x20capabilities.','buildName','\x20doesn\x27t\x20exist\x20at\x20','W3CMapping','isRunning','browser_version','join'];a8_0x2038=function(){return _0x515395;};return a8_0x2038();}const a8_0x4393e7=a8_0xfc0d;function a8_0xfc0d(_0x1576de,_0x2695ec){const _0x2038f1=a8_0x2038();return a8_0xfc0d=function(_0xfc0d23,_0x14cef2){_0xfc0d23=_0xfc0d23-0xaf;let _0x50855a=_0x2038f1[_0xfc0d23];return _0x50855a;},a8_0xfc0d(_0x1576de,_0x2695ec);}(function(_0x2a2ec6,_0x558376){const _0x1a3ae5=a8_0xfc0d,_0x45fc2c=_0x2a2ec6();while(!![]){try{const _0x57a2d8=-parseInt(_0x1a3ae5(0xf8))/0x1*(parseInt(_0x1a3ae5(0x125))/0x2)+parseInt(_0x1a3ae5(0xcf))/0x3*(parseInt(_0x1a3ae5(0x119))/0x4)+parseInt(_0x1a3ae5(0x129))/0x5+-parseInt(_0x1a3ae5(0xb2))/0x6*(parseInt(_0x1a3ae5(0x121))/0x7)+parseInt(_0x1a3ae5(0x128))/0x8+parseInt(_0x1a3ae5(0xb5))/0x9+-parseInt(_0x1a3ae5(0x11a))/0xa;if(_0x57a2d8===_0x558376)break;else _0x45fc2c['push'](_0x45fc2c['shift']());}catch(_0x982a1f){_0x45fc2c['push'](_0x45fc2c['shift']());}}}(a8_0x2038,0xc02d0));const _=require(a8_0x4393e7(0xf3)),{v4:uuidV4}=require(a8_0x4393e7(0x105)),path=require(a8_0x4393e7(0x120)),fs=require('fs'),yaml=require(a8_0x4393e7(0xc0)),BrowserstackLocalLauncher=require(a8_0x4393e7(0xf6)),{execSync}=require(a8_0x4393e7(0x11b)),W3CMapping=require(a8_0x4393e7(0xdd))[a8_0x4393e7(0xe5)](),transports=require(a8_0x4393e7(0xbd))[a8_0x4393e7(0xd9)],logger=require(a8_0x4393e7(0xbd))['winstonLogger'],GLOBAL_MODULE_PATH=execSync(a8_0x4393e7(0xf0))[a8_0x4393e7(0x12a)]()[a8_0x4393e7(0x10a)]();exports[a8_0x4393e7(0xdb)]=()=>{const _0x495f2b=a8_0x4393e7,_0x330265=[path[_0x495f2b(0xe8)](process[_0x495f2b(0x12b)](),_0x495f2b(0xd2)),path[_0x495f2b(0xe8)](process[_0x495f2b(0x12b)](),_0x495f2b(0xfd))];if(fs[_0x495f2b(0xed)](_0x330265[0x0]))return _0x330265[0x0];if(fs[_0x495f2b(0xed)](_0x330265[0x1]))return _0x330265[0x1];return![];},exports[a8_0x4393e7(0xb9)]=_0x395c51=>{const _0x1d4e4b=a8_0x4393e7;if(_0x395c51){logger[_0x1d4e4b(0x11f)](_0x1d4e4b(0xcb)+_0x395c51);try{return yaml[_0x1d4e4b(0xf2)](fs['readFileSync'](_0x395c51,_0x1d4e4b(0x10e)));}catch(_0x8efc49){return logger[_0x1d4e4b(0xcc)](_0x8efc49[_0x1d4e4b(0x11d)]),{'error':!![]};}}else return logger[_0x1d4e4b(0xcc)](_0x1d4e4b(0xc4),process[_0x1d4e4b(0x12b)]()),{'error':!![]};},exports[a8_0x4393e7(0xc9)]=_0x3e2024=>{const _0x53ae63=a8_0x4393e7;return _0x3e2024[_0x53ae63(0x118)]||_0x3e2024[_0x53ae63(0x113)]||process[_0x53ae63(0xc1)]['BROWSERSTACK_USERNAME'];},exports[a8_0x4393e7(0x10d)]=_0x222d51=>{const _0x55846c=a8_0x4393e7;return _0x222d51[_0x55846c(0xb4)]||_0x222d51[_0x55846c(0x102)]||process[_0x55846c(0xc1)][_0x55846c(0x116)];},exports[a8_0x4393e7(0xf1)]=_0x3c2709=>{const _0x2e2de8=a8_0x4393e7;return _0x3c2709[_0x2e2de8(0x110)]||_0x3c2709[_0x2e2de8(0x106)]||process[_0x2e2de8(0xc1)][_0x2e2de8(0xf4)]||process[_0x2e2de8(0xc1)]['HTTPS_PROXY'];},exports[a8_0x4393e7(0xee)]=()=>{return uuidV4();},exports[a8_0x4393e7(0xdf)]=_0x36766c=>{const _0x5191cf=a8_0x4393e7;if(_0x36766c[_0x5191cf(0x107)]&&!this[_0x5191cf(0xb7)](_0x36766c[_0x5191cf(0x107)][_0x5191cf(0x12e)]))return _0x36766c[_0x5191cf(0x12e)]=_0x36766c[_0x5191cf(0x107)]['localIdentifier'];if(!this[_0x5191cf(0xb7)](process[_0x5191cf(0xc1)][_0x5191cf(0xc3)]))return _0x36766c[_0x5191cf(0x12e)]=process['env'][_0x5191cf(0xc3)];_0x36766c[_0x5191cf(0x12e)]=this['generateLocalIdentifier']();},exports[a8_0x4393e7(0xcd)]=_0x16831c=>{const _0x26f97e=a8_0x4393e7;let _0x8adb27={};return this['setLocalIdentifier'](_0x16831c),_0x8adb27['key']=_0x16831c[_0x26f97e(0xb4)],(_0x8adb27[_0x26f97e(0x12e)]=_0x16831c[_0x26f97e(0x12e)],_0x8adb27[_0x26f97e(0xfc)]=0x3),_0x8adb27['forceLocal']=_0x16831c[_0x26f97e(0x107)]&&_0x16831c['browserStackLocalOptions']['forceLocal'],_0x8adb27[_0x26f97e(0x122)]=_0x16831c[_0x26f97e(0x12c)][_0x26f97e(0x122)],_0x8adb27[_0x26f97e(0xd5)]=_0x16831c[_0x26f97e(0x12c)][_0x26f97e(0xd5)],_0x8adb27[_0x26f97e(0xc8)]=_0x16831c[_0x26f97e(0x12c)]['proxyUser'],_0x8adb27[_0x26f97e(0xc7)]=_0x16831c[_0x26f97e(0x12c)][_0x26f97e(0x10b)],_0x8adb27;},exports['setProxySettings']=_0x52ab65=>{const _0x207cdc=a8_0x4393e7,_0x4c5f85={};_0x52ab65[_0x207cdc(0x12c)]=_0x4c5f85;let _0x2ee9f4=this['getProxyUrl'](_0x52ab65);if(!_0x2ee9f4)return;_0x4c5f85[_0x207cdc(0x117)]=_0x2ee9f4,_0x2ee9f4=_0x2ee9f4[_0x207cdc(0x12a)]();const _0x555c21=_0x2ee9f4[_0x207cdc(0x10c)](_0x207cdc(0xaf)),_0x20b449=_0x555c21[0x1]&&_0x555c21[0x1][_0x207cdc(0x10c)]('@');let _0x47bb1a,_0x12e619;_0x47bb1a=_0x20b449&&_0x20b449[_0x20b449['length']-0x1]&&_0x20b449[_0x20b449['length']-0x1][_0x207cdc(0x10c)](':'),_0x20b449&&_0x20b449[_0x207cdc(0x115)]>0x1&&(_0x12e619=_0x20b449[_0x207cdc(0x126)](0x0,_0x20b449[_0x207cdc(0x115)]-0x1)[_0x207cdc(0xe8)]('@')[_0x207cdc(0x10c)](':')),_0x4c5f85[_0x207cdc(0xc2)]=_0x555c21[0x0],_0x47bb1a&&(_0x4c5f85[_0x207cdc(0x122)]=_0x47bb1a[0x0],_0x4c5f85[_0x207cdc(0xd5)]=_0x47bb1a[0x1]),_0x12e619&&(_0x4c5f85[_0x207cdc(0xc8)]=_0x12e619[0x0],_0x4c5f85[_0x207cdc(0x10b)]=_0x12e619[0x1]),delete _0x52ab65['httpProxy'],delete _0x52ab65[_0x207cdc(0x106)];},exports[a8_0x4393e7(0x11c)]=_0x4ca31c=>{const _0x19640f=a8_0x4393e7;if(this[_0x19640f(0xb7)](_0x4ca31c[_0x19640f(0xfc)]))return;const _0x2a2ee9=[_0x19640f(0xd8),_0x19640f(0x11f),_0x19640f(0xde)];if(!_0x2a2ee9[_0x19640f(0xfb)](_0x4ca31c[_0x19640f(0xfc)]))return;transports['loggerConsole'][_0x19640f(0xe0)]=_0x4ca31c[_0x19640f(0xfc)],transports[_0x19640f(0xfa)][_0x19640f(0xe0)]=_0x4ca31c[_0x19640f(0xfc)],logger[_0x19640f(0xde)](_0x19640f(0x124),_0x4ca31c['verbose']);},exports[a8_0x4393e7(0x127)]=_0x230004=>{const _0x5f4623=a8_0x4393e7;return!this[_0x5f4623(0xb7)](_0x230004[_0x5f4623(0x127)])?_0x230004['useW3C']:!![];},exports['getBuildName']=_0x14ef1a=>{const _0x3ef543=a8_0x4393e7;return _0x14ef1a[_0x3ef543(0xb0)]||_0x14ef1a[_0x3ef543(0xe3)]||process[_0x3ef543(0xc1)]['BROWSERSTACK_BUILD_NAME'];},exports['isUndefined']=_0x12e9b8=>_0x12e9b8===undefined||_0x12e9b8===null,exports['getLocalConfig']=_0x260836=>{const _0x17c74d=a8_0x4393e7;return _0x260836[_0x17c74d(0xd1)]||_0x260836[_0x17c74d(0xbf)]||process[_0x17c74d(0xc1)]['BROWSERSTACK_LOCAL']||![];},exports['getLocalIdentifier']=_0x2dd18e=>{const _0x3109d1=a8_0x4393e7;return _0x2dd18e[_0x3109d1(0x12e)];},exports[a8_0x4393e7(0xd4)]=(_0x4516bb,_0x24dc31=0x0)=>{const _0x3e9bfa=a8_0x4393e7;return combination=_0x4516bb[_0x3e9bfa(0x108)][_0x24dc31],combination[_0x3e9bfa(0xf9)]||combination['browserName'];},exports['getBrowserVersion']=(_0x26f6e1,_0x119818=0x0)=>{const _0x47520f=a8_0x4393e7;return combination=_0x26f6e1[_0x47520f(0x108)][_0x119818],combination[_0x47520f(0xe7)]||combination['browserVersion'];},exports[a8_0x4393e7(0xd3)]=(_0x58cc19,_0x116e95=0x0)=>{const _0x36ab5b=a8_0x4393e7;return combination=_0x58cc19[_0x36ab5b(0x108)][_0x116e95],combination['os'];},exports[a8_0x4393e7(0xc6)]=(_0x13251f,_0x5eb24b=0x0)=>{const _0x5ea513=a8_0x4393e7;return combination=_0x13251f[_0x5ea513(0x108)][_0x5eb24b],combination['os_version']||combination[_0x5ea513(0xe1)];},exports[a8_0x4393e7(0x101)]=()=>{const _0x3d56b8=a8_0x4393e7;let _0x5b87ae=path[_0x3d56b8(0xe8)](__dirname,_0x3d56b8(0xf5));if(fs[_0x3d56b8(0xed)](_0x5b87ae))return require(_0x5b87ae)[_0x3d56b8(0xeb)];},exports['getRootLevelCapabilities']=_0x42d928=>{const _0x4a32d3=a8_0x4393e7;var _0x5c7dcd=_['cloneDeep'](_0x42d928);let _0x41f83b=[_0x4a32d3(0x113),'userName',_0x4a32d3(0x102),'accessKey',_0x4a32d3(0xbf),_0x4a32d3(0xd1),_0x4a32d3(0x107),_0x4a32d3(0x109),_0x4a32d3(0x127),_0x4a32d3(0x108)];return _0x41f83b['forEach'](_0x5f5274=>{delete _0x5c7dcd[_0x5f5274];}),_0x5c7dcd;},exports[a8_0x4393e7(0xc5)]=_0x1b9393=>{const _0x243da1=a8_0x4393e7;var _0x1a9edb=_[_0x243da1(0xec)](_0x1b9393);let _0x12d4ba=['os',_0x243da1(0xe1),_0x243da1(0x123),_0x243da1(0xf9),_0x243da1(0x104),_0x243da1(0x114),_0x243da1(0xe7)];return _0x12d4ba[_0x243da1(0x111)](_0x55f76e=>{delete _0x1a9edb[_0x55f76e];}),_0x1a9edb;},exports['modifyBrowserStackCaps']=(_0x46d54e,_0x1f442a=0x0)=>{const _0x3b04be=a8_0x4393e7;let _0x360d41={'useW3C':![]};_0x360d41['browserstack.user']=this[_0x3b04be(0xc9)](_0x46d54e),_0x360d41[_0x3b04be(0x102)]=this['getAccessKey'](_0x46d54e);this[_0x3b04be(0xe9)](_0x46d54e)==!![]&&(_0x360d41[_0x3b04be(0xb3)]=this[_0x3b04be(0xe9)](_0x46d54e),_0x360d41[_0x3b04be(0xb6)]=this[_0x3b04be(0xef)](_0x46d54e),logger[_0x3b04be(0xde)](_0x3b04be(0xbc)+this[_0x3b04be(0xef)](_0x46d54e)+_0x3b04be(0xe2)));_0x360d41['os']=this[_0x3b04be(0xd3)](_0x46d54e,_0x1f442a),_0x360d41[_0x3b04be(0x123)]=this[_0x3b04be(0xc6)](_0x46d54e,_0x1f442a),_0x360d41[_0x3b04be(0x104)]=this['getBrowserName'](_0x46d54e,_0x1f442a),_0x360d41[_0x3b04be(0xe7)]=this[_0x3b04be(0x100)](_0x46d54e,_0x1f442a);for(const [_0x2b6167,_0x278975]of Object['entries'](this[_0x3b04be(0xc5)](_0x46d54e[_0x3b04be(0x108)][_0x1f442a]))){_0x360d41[_0x2b6167]=_0x278975;}_0x360d41[_0x3b04be(0xb0)]=this[_0x3b04be(0x12d)](_0x46d54e);for(const [_0x1168f5,_0x558c1f]of Object[_0x3b04be(0xce)](this[_0x3b04be(0xb8)](_0x46d54e))){_0x360d41[_0x1168f5]=_0x558c1f;}return _0x360d41[_0x3b04be(0xbe)]=_0x3b04be(0xda)+this['getAgentVersion'](),delete _0x360d41[_0x3b04be(0x12c)],delete _0x360d41['verbose'],delete _0x360d41[_0x3b04be(0xd7)],_0x360d41;},exports['modifyBrowserStackW3CCaps']=(_0x32d057,_0xf37422=0x0)=>{const _0x27d84c=a8_0x4393e7;let _0x575aa5={'useW3C':!![]};_0x575aa5[_0x27d84c(0x118)]=this[_0x27d84c(0xc9)](_0x32d057),_0x575aa5[_0x27d84c(0xb4)]=this[_0x27d84c(0x10d)](_0x32d057);this[_0x27d84c(0xe9)](_0x32d057)==!![]&&(_0x575aa5[_0x27d84c(0xbf)]=this['getLocalConfig'](_0x32d057),_0x575aa5[_0x27d84c(0x12e)]=this[_0x27d84c(0xef)](_0x32d057),logger[_0x27d84c(0xde)](_0x27d84c(0x103)+this[_0x27d84c(0xef)](_0x32d057)+_0x27d84c(0xe2)));_0x575aa5['os']=this[_0x27d84c(0xd3)](_0x32d057,_0xf37422),_0x575aa5[_0x27d84c(0xe1)]=this[_0x27d84c(0xc6)](_0x32d057,_0xf37422);for(const [_0x4d7588,_0x56c9cb]of Object[_0x27d84c(0xce)](this[_0x27d84c(0xc5)](_0x32d057[_0x27d84c(0x108)][_0xf37422]))){_0x4d7588 in W3CMapping?_0x575aa5[W3CMapping[_0x4d7588]]=_0x56c9cb:_0x575aa5[_0x4d7588]=_0x56c9cb;}_0x575aa5[_0x27d84c(0xe3)]=this[_0x27d84c(0x12d)](_0x32d057);for(const [_0x1cb265,_0x378369]of Object[_0x27d84c(0xce)](this[_0x27d84c(0xb8)](_0x32d057))){_0x1cb265 in W3CMapping?_0x575aa5[W3CMapping[_0x1cb265]]=_0x378369:_0x575aa5[_0x1cb265]=_0x378369;}return _0x575aa5[_0x27d84c(0xbe)]=_0x27d84c(0xda)+this[_0x27d84c(0x101)](),delete _0x575aa5[_0x27d84c(0x12c)],delete _0x575aa5[_0x27d84c(0xfc)],delete _0x575aa5[_0x27d84c(0xd7)],{'bstack:options':_0x575aa5,'browserName':this['getBrowserName'](_0x32d057,_0xf37422),'browserVersion':this[_0x27d84c(0x100)](_0x32d057,_0xf37422)};},exports[a8_0x4393e7(0x11e)]=()=>{const _0xdc1983=a8_0x4393e7;return this[_0xdc1983(0x112)]('selenium-webdriver/index.js');},exports['requireModule']=_0x252d7b=>{const _0x964671=a8_0x4393e7;logger[_0x964671(0xde)](_0x964671(0xfe)+_0x252d7b+'\x20from\x20'+process['cwd']());const _0xc89374=path['join'](process[_0x964671(0x12b)](),_0x964671(0xca),_0x252d7b);if(!fs['existsSync'](_0xc89374)){logger[_0x964671(0xde)](_0x252d7b+_0x964671(0xe4)+process[_0x964671(0x12b)]()),logger[_0x964671(0xde)](_0x964671(0xfe)+_0x252d7b+_0x964671(0xea)+GLOBAL_MODULE_PATH);let _0x1c99ff;if([_0x964671(0xbb),_0x964671(0xf7)][_0x964671(0xfb)](_0x252d7b))_0x1c99ff=path[_0x964671(0xe8)](GLOBAL_MODULE_PATH,_0x964671(0xd0),_0x964671(0xca),_0x252d7b);else _0x1c99ff=path['join'](GLOBAL_MODULE_PATH,_0x252d7b);if(!fs['existsSync'](_0x1c99ff))throw new Error(_0x252d7b+_0x964671(0xd6));return require(_0x1c99ff);}return require(_0xc89374);},exports['startLocalBinarySync']=_0x575c39=>{const _0x26222f=a8_0x4393e7;logger[_0x26222f(0xde)](_0x26222f(0xba));const _0x3872f5=new BrowserstackLocalLauncher[(_0x26222f(0xdc))](),_0x557df2=this[_0x26222f(0xcd)](_0x575c39),_0x54c066=_0x3872f5[_0x26222f(0xff)](_0x557df2);if(_0x54c066)throw _0x54c066;return isLocalRunning=_0x3872f5[_0x26222f(0xe6)](),_0x3872f5;},exports['stopLocalBinary']=async _0x51609f=>{return new Promise((_0x4a2bb7,_0x5f0d20)=>{const _0x3cdf20=a8_0xfc0d;logger[_0x3cdf20(0xde)](_0x3cdf20(0xb1)),_0x51609f&&_0x51609f[_0x3cdf20(0x10f)](_0x3d6e7e=>{if(_0x3d6e7e)return _0x5f0d20(_0x3d6e7e);_0x4a2bb7();});});};
1
+ const a8_0x2a4f32=a8_0xcd24;function a8_0xf785(){const _0x19bc4d=['HTTPS_PROXY','info','\x20from\x20','readConfig','getOs','verbose','./logger','toString','2248rxpvzQ','3650822fUZwnY','bs-host','setLogLevel','local','proxySettings','isUndefined','browserVersion','proxyPort','env','os_version','getLocalConfig','BROWSERSTACK_ACCESS_KEY','browserName','browserstack.key','logLevel','number','version','child_process','getOsVersion','30TjjfxU','getRootLevelCapabilities','npm\x20root\x20-g','1631278zMIPQC','localIdentifier','jest','getUserName','proxyPassword','browser','js-yaml','forEach','level','load','browserstack.user','selenium-webdriver/lib/command.js','platforms','getLocalIdentifier','Starting\x20local\x20binary','transports','requireModule','proxyUser','accessKey','8jORMlE','lodash','4129602TkRyWI','\x20doesn\x27t\x20exist.','requireSeleniumWebdriver','error','osVersion','winstonLogger','Reading\x20configs\x20from\x20','Local','getBrowserVersion','getBuildName','Getting\x20','warn','entries','238533DTnnmd','cwd','node_modules','browserstack.localIdentifier','includes','W3CMapping','utf8','browserstackLocal','getAccessKey','getConfigPath','useW3C','loggerConsole','startLocalBinarySync','slice','join','readFileSync','nodeagent/','browserstack-local','2914740QiBmrN','forceLocal','buildName','userName','\x20doesn\x27t\x20exist\x20at\x20','getBrowserName','60516nAQldG','split','loggerFile','://','\x20to\x20capabilities.','path','getAgentVersion','BROWSERSTACK_LOCAL_IDENTIFIER','../../package.json','browser_version','trim','capabilities','parameters_','setLocalIdentifier','jest-runner','length','build','httpProxy','selenium-webdriver/index.js','Local\x20set\x20to\x20true.\x20Adding\x20local:\x20true\x20and\x20localIdentifier:\x20','Command','key','Stopping\x20local\x20binary','stop','proxyHost','BROWSERSTACK_USERNAME','browserStackLocalOptions','getPlatformLevelCapabilities','localOptions','modifyBrowserStackCaps','existsSync','browserstack.yml','setProxySettings','setLocalArgs','cloneDeep','modifyBrowserStackW3CCaps','BROWSERSTACK_BUILD_NAME','proxyPass','parallelsPerPlatform','debug'];a8_0xf785=function(){return _0x19bc4d;};return a8_0xf785();}(function(_0x2184ca,_0x3c3616){const _0x1906b2=a8_0xcd24,_0x2a31da=_0x2184ca();while(!![]){try{const _0x3ad630=parseInt(_0x1906b2(0x23f))/0x1+parseInt(_0x1906b2(0x21d))/0x2+parseInt(_0x1906b2(0x257))/0x3+-parseInt(_0x1906b2(0x206))/0x4*(parseInt(_0x1906b2(0x21a))/0x5)+-parseInt(_0x1906b2(0x232))/0x6+parseInt(_0x1906b2(0x207))/0x7+parseInt(_0x1906b2(0x230))/0x8*(-parseInt(_0x1906b2(0x251))/0x9);if(_0x3ad630===_0x3c3616)break;else _0x2a31da['push'](_0x2a31da['shift']());}catch(_0x20efb7){_0x2a31da['push'](_0x2a31da['shift']());}}}(a8_0xf785,0x8db27));const _=require(a8_0x2a4f32(0x231)),path=require(a8_0x2a4f32(0x25c)),fs=require('fs'),yaml=require(a8_0x2a4f32(0x223)),BrowserstackLocalLauncher=require(a8_0x2a4f32(0x250)),{execSync}=require(a8_0x2a4f32(0x218)),W3CMapping=require('./w3cMapping')[a8_0x2a4f32(0x244)](),transports=require(a8_0x2a4f32(0x204))[a8_0x2a4f32(0x22c)],logger=require('./logger')[a8_0x2a4f32(0x237)],GLOBAL_MODULE_PATH=execSync(a8_0x2a4f32(0x21c))[a8_0x2a4f32(0x205)]()[a8_0x2a4f32(0x261)]();function a8_0xcd24(_0x46e588,_0x5cf2fd){const _0xf785fd=a8_0xf785();return a8_0xcd24=function(_0xcd249,_0x655582){_0xcd249=_0xcd249-0x1e6;let _0x1d42ff=_0xf785fd[_0xcd249];return _0x1d42ff;},a8_0xcd24(_0x46e588,_0x5cf2fd);}exports[a8_0x2a4f32(0x248)]=()=>{const _0x23abef=a8_0x2a4f32,_0x51c99b=[path[_0x23abef(0x24d)](process[_0x23abef(0x240)](),_0x23abef(0x1f5)),path[_0x23abef(0x24d)](process[_0x23abef(0x240)](),'browserstack.yaml')];if(fs[_0x23abef(0x1f4)](_0x51c99b[0x0]))return _0x51c99b[0x0];if(fs[_0x23abef(0x1f4)](_0x51c99b[0x1]))return _0x51c99b[0x1];return![];},exports[a8_0x2a4f32(0x201)]=_0x3381cb=>{const _0x4dd52c=a8_0x2a4f32;if(_0x3381cb){logger[_0x4dd52c(0x1ff)](_0x4dd52c(0x238)+_0x3381cb);try{return yaml[_0x4dd52c(0x226)](fs[_0x4dd52c(0x24e)](_0x3381cb,_0x4dd52c(0x245)));}catch(_0x1a3e47){return logger[_0x4dd52c(0x235)](_0x1a3e47['message']),{'error':!![]};}}else return logger[_0x4dd52c(0x235)]('Config\x20file\x20does\x20not\x20exist\x20at',process[_0x4dd52c(0x240)]()),{'error':!![]};},exports[a8_0x2a4f32(0x220)]=_0x2da3c2=>{const _0x5eb580=a8_0x2a4f32;return _0x2da3c2[_0x5eb580(0x254)]||_0x2da3c2[_0x5eb580(0x227)]||process[_0x5eb580(0x20f)][_0x5eb580(0x1ef)];},exports[a8_0x2a4f32(0x247)]=_0x419f62=>{const _0x44cbfc=a8_0x2a4f32;return _0x419f62[_0x44cbfc(0x22f)]||_0x419f62['browserstack.key']||process[_0x44cbfc(0x20f)][_0x44cbfc(0x212)];},exports['getProxyUrl']=_0x3187a9=>{const _0x58d865=a8_0x2a4f32;return _0x3187a9[_0x58d865(0x1e7)]||_0x3187a9['httpsProxy']||process[_0x58d865(0x20f)]['HTTP_PROXY']||process[_0x58d865(0x20f)][_0x58d865(0x1fe)];},exports[a8_0x2a4f32(0x264)]=_0x348f30=>{const _0x12456a=a8_0x2a4f32;if(_0x348f30[_0x12456a(0x1f0)]&&!this[_0x12456a(0x20c)](_0x348f30[_0x12456a(0x1f0)][_0x12456a(0x21e)]))return _0x348f30[_0x12456a(0x21e)]=_0x348f30[_0x12456a(0x1f0)][_0x12456a(0x21e)];if(!this['isUndefined'](process['env'][_0x12456a(0x25e)]))return _0x348f30['localIdentifier']=process[_0x12456a(0x20f)][_0x12456a(0x25e)];_0x348f30[_0x12456a(0x21e)]=null;},exports[a8_0x2a4f32(0x1f7)]=_0x44616b=>{const _0x59d177=a8_0x2a4f32;let _0x2cbff8={};return this[_0x59d177(0x264)](_0x44616b),_0x2cbff8[_0x59d177(0x1eb)]=_0x44616b['accessKey'],!this[_0x59d177(0x20c)](_0x44616b[_0x59d177(0x21e)])&&(_0x2cbff8[_0x59d177(0x21e)]=_0x44616b[_0x59d177(0x21e)]),_0x2cbff8[_0x59d177(0x203)]=0x3,_0x2cbff8[_0x59d177(0x252)]=_0x44616b['browserStackLocalOptions']&&_0x44616b[_0x59d177(0x1f0)][_0x59d177(0x252)],_0x2cbff8[_0x59d177(0x1ee)]=_0x44616b[_0x59d177(0x20b)]['proxyHost'],_0x2cbff8['proxyPort']=_0x44616b[_0x59d177(0x20b)][_0x59d177(0x20e)],_0x2cbff8['proxyUser']=_0x44616b[_0x59d177(0x20b)][_0x59d177(0x22e)],_0x2cbff8[_0x59d177(0x1fb)]=_0x44616b[_0x59d177(0x20b)][_0x59d177(0x221)],_0x44616b[_0x59d177(0x1f0)]&&_0x44616b[_0x59d177(0x1f0)][_0x59d177(0x208)]&&(_0x2cbff8[_0x59d177(0x208)]=_0x44616b[_0x59d177(0x1f0)][_0x59d177(0x208)]),_0x2cbff8;},exports[a8_0x2a4f32(0x1f6)]=_0x5e38c3=>{const _0x4deefd=a8_0x2a4f32,_0x3ee5be={};_0x5e38c3['proxySettings']=_0x3ee5be;let _0x304002=this['getProxyUrl'](_0x5e38c3);if(!_0x304002)return;_0x3ee5be['proxyUrl']=_0x304002,_0x304002=_0x304002['toString']();const _0x4d10a6=_0x304002[_0x4deefd(0x258)](_0x4deefd(0x25a)),_0x58068c=_0x4d10a6[0x1]&&_0x4d10a6[0x1]['split']('@');let _0xfc9157,_0xedab1b;_0xfc9157=_0x58068c&&_0x58068c[_0x58068c[_0x4deefd(0x266)]-0x1]&&_0x58068c[_0x58068c['length']-0x1]['split'](':'),_0x58068c&&_0x58068c[_0x4deefd(0x266)]>0x1&&(_0xedab1b=_0x58068c[_0x4deefd(0x24c)](0x0,_0x58068c[_0x4deefd(0x266)]-0x1)[_0x4deefd(0x24d)]('@')[_0x4deefd(0x258)](':')),_0x3ee5be['proxyProtocol']=_0x4d10a6[0x0],_0xfc9157&&(_0x3ee5be[_0x4deefd(0x1ee)]=_0xfc9157[0x0],_0x3ee5be['proxyPort']=_0xfc9157[0x1]),_0xedab1b&&(_0x3ee5be[_0x4deefd(0x22e)]=_0xedab1b[0x0],_0x3ee5be[_0x4deefd(0x221)]=_0xedab1b[0x1]),delete _0x5e38c3[_0x4deefd(0x1e7)],delete _0x5e38c3['httpsProxy'];},exports[a8_0x2a4f32(0x209)]=_0x1caad8=>{const _0x6c43d1=a8_0x2a4f32;if(this['isUndefined'](_0x1caad8[_0x6c43d1(0x215)]))return;const _0x597871=[_0x6c43d1(0x23d),_0x6c43d1(0x1ff),'debug'];if(!_0x597871[_0x6c43d1(0x243)](_0x1caad8['logLevel']))return;transports[_0x6c43d1(0x24a)][_0x6c43d1(0x225)]=_0x1caad8[_0x6c43d1(0x215)],transports[_0x6c43d1(0x259)][_0x6c43d1(0x225)]=_0x1caad8[_0x6c43d1(0x215)],logger[_0x6c43d1(0x1fd)]('Log\x20level\x20set\x20to',_0x1caad8[_0x6c43d1(0x215)]);},exports['useW3C']=_0x4bf623=>{const _0x41a77d=a8_0x2a4f32;return!this[_0x41a77d(0x20c)](_0x4bf623[_0x41a77d(0x249)])?_0x4bf623[_0x41a77d(0x249)]:!![];},exports[a8_0x2a4f32(0x23b)]=_0x16f4e9=>{const _0x4a681d=a8_0x2a4f32;return _0x16f4e9[_0x4a681d(0x1e6)]||_0x16f4e9[_0x4a681d(0x253)]||process[_0x4a681d(0x20f)][_0x4a681d(0x1fa)];},exports[a8_0x2a4f32(0x20c)]=_0x469408=>_0x469408===undefined||_0x469408===null,exports[a8_0x2a4f32(0x211)]=_0x26fc33=>{const _0xd2dcf2=a8_0x2a4f32;return _0x26fc33[_0xd2dcf2(0x246)]||_0x26fc33['local']||process[_0xd2dcf2(0x20f)]['BROWSERSTACK_LOCAL']||![];},exports[a8_0x2a4f32(0x22a)]=_0x19a621=>{return _0x19a621['localIdentifier'];},exports[a8_0x2a4f32(0x256)]=(_0x73caca,_0x306132=0x0)=>{const _0x2c6357=a8_0x2a4f32;return combination=_0x73caca[_0x2c6357(0x229)][_0x306132],combination[_0x2c6357(0x222)]||combination['browserName'];},exports[a8_0x2a4f32(0x23a)]=(_0x335071,_0x835d64=0x0)=>{const _0x5d81c0=a8_0x2a4f32;return combination=_0x335071[_0x5d81c0(0x229)][_0x835d64],combination['browser_version']||combination[_0x5d81c0(0x20d)];},exports[a8_0x2a4f32(0x202)]=(_0x586537,_0x462fd2=0x0)=>{const _0x172978=a8_0x2a4f32;return combination=_0x586537[_0x172978(0x229)][_0x462fd2],combination['os'];},exports[a8_0x2a4f32(0x219)]=(_0x4368cc,_0x345f94=0x0)=>{const _0x15c379=a8_0x2a4f32;return combination=_0x4368cc[_0x15c379(0x229)][_0x345f94],this['toString'](combination[_0x15c379(0x210)]||combination['osVersion']);},exports[a8_0x2a4f32(0x25d)]=()=>{const _0x45a405=a8_0x2a4f32;let _0x7aaccc=path['join'](__dirname,_0x45a405(0x25f));if(fs[_0x45a405(0x1f4)](_0x7aaccc))return require(_0x7aaccc)[_0x45a405(0x217)];},exports[a8_0x2a4f32(0x21b)]=_0x2f5eef=>{const _0x231371=a8_0x2a4f32;var _0x3ccb01=_[_0x231371(0x1f8)](_0x2f5eef);let _0x48a055=[_0x231371(0x227),_0x231371(0x254),'browserstack.key',_0x231371(0x22f),_0x231371(0x20a),_0x231371(0x246),_0x231371(0x1f0),_0x231371(0x1f2),_0x231371(0x249),'platforms'];return _0x48a055[_0x231371(0x224)](_0x52c56b=>{delete _0x3ccb01[_0x52c56b];}),_0x3ccb01;},exports[a8_0x2a4f32(0x1f1)]=_0x4b7660=>{const _0x27f51e=a8_0x2a4f32;var _0x530ef5=_['cloneDeep'](_0x4b7660);let _0x52e76e=['os','osVersion',_0x27f51e(0x210),_0x27f51e(0x222),_0x27f51e(0x213),_0x27f51e(0x20d),_0x27f51e(0x260)];return _0x52e76e[_0x27f51e(0x224)](_0x1cc954=>{delete _0x530ef5[_0x1cc954];}),_0x530ef5;},exports[a8_0x2a4f32(0x1f3)]=(_0x4b9994,_0x3bf062=0x0)=>{const _0x14e72c=a8_0x2a4f32;let _0x14c43f={'useW3C':![]};_0x14c43f[_0x14e72c(0x227)]=this['getUserName'](_0x4b9994),_0x14c43f[_0x14e72c(0x214)]=this['getAccessKey'](_0x4b9994);this['getLocalConfig'](_0x4b9994)==!![]&&(_0x14c43f['browserstack.local']=this[_0x14e72c(0x211)](_0x4b9994),!this[_0x14e72c(0x20c)](this[_0x14e72c(0x22a)](_0x4b9994))&&(_0x14c43f[_0x14e72c(0x242)]=this[_0x14e72c(0x22a)](_0x4b9994)),logger[_0x14e72c(0x1fd)]('Local\x20set\x20to\x20true.\x20Adding\x20browserstack.local:\x20true\x20and\x20browserstack.localIdentifier:\x20'+this[_0x14e72c(0x22a)](_0x4b9994)+_0x14e72c(0x25b)));_0x14c43f['os']=this[_0x14e72c(0x202)](_0x4b9994,_0x3bf062),_0x14c43f[_0x14e72c(0x210)]=this['getOsVersion'](_0x4b9994,_0x3bf062),_0x14c43f[_0x14e72c(0x213)]=this[_0x14e72c(0x256)](_0x4b9994,_0x3bf062),_0x14c43f['browser_version']=this[_0x14e72c(0x23a)](_0x4b9994,_0x3bf062);for(const [_0x21de0b,_0x2692ed]of Object['entries'](this['getPlatformLevelCapabilities'](_0x4b9994[_0x14e72c(0x229)][_0x3bf062]))){_0x14c43f[_0x21de0b]=_0x2692ed;}_0x14c43f[_0x14e72c(0x1e6)]=this[_0x14e72c(0x23b)](_0x4b9994);for(const [_0x25aacc,_0xa82dc1]of Object['entries'](this['getRootLevelCapabilities'](_0x4b9994))){_0x14c43f[_0x25aacc]=_0xa82dc1;}return _0x14c43f['browserstackSDK']=_0x14e72c(0x24f)+this[_0x14e72c(0x25d)](),delete _0x14c43f[_0x14e72c(0x20b)],delete _0x14c43f[_0x14e72c(0x215)],delete _0x14c43f[_0x14e72c(0x1fc)],_0x14c43f;},exports[a8_0x2a4f32(0x1f9)]=(_0x40ddea,_0x357428=0x0)=>{const _0x3bfaef=a8_0x2a4f32;let _0x488fb8={'useW3C':!![]};_0x488fb8['userName']=this[_0x3bfaef(0x220)](_0x40ddea),_0x488fb8[_0x3bfaef(0x22f)]=this['getAccessKey'](_0x40ddea);this[_0x3bfaef(0x211)](_0x40ddea)==!![]&&(_0x488fb8[_0x3bfaef(0x20a)]=this['getLocalConfig'](_0x40ddea),!this[_0x3bfaef(0x20c)](this['getLocalIdentifier'](_0x40ddea))&&(_0x488fb8[_0x3bfaef(0x21e)]=this['getLocalIdentifier'](_0x40ddea)),logger['debug'](_0x3bfaef(0x1e9)+this[_0x3bfaef(0x22a)](_0x40ddea)+_0x3bfaef(0x25b)));_0x488fb8['os']=this[_0x3bfaef(0x202)](_0x40ddea,_0x357428),_0x488fb8[_0x3bfaef(0x236)]=this[_0x3bfaef(0x219)](_0x40ddea,_0x357428);for(const [_0x555d3d,_0x1d2b86]of Object[_0x3bfaef(0x23e)](this[_0x3bfaef(0x1f1)](_0x40ddea[_0x3bfaef(0x229)][_0x357428]))){_0x555d3d in W3CMapping?_0x488fb8[W3CMapping[_0x555d3d]]=_0x1d2b86:_0x488fb8[_0x555d3d]=_0x1d2b86;}_0x488fb8[_0x3bfaef(0x253)]=this[_0x3bfaef(0x23b)](_0x40ddea);for(const [_0x417627,_0x19dc70]of Object[_0x3bfaef(0x23e)](this[_0x3bfaef(0x21b)](_0x40ddea))){_0x417627 in W3CMapping?_0x488fb8[W3CMapping[_0x417627]]=_0x19dc70:_0x488fb8[_0x417627]=_0x19dc70;}return _0x488fb8['browserstackSDK']='nodeagent/'+this['getAgentVersion'](),delete _0x488fb8[_0x3bfaef(0x20b)],delete _0x488fb8[_0x3bfaef(0x215)],delete _0x488fb8[_0x3bfaef(0x1fc)],{'bstack:options':_0x488fb8,'browserName':this['getBrowserName'](_0x40ddea,_0x357428),'browserVersion':this['getBrowserVersion'](_0x40ddea,_0x357428)};},exports[a8_0x2a4f32(0x234)]=()=>{const _0x486ece=a8_0x2a4f32;return this['requireModule'](_0x486ece(0x1e8));},exports['requireModule']=_0x6c57bc=>{const _0xd1b97f=a8_0x2a4f32;logger[_0xd1b97f(0x1fd)](_0xd1b97f(0x23c)+_0x6c57bc+_0xd1b97f(0x200)+process['cwd']());const _0x4f60c0=path[_0xd1b97f(0x24d)](process[_0xd1b97f(0x240)](),'node_modules',_0x6c57bc);if(!fs['existsSync'](_0x4f60c0)){logger[_0xd1b97f(0x1fd)](_0x6c57bc+_0xd1b97f(0x255)+process['cwd']()),logger[_0xd1b97f(0x1fd)]('Getting\x20'+_0x6c57bc+_0xd1b97f(0x200)+GLOBAL_MODULE_PATH);let _0x4e28dc;if([_0xd1b97f(0x265),'jest-runtime'][_0xd1b97f(0x243)](_0x6c57bc))_0x4e28dc=path[_0xd1b97f(0x24d)](GLOBAL_MODULE_PATH,_0xd1b97f(0x21f),_0xd1b97f(0x241),_0x6c57bc);else _0x4e28dc=path['join'](GLOBAL_MODULE_PATH,_0x6c57bc);if(!fs[_0xd1b97f(0x1f4)](_0x4e28dc))throw new Error(_0x6c57bc+_0xd1b97f(0x233));return require(_0x4e28dc);}return require(_0x4f60c0);},exports[a8_0x2a4f32(0x205)]=_0x471314=>{const _0x4866d2=a8_0x2a4f32;if(this[_0x4866d2(0x20c)](_0x471314))return null;if(typeof _0x471314===_0x4866d2(0x216))return _0x471314[_0x4866d2(0x205)]();return _0x471314;},exports[a8_0x2a4f32(0x24b)]=_0x386b48=>{const _0x5457d3=a8_0x2a4f32;logger['debug'](_0x5457d3(0x22b));const _0x5bcc39=new BrowserstackLocalLauncher[(_0x5457d3(0x239))](),_0x2fb13b=this[_0x5457d3(0x1f7)](_0x386b48),_0x5b5a80=_0x5bcc39['startSync'](_0x2fb13b);if(_0x5b5a80)throw _0x5b5a80;return isLocalRunning=_0x5bcc39['isRunning'](),_0x5bcc39;},exports['stopLocalBinary']=async _0x2b232d=>{return new Promise((_0x203447,_0x1521d9)=>{const _0x29869d=a8_0xcd24;logger['debug'](_0x29869d(0x1ec)),_0x2b232d&&_0x2b232d[_0x29869d(0x1ed)](_0x5cbb29=>{if(_0x5cbb29)return _0x1521d9(_0x5cbb29);_0x203447();});});},exports['modifyCommand']=()=>{const _0x45aea9=a8_0x2a4f32,_0x26f00f=this[_0x45aea9(0x22d)](_0x45aea9(0x228));class _0x319c3e extends _0x26f00f[_0x45aea9(0x1ea)]{constructor(..._0x2dc2a3){super(..._0x2dc2a3);}['setParameter'](_0x1e8f84,_0x37715e){const _0x42537a=_0x45aea9;return this[_0x42537a(0x263)][_0x1e8f84]=_0x37715e,_0x1e8f84==='desiredCapabilities'&&(this['parameters_'][_0x42537a(0x262)]={'alwaysMatch':_0x37715e}),this;}}_0x26f00f[_0x45aea9(0x1ea)]=_0x319c3e;};
@@ -1 +1 @@
1
- const a9_0x278186=a9_0x2d38;function a9_0x2d38(_0x1e090e,_0x435814){const _0x326d1a=a9_0x326d();return a9_0x2d38=function(_0x2d3827,_0x2e87bc){_0x2d3827=_0x2d3827-0xb9;let _0x125eee=_0x326d1a[_0x2d3827];return _0x125eee;},a9_0x2d38(_0x1e090e,_0x435814);}(function(_0x40ed31,_0x139566){const _0x1c68ce=a9_0x2d38,_0x1d155c=_0x40ed31();while(!![]){try{const _0x2c9643=-parseInt(_0x1c68ce(0xd1))/0x1*(-parseInt(_0x1c68ce(0xcd))/0x2)+parseInt(_0x1c68ce(0xcf))/0x3*(parseInt(_0x1c68ce(0xca))/0x4)+-parseInt(_0x1c68ce(0xbf))/0x5+-parseInt(_0x1c68ce(0xcb))/0x6+parseInt(_0x1c68ce(0xcc))/0x7*(parseInt(_0x1c68ce(0xc8))/0x8)+parseInt(_0x1c68ce(0xce))/0x9+-parseInt(_0x1c68ce(0xc7))/0xa*(parseInt(_0x1c68ce(0xbe))/0xb);if(_0x2c9643===_0x139566)break;else _0x1d155c['push'](_0x1d155c['shift']());}catch(_0x256275){_0x1d155c['push'](_0x1d155c['shift']());}}}(a9_0x326d,0xde9be));function a9_0x326d(){const _0x1cd78b=['existsSync','30zvnnFU','111496VFLoaa','winstonLogger','62024YpBfne','4767234EEkaeJ','112HPtfLq','2LrdQTX','15240987FkyfsL','102FcdrAW','winston','1023041wUXxKT','toLocaleString','console.info','Logger','/usage.log','loggerConsole','File','6211183NRMpVD','331880LKFIqD','log','transports','loggerFile','mkdirSync','join','Console'];a9_0x326d=function(){return _0x1cd78b;};return a9_0x326d();}const winston=require(a9_0x278186(0xd0)),fs=require('fs'),path=require('path'),logDir=a9_0x278186(0xc0);!fs[a9_0x278186(0xc6)](logDir)&&fs[a9_0x278186(0xc3)](logDir);const transports={'loggerConsole':new winston[(a9_0x278186(0xc1))][(a9_0x278186(0xc5))]({'name':a9_0x278186(0xb9),'colorize':!![],'timestamp':function(){const _0x19d7a9=a9_0x278186;return'['+new Date()[_0x19d7a9(0xd2)]()+']';},'prettyPrint':!![]}),'loggerFile':new winston[(a9_0x278186(0xc1))][(a9_0x278186(0xbd))]({'filename':path[a9_0x278186(0xc4)](logDir,a9_0x278186(0xbb))})},winstonLoggerParams={'transports':[transports[a9_0x278186(0xbc)],transports[a9_0x278186(0xc2)]]},winstonFileLoggerParams={'transports':[transports[a9_0x278186(0xc2)]]};exports[a9_0x278186(0xc9)]=new winston[(a9_0x278186(0xba))](winstonLoggerParams),exports['fileLogger']=new winston[(a9_0x278186(0xba))](winstonFileLoggerParams),exports[a9_0x278186(0xc1)]=transports;
1
+ const a9_0x1626e5=a9_0x4ab5;(function(_0x124850,_0x5cdaf7){const _0x4b2069=a9_0x4ab5,_0xffe65c=_0x124850();while(!![]){try{const _0x431fda=parseInt(_0x4b2069(0x1e8))/0x1*(parseInt(_0x4b2069(0x1fc))/0x2)+parseInt(_0x4b2069(0x1e6))/0x3+parseInt(_0x4b2069(0x1fa))/0x4*(-parseInt(_0x4b2069(0x1f8))/0x5)+parseInt(_0x4b2069(0x1e7))/0x6*(parseInt(_0x4b2069(0x1f5))/0x7)+parseInt(_0x4b2069(0x1ee))/0x8*(-parseInt(_0x4b2069(0x1f2))/0x9)+parseInt(_0x4b2069(0x1fb))/0xa+-parseInt(_0x4b2069(0x1f9))/0xb;if(_0x431fda===_0x5cdaf7)break;else _0xffe65c['push'](_0xffe65c['shift']());}catch(_0x17fbe8){_0xffe65c['push'](_0xffe65c['shift']());}}}(a9_0xc628,0x77793));const winston=require(a9_0x1626e5(0x1ef)),fs=require('fs'),path=require('path'),logDir=a9_0x1626e5(0x1f0);!fs[a9_0x1626e5(0x1ed)](logDir)&&fs['mkdirSync'](logDir);function a9_0xc628(){const _0x44c0a4=['loggerConsole','Logger','5255wxqQJV','3305401dkjUft','1724Llczwy','9007170DRfqhU','340188CIUmhY','1937376xMLelE','887178ksEWQh','1ShbgQa','winstonLogger','transports','fileLogger','loggerFile','existsSync','8mEzIkU','winston','log','join','5594679zICnxJ','console.info','/usage.log','7uEdkuh'];a9_0xc628=function(){return _0x44c0a4;};return a9_0xc628();}function a9_0x4ab5(_0x3d1afe,_0x774152){const _0xc62883=a9_0xc628();return a9_0x4ab5=function(_0x4ab581,_0x5cad64){_0x4ab581=_0x4ab581-0x1e6;let _0x45f74a=_0xc62883[_0x4ab581];return _0x45f74a;},a9_0x4ab5(_0x3d1afe,_0x774152);}const transports={'loggerConsole':new winston['transports']['Console']({'name':a9_0x1626e5(0x1f3),'colorize':!![],'timestamp':function(){return'['+new Date()['toLocaleString']()+']';},'prettyPrint':!![]}),'loggerFile':new winston[(a9_0x1626e5(0x1ea))]['File']({'filename':path[a9_0x1626e5(0x1f1)](logDir,a9_0x1626e5(0x1f4))})},winstonLoggerParams={'transports':[transports[a9_0x1626e5(0x1f6)],transports['loggerFile']]},winstonFileLoggerParams={'transports':[transports[a9_0x1626e5(0x1ec)]]};exports[a9_0x1626e5(0x1e9)]=new winston['Logger'](winstonLoggerParams),exports[a9_0x1626e5(0x1eb)]=new winston[(a9_0x1626e5(0x1f7))](winstonFileLoggerParams),exports[a9_0x1626e5(0x1ea)]=transports;
@@ -1 +1 @@
1
- function a10_0x3a8a(_0x20386b,_0x473ed0){const _0x23cc6a=a10_0x23cc();return a10_0x3a8a=function(_0x3a8a7c,_0x2667c4){_0x3a8a7c=_0x3a8a7c-0xa0;let _0x32c848=_0x23cc6a[_0x3a8a7c];return _0x32c848;},a10_0x3a8a(_0x20386b,_0x473ed0);}const a10_0x3d6d20=a10_0x3a8a;(function(_0x553c5a,_0x486de3){const _0x433c22=a10_0x3a8a,_0x5656b9=_0x553c5a();while(!![]){try{const _0x878d95=parseInt(_0x433c22(0xaa))/0x1+parseInt(_0x433c22(0xa7))/0x2*(-parseInt(_0x433c22(0xa5))/0x3)+parseInt(_0x433c22(0xb3))/0x4+parseInt(_0x433c22(0xb4))/0x5+-parseInt(_0x433c22(0xae))/0x6*(parseInt(_0x433c22(0xad))/0x7)+parseInt(_0x433c22(0xac))/0x8*(-parseInt(_0x433c22(0xa1))/0x9)+-parseInt(_0x433c22(0xab))/0xa;if(_0x878d95===_0x486de3)break;else _0x5656b9['push'](_0x5656b9['shift']());}catch(_0x146b81){_0x5656b9['push'](_0x5656b9['shift']());}}}(a10_0x23cc,0x86192),module[a10_0x3d6d20(0xa9)]=function(){const _0x4f45c2=a10_0x3d6d20,_0x1073bc=require(_0x4f45c2(0xa0)),_0x266086=require(_0x4f45c2(0xb1)),_0x5d3071=0x1e*0x3e8;if(_0x1073bc[_0x4f45c2(0xa3)]&&_0x1073bc[_0x4f45c2(0xa3)][_0x4f45c2(0xa8)](_0x4f45c2(0xa6)))_0x1073bc[_0x4f45c2(0xa3)]['keepAlive']=!![],_0x266086[_0x4f45c2(0xa3)][_0x4f45c2(0xa6)]=!![],_0x1073bc['globalAgent'][_0x4f45c2(0xaf)]=_0x5d3071,_0x266086[_0x4f45c2(0xa3)][_0x4f45c2(0xaf)]=_0x5d3071;else{const _0x11a7c2=new _0x1073bc[(_0x4f45c2(0xb2))]({'keepAlive':!![],'keepAliveMsecs':_0x5d3071}),_0x1b1cfb=new _0x266086[(_0x4f45c2(0xb2))]({'keepAlive':!![],'keepAliveMsecs':_0x5d3071}),_0x534c59=_0x1073bc[_0x4f45c2(0xb0)],_0x1da1c7=_0x266086[_0x4f45c2(0xb0)];_0x1073bc['request']=function(_0x3e4214,_0x661788){const _0x274376=_0x4f45c2;return _0x3e4214['protocol']==_0x274376(0xa4)?(_0x3e4214['agent']=_0x1b1cfb,_0x1da1c7(_0x3e4214,_0x661788)):(_0x3e4214[_0x274376(0xa2)]=_0x11a7c2,_0x534c59(_0x3e4214,_0x661788));};}});function a10_0x23cc(){const _0x4896ee=['request','https','Agent','3998644bExBei','428420vkNiCa','http','9sTNfNu','agent','globalAgent','https:','1771383gIeLYs','keepAlive','2GlcjiI','hasOwnProperty','exports','777503lAaQpn','1721780zCrnjK','3831272HUpvnV','504238ynHCsx','6EnAgfX','keepAliveMsecs'];a10_0x23cc=function(){return _0x4896ee;};return a10_0x23cc();}
1
+ function a10_0x1ca8(){const _0x5c8d6c=['13335376ajrIQC','2Xyrvza','request','protocol','globalAgent','2823305aXlxlf','keepAliveMsecs','https','exports','https:','128617CorSVF','7hrZmAW','10385487OkhGkA','keepAlive','Agent','986460qHANnU','8nOdMmQ','14309230YdDiIq','1375704YkDOWl'];a10_0x1ca8=function(){return _0x5c8d6c;};return a10_0x1ca8();}function a10_0x4976(_0x20c486,_0x288339){const _0x1ca8cc=a10_0x1ca8();return a10_0x4976=function(_0x497608,_0x58370e){_0x497608=_0x497608-0xe1;let _0x34f724=_0x1ca8cc[_0x497608];return _0x34f724;},a10_0x4976(_0x20c486,_0x288339);}const a10_0x27ff23=a10_0x4976;(function(_0x4f3581,_0x56efdd){const _0x588714=a10_0x4976,_0x2b7585=_0x4f3581();while(!![]){try{const _0x3b7b87=-parseInt(_0x588714(0xea))/0x1*(-parseInt(_0x588714(0xe1))/0x2)+parseInt(_0x588714(0xef))/0x3*(parseInt(_0x588714(0xf0))/0x4)+-parseInt(_0x588714(0xe5))/0x5+-parseInt(_0x588714(0xf2))/0x6+parseInt(_0x588714(0xeb))/0x7*(-parseInt(_0x588714(0xf3))/0x8)+parseInt(_0x588714(0xec))/0x9+parseInt(_0x588714(0xf1))/0xa;if(_0x3b7b87===_0x56efdd)break;else _0x2b7585['push'](_0x2b7585['shift']());}catch(_0x592ef8){_0x2b7585['push'](_0x2b7585['shift']());}}}(a10_0x1ca8,0xde3b0),module[a10_0x27ff23(0xe8)]=function(){const _0x30da3b=a10_0x27ff23,_0x5238a1=require('http'),_0x46aab4=require(_0x30da3b(0xe7)),_0x55e4f5=0x1e*0x3e8;if(_0x5238a1[_0x30da3b(0xe4)]&&_0x5238a1[_0x30da3b(0xe4)]['hasOwnProperty']('keepAlive'))_0x5238a1[_0x30da3b(0xe4)][_0x30da3b(0xed)]=!![],_0x46aab4['globalAgent']['keepAlive']=!![],_0x5238a1['globalAgent'][_0x30da3b(0xe6)]=_0x55e4f5,_0x46aab4[_0x30da3b(0xe4)][_0x30da3b(0xe6)]=_0x55e4f5;else{const _0x2f590d=new _0x5238a1['Agent']({'keepAlive':!![],'keepAliveMsecs':_0x55e4f5}),_0x1c0740=new _0x46aab4[(_0x30da3b(0xee))]({'keepAlive':!![],'keepAliveMsecs':_0x55e4f5}),_0x349fb5=_0x5238a1[_0x30da3b(0xe2)],_0x3691b1=_0x46aab4[_0x30da3b(0xe2)];_0x5238a1[_0x30da3b(0xe2)]=function(_0x2cf93,_0x119643){const _0x44bd1f=_0x30da3b;return _0x2cf93[_0x44bd1f(0xe3)]==_0x44bd1f(0xe9)?(_0x2cf93['agent']=_0x1c0740,_0x3691b1(_0x2cf93,_0x119643)):(_0x2cf93['agent']=_0x2f590d,_0x349fb5(_0x2cf93,_0x119643));};}});
@@ -1 +1 @@
1
- function a11_0x5ebb(_0xf5dba6,_0x2f1b8e){var _0x2a1541=a11_0x2a15();return a11_0x5ebb=function(_0x5ebb76,_0x51c84a){_0x5ebb76=_0x5ebb76-0x186;var _0x44882a=_0x2a1541[_0x5ebb76];return _0x44882a;},a11_0x5ebb(_0xf5dba6,_0x2f1b8e);}(function(_0x281765,_0x5f536e){var _0x5cd128=a11_0x5ebb,_0x35ef9a=_0x281765();while(!![]){try{var _0x4e3672=-parseInt(_0x5cd128(0x1a4))/0x1+-parseInt(_0x5cd128(0x18f))/0x2+parseInt(_0x5cd128(0x198))/0x3+-parseInt(_0x5cd128(0x18a))/0x4*(parseInt(_0x5cd128(0x1a5))/0x5)+parseInt(_0x5cd128(0x19c))/0x6+parseInt(_0x5cd128(0x190))/0x7*(parseInt(_0x5cd128(0x19b))/0x8)+parseInt(_0x5cd128(0x1a0))/0x9;if(_0x4e3672===_0x5f536e)break;else _0x35ef9a['push'](_0x35ef9a['shift']());}catch(_0x1b349f){_0x35ef9a['push'](_0x35ef9a['shift']());}}}(a11_0x2a15,0x4a807),exports['W3CMapping']=()=>{var _0x3f8a99=a11_0x5ebb;return{'browserstack.user':'userName','browserstack.key':_0x3f8a99(0x199),'os':'os','os_version':'osVersion','browser':'browser','browser_version':'browserVersion','browserstack.use_w3c':_0x3f8a99(0x19e),'project':'projectName','build':_0x3f8a99(0x196),'name':_0x3f8a99(0x197),'browserstack.local':'local','browserstack.localIdentifier':_0x3f8a99(0x19d),'browserstack.debug':_0x3f8a99(0x19f),'browserstack.console':_0x3f8a99(0x18b),'browserstack.networkLogs':'networkLogs','browserstack.appiumLogs':_0x3f8a99(0x193),'browserstack.video':'video','browserstack.seleniumLogs':'seleniumLogs','browserstack.telemetryLogs':_0x3f8a99(0x188),'browserstack.geoLocation':'geoLocation','browserstack.timezone':_0x3f8a99(0x1a1),'resolution':_0x3f8a99(0x191),'browserstack.selenium_version':_0x3f8a99(0x195),'browserstack.maskCommands':_0x3f8a99(0x186),'browserstack.idleTimeout':_0x3f8a99(0x19a),'browserstack.maskBasicAuth':_0x3f8a99(0x189),'browserstack.autoWait':_0x3f8a99(0x1a6),'browserstack.hosts':_0x3f8a99(0x187),'browserstack.bfcache':_0x3f8a99(0x1a2),'browserstack.wsLocalSupport':_0x3f8a99(0x192),'browserstack.disableCorsRestrictions':'disableCorsRestrictions','device':_0x3f8a99(0x1a3),'realMobile':_0x3f8a99(0x18c),'browserstack.appium_version':'appiumVersion','deviceOrientation':_0x3f8a99(0x194),'browserstack.customNetwork':_0x3f8a99(0x18e),'browserstack.networkProfile':_0x3f8a99(0x18d)};});function a11_0x2a15(){var _0x4f6266=['504294gXTvoD','localIdentifier','useW3c','debug','4288959advkui','timezone','bfcache','deviceName','76772GYxBwh','395pZxLTw','autoWait','browserstack.maskCommands','hosts','telemetryLogs','maskBasicAuth','18844mtIJNc','consoleLogs','realMobile','networkProfile','customNetwork','1185506jmFLSr','234710XfEmft','resolution','wsLocalSupport','appiumLogs','deviceOrientation','seleniumVersion','buildName','sessionName','1252269vpzvjx','accessKey','idleTimeout','88deCdDK'];a11_0x2a15=function(){return _0x4f6266;};return a11_0x2a15();}
1
+ function a11_0x291d(_0x286d9c,_0x114861){var _0x494770=a11_0x4947();return a11_0x291d=function(_0x291dba,_0xeb05a1){_0x291dba=_0x291dba-0x160;var _0x18d7c9=_0x494770[_0x291dba];return _0x18d7c9;},a11_0x291d(_0x286d9c,_0x114861);}var a11_0x3cc62a=a11_0x291d;(function(_0x46c10e,_0x248435){var _0x138bc7=a11_0x291d,_0x2812c3=_0x46c10e();while(!![]){try{var _0x326e2a=-parseInt(_0x138bc7(0x16e))/0x1+-parseInt(_0x138bc7(0x167))/0x2+parseInt(_0x138bc7(0x17a))/0x3*(-parseInt(_0x138bc7(0x160))/0x4)+-parseInt(_0x138bc7(0x171))/0x5*(parseInt(_0x138bc7(0x166))/0x6)+-parseInt(_0x138bc7(0x170))/0x7*(-parseInt(_0x138bc7(0x16f))/0x8)+parseInt(_0x138bc7(0x179))/0x9*(-parseInt(_0x138bc7(0x169))/0xa)+parseInt(_0x138bc7(0x17f))/0xb*(parseInt(_0x138bc7(0x17c))/0xc);if(_0x326e2a===_0x248435)break;else _0x2812c3['push'](_0x2812c3['shift']());}catch(_0x97aa62){_0x2812c3['push'](_0x2812c3['shift']());}}}(a11_0x4947,0x65c04),exports[a11_0x3cc62a(0x164)]=()=>{var _0x3dca30=a11_0x3cc62a;return{'browserstack.user':'userName','browserstack.key':'accessKey','os':'os','os_version':'osVersion','browser':_0x3dca30(0x16b),'browser_version':_0x3dca30(0x163),'browserstack.use_w3c':'useW3c','project':_0x3dca30(0x180),'build':_0x3dca30(0x181),'name':_0x3dca30(0x16d),'browserstack.local':'local','browserstack.localIdentifier':_0x3dca30(0x178),'browserstack.debug':_0x3dca30(0x16a),'browserstack.console':_0x3dca30(0x176),'browserstack.networkLogs':_0x3dca30(0x161),'browserstack.appiumLogs':_0x3dca30(0x174),'browserstack.video':_0x3dca30(0x17b),'browserstack.seleniumLogs':'seleniumLogs','browserstack.telemetryLogs':'telemetryLogs','browserstack.geoLocation':'geoLocation','browserstack.timezone':_0x3dca30(0x168),'resolution':'resolution','browserstack.selenium_version':_0x3dca30(0x172),'browserstack.maskCommands':_0x3dca30(0x162),'browserstack.idleTimeout':_0x3dca30(0x165),'browserstack.maskBasicAuth':'maskBasicAuth','browserstack.autoWait':'autoWait','browserstack.hosts':'hosts','browserstack.bfcache':'bfcache','browserstack.wsLocalSupport':_0x3dca30(0x17d),'browserstack.disableCorsRestrictions':_0x3dca30(0x17e),'device':_0x3dca30(0x173),'realMobile':_0x3dca30(0x175),'browserstack.appium_version':_0x3dca30(0x177),'deviceOrientation':_0x3dca30(0x16c),'browserstack.customNetwork':'customNetwork','browserstack.networkProfile':'networkProfile'};});function a11_0x4947(){var _0x563395=['124850ACJACp','debug','browser','deviceOrientation','sessionName','119379yRlFmH','239104rshseX','35zAqBSk','5LGJdDP','seleniumVersion','deviceName','appiumLogs','realMobile','consoleLogs','appiumVersion','localIdentifier','423QodxTZ','26034FJZzna','video','599244AuBeQr','wsLocalSupport','disableCorsRestrictions','484Hsnmyj','projectName','buildName','156JKnbIC','networkLogs','browserstack.maskCommands','browserVersion','W3CMapping','idleTimeout','1690464rFTxYP','1207072ytaooU','timezone'];a11_0x4947=function(){return _0x563395;};return a11_0x4947();}
package/src/index.js CHANGED
@@ -1 +1 @@
1
- const a12_0x287f55=a12_0x5083;(function(_0xa97e2a,_0x279166){const _0x44c654=a12_0x5083,_0x5caf7c=_0xa97e2a();while(!![]){try{const _0x237632=-parseInt(_0x44c654(0xe5))/0x1+parseInt(_0x44c654(0xf7))/0x2+-parseInt(_0x44c654(0x106))/0x3*(-parseInt(_0x44c654(0x101))/0x4)+parseInt(_0x44c654(0x102))/0x5+parseInt(_0x44c654(0xfe))/0x6*(parseInt(_0x44c654(0xe9))/0x7)+parseInt(_0x44c654(0xe3))/0x8+-parseInt(_0x44c654(0xf5))/0x9*(parseInt(_0x44c654(0xf3))/0xa);if(_0x237632===_0x279166)break;else _0x5caf7c['push'](_0x5caf7c['shift']());}catch(_0x30ff8c){_0x5caf7c['push'](_0x5caf7c['shift']());}}}(a12_0x269d,0xb0275));const logger=require(a12_0x287f55(0xe8))['winstonLogger'];function a12_0x5083(_0x4b894e,_0x5d114c){const _0x269db2=a12_0x269d();return a12_0x5083=function(_0x508361,_0xdff0ad){_0x508361=_0x508361-0xe1;let _0x3b0746=_0x269db2[_0x508361];return _0x3b0746;},a12_0x5083(_0x4b894e,_0x5d114c);}helper=require(a12_0x287f55(0xf8)),{default:BrowserStackSetup}=require('./helpers/BrowserStackSetup');const modify=()=>{const _0x1ed6f4=a12_0x287f55,_0x9b4cbf=new BrowserStackSetup(),_0x1b69d5=_0x9b4cbf[_0x1ed6f4(0x105)];if(_0x1b69d5[_0x1ed6f4(0x103)])logger[_0x1ed6f4(0x103)]('Error\x20occured\x20while\x20reading\x20configs');else{helper[_0x1ed6f4(0x107)](_0x1b69d5),logger[_0x1ed6f4(0xfa)]('Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack'),logger[_0x1ed6f4(0xfd)](_0x1ed6f4(0xef));const _0x2c2b3c=helper[_0x1ed6f4(0xf2)]();class _0x4be7dd extends _0x2c2b3c[_0x1ed6f4(0xf0)]{['setServer'](_0x4d290a){const _0x22d00a=_0x1ed6f4;return this[_0x22d00a(0xfc)]='https://hub.browserstack.com/wd/hub',logger[_0x22d00a(0xfd)]('Hub\x20url\x20set\x20to\x20'+this[_0x22d00a(0xfc)]),this;}['setCapabilities'](){const _0x41aac0=_0x1ed6f4;let _0x235ac9=helper[_0x41aac0(0xe4)](_0x1b69d5),_0x957dd=helper[_0x41aac0(0xeb)](_0x1b69d5),_0x185d71=helper[_0x41aac0(0xec)](_0x1b69d5);return helper[_0x41aac0(0xf1)](_0x957dd)&&logger['warn'](_0x41aac0(0xe2)),helper[_0x41aac0(0xf1)](_0x185d71)&&logger[_0x41aac0(0x104)](_0x41aac0(0xf6)),logger['debug'](_0x41aac0(0x100)),_0x235ac9?this[_0x41aac0(0xe6)]=new _0x2c2b3c[(_0x41aac0(0xed))](helper['modifyBrowserStackW3CCaps'](_0x1b69d5,0x0)):this[_0x41aac0(0xe6)]=new _0x2c2b3c['Capabilities'](helper[_0x41aac0(0xf4)](_0x1b69d5,0x0)),this;}[_0x1ed6f4(0xe1)](){const _0x4244be=_0x1ed6f4;return this[_0x4244be(0xe7)](),this[_0x4244be(0xff)](),_0x1b69d5[_0x4244be(0xfb)]['proxyUrl']&&(this[_0x4244be(0xf9)]=_0x1b69d5[_0x4244be(0xfb)]['proxyUrl'],logger[_0x4244be(0xfd)]('Proxy\x20set\x20to\x20'+this[_0x4244be(0xf9)])),logger[_0x4244be(0xfd)]('Running\x20your\x20test\x20suite\x20on\x20BrowserStack'),super['build']();}}_0x2c2b3c[_0x1ed6f4(0xf0)]=_0x4be7dd;}};function a12_0x269d(){const _0x5ca505=['proxy_','info','proxySettings','url_','debug','8079558iTRSQf','setCapabilities','Setting\x20Browserstack\x20capabilities','4398596tErQLg','3245525HtvGwO','error','warn','config','3BxSSLV','setLogLevel','build','userName\x20not\x20defined','5626072tNDPOC','useW3C','771971TSEkMe','capabilities_','setServer','./helpers/logger','7dsduTe','exports','getUserName','getAccessKey','Capabilities','browserstackAgent','Modifying\x20webdriver\x20builder','Builder','isUndefined','requireSeleniumWebdriver','90lOrfGP','modifyBrowserStackCaps','2471589rKKMzM','accessKey\x20not\x20defined','332958lIuJNe','./helpers/helper'];a12_0x269d=function(){return _0x5ca505;};return a12_0x269d();}module[a12_0x287f55(0xea)][a12_0x287f55(0xee)]=modify;
1
+ const a12_0x248c02=a12_0x567a;function a12_0x21ce(){const _0x98bc00=['modifyBrowserStackCaps','build','Setting\x20Browserstack\x20capabilities','Builder','config','error','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','proxy_','browserstackAgent','isUndefined','7088nvbvdS','Proxy\x20set\x20to\x20','3fEfAmT','proxyUrl','getAccessKey','Error\x20occured\x20while\x20reading\x20configs','url_','18704630TBAsXf','accessKey\x20not\x20defined','256666DINTox','80tOurEX','capabilities_','modifyBrowserStackW3CCaps','87925PwpAdr','setLogLevel','debug','./helpers/logger','proxySettings','requireSeleniumWebdriver','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','4464888lZiQCu','userName\x20not\x20defined','warn','5965274GFXdnM','Hub\x20url\x20set\x20to\x20','2619ANXoAH','setCapabilities','useW3C','getUserName','1248638XtMfwR','./helpers/BrowserStackSetup','winstonLogger','setServer'];a12_0x21ce=function(){return _0x98bc00;};return a12_0x21ce();}function a12_0x567a(_0x3e32b4,_0x27d198){const _0x21ce4a=a12_0x21ce();return a12_0x567a=function(_0x567ae4,_0x3a6f87){_0x567ae4=_0x567ae4-0xe8;let _0x53c053=_0x21ce4a[_0x567ae4];return _0x53c053;},a12_0x567a(_0x3e32b4,_0x27d198);}(function(_0x16cdf2,_0x149f10){const _0x57b424=a12_0x567a,_0x224f10=_0x16cdf2();while(!![]){try{const _0x239904=parseInt(_0x57b424(0xfe))/0x1+-parseInt(_0x57b424(0x112))/0x2*(-parseInt(_0x57b424(0xf7))/0x3)+-parseInt(_0x57b424(0xff))/0x4*(-parseInt(_0x57b424(0x102))/0x5)+parseInt(_0x57b424(0x109))/0x6+parseInt(_0x57b424(0x10c))/0x7+-parseInt(_0x57b424(0xf5))/0x8*(parseInt(_0x57b424(0x10e))/0x9)+-parseInt(_0x57b424(0xfc))/0xa;if(_0x239904===_0x149f10)break;else _0x224f10['push'](_0x224f10['shift']());}catch(_0xb7499f){_0x224f10['push'](_0x224f10['shift']());}}}(a12_0x21ce,0xab136));const logger=require(a12_0x248c02(0x105))[a12_0x248c02(0xe9)];helper=require('./helpers/helper'),{default:BrowserStackSetup}=require(a12_0x248c02(0xe8));const modify=()=>{const _0x2f149c=a12_0x248c02,_0x2e6f06=new BrowserStackSetup(),_0x546ce3=_0x2e6f06[_0x2f149c(0xef)];if(_0x546ce3[_0x2f149c(0xf0)])logger[_0x2f149c(0xf0)](_0x2f149c(0xfa));else{helper[_0x2f149c(0x103)](_0x546ce3),logger['info'](_0x2f149c(0x108)),logger['debug']('Modifying\x20webdriver\x20builder');const _0x4963a4=helper[_0x2f149c(0x107)]();class _0x54ed53 extends _0x4963a4[_0x2f149c(0xee)]{[_0x2f149c(0xea)](_0x4811e1){const _0x48250f=_0x2f149c;return this[_0x48250f(0xfb)]='https://hub.browserstack.com/wd/hub',logger['debug'](_0x48250f(0x10d)+this[_0x48250f(0xfb)]),this;}['setCapabilities'](){const _0x1cbbf8=_0x2f149c;let _0x4dfb2c=helper[_0x1cbbf8(0x110)](_0x546ce3),_0x235b92=helper[_0x1cbbf8(0x111)](_0x546ce3),_0x4b4d9f=helper[_0x1cbbf8(0xf9)](_0x546ce3);return helper[_0x1cbbf8(0xf4)](_0x235b92)&&logger[_0x1cbbf8(0x10b)](_0x1cbbf8(0x10a)),helper['isUndefined'](_0x4b4d9f)&&logger[_0x1cbbf8(0x10b)](_0x1cbbf8(0xfd)),logger['debug'](_0x1cbbf8(0xed)),_0x4dfb2c?this[_0x1cbbf8(0x100)]=new _0x4963a4['Capabilities'](helper[_0x1cbbf8(0x101)](_0x546ce3,0x0)):this['capabilities_']=new _0x4963a4['Capabilities'](helper[_0x1cbbf8(0xeb)](_0x546ce3,0x0)),this;}[_0x2f149c(0xec)](){const _0x3a69fb=_0x2f149c;return this[_0x3a69fb(0xea)](),this[_0x3a69fb(0x10f)](),_0x546ce3[_0x3a69fb(0x106)][_0x3a69fb(0xf8)]&&(this['proxy_']=_0x546ce3[_0x3a69fb(0x106)][_0x3a69fb(0xf8)],logger[_0x3a69fb(0x104)](_0x3a69fb(0xf6)+this[_0x3a69fb(0xf2)])),logger[_0x3a69fb(0x104)](_0x3a69fb(0xf1)),super['build']();}}_0x4963a4[_0x2f149c(0xee)]=_0x54ed53;}};module['exports'][a12_0x248c02(0xf3)]=modify;