ff-automationv2 2.2.32-beta.2 → 2.2.33
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/dist/ai/llmprompts/llmPromptTypes/systemPromptTypes.d.ts +3 -0
- package/dist/ai/llmprompts/promptRegistry.js +4 -0
- package/dist/ai/llmprompts/systemPrompts/actionExtractorPrompt.js +16 -12
- package/dist/ai/llmprompts/systemPrompts/arithmeticPrompt.d.ts +2 -0
- package/dist/ai/llmprompts/systemPrompts/arithmeticPrompt.js +48 -0
- package/dist/ai/llmprompts/systemPrompts/getActionExtractorPrompt.js +1 -1
- package/dist/ai/llmprompts/systemPrompts/getActionExtractorPromptMob.js +1 -1
- package/dist/ai/llmprompts/systemPrompts/inputContextPrompt.js +2 -0
- package/dist/ai/llmprompts/systemPrompts/mobileKeywordExtractor.js +2 -2
- package/dist/ai/llmprompts/userPrompts/userPrompt.js +1 -0
- package/dist/automation/actions/executor.d.ts +1 -0
- package/dist/automation/actions/executor.js +25 -0
- package/dist/automation/actions/interaction/alert/enterDataToAlert.js +2 -2
- package/dist/automation/actions/interaction/alert/getTextPresentOnAlertPopup.js +2 -2
- package/dist/automation/actions/interaction/arithmetic/arithmeticOperations.d.ts +2 -0
- package/dist/automation/actions/interaction/arithmetic/arithmeticOperations.js +61 -0
- package/dist/automation/actions/interaction/clear/clearAndEnter.js +3 -3
- package/dist/automation/actions/interaction/elementlessActions/getOtp.js +5 -5
- package/dist/automation/actions/interaction/enterActions/EnterInputIntoElementFromClipBoardInterface_mob.js +2 -2
- package/dist/automation/actions/interaction/enterActions/enterInput.js +3 -3
- package/dist/automation/actions/interaction/enterActions/enterInputAndPress.js +3 -3
- package/dist/automation/actions/interaction/enterActions/enterUrl.js +3 -3
- package/dist/automation/actions/interaction/enterActions/enterusingJs.js +2 -2
- package/dist/automation/actions/interaction/enterActions/waitAndEnter.js +3 -3
- package/dist/automation/actions/interaction/get/MOB_GetADBLogsForGivenAppPackage.js +2 -2
- package/dist/automation/actions/interaction/get/MOB_GetAllContexts.js +2 -2
- package/dist/automation/actions/interaction/get/MOB_GetAllWindowHandles.js +3 -3
- package/dist/automation/actions/interaction/get/MOB_GetAltitude.js +2 -2
- package/dist/automation/actions/interaction/get/MOB_GetBatteryPercentage.js +2 -2
- package/dist/automation/actions/interaction/get/MOB_GetBatteryStatus.js +2 -2
- package/dist/automation/actions/interaction/get/MOB_GetClipBoardText.js +2 -2
- package/dist/automation/actions/interaction/get/MOB_GetCurrentActivity.js +2 -2
- package/dist/automation/actions/interaction/get/MOB_GetCurrentAppPackage.js +2 -2
- package/dist/automation/actions/interaction/get/MOB_GetCurrentContext.js +2 -2
- package/dist/automation/actions/interaction/get/MOB_GetCurrentDeviceDate.js +2 -2
- package/dist/automation/actions/interaction/get/MOB_GetCurrentDeviceSettings.js +2 -2
- package/dist/automation/actions/interaction/get/MOB_GetCurrentDeviceStatus.js +2 -2
- package/dist/automation/actions/interaction/get/MOB_GetCurrentDeviceSystemBars.js +2 -2
- package/dist/automation/actions/interaction/get/MOB_GetCurrentDeviceTime.js +2 -2
- package/dist/automation/actions/interaction/get/MOB_GetCurrentOrientation.js +2 -2
- package/dist/automation/actions/interaction/get/MOB_GetCurrentSessionId.js +2 -2
- package/dist/automation/actions/interaction/get/MOB_GetDeviceLocation.js +2 -2
- package/dist/automation/actions/interaction/get/MOB_GetDeviceName.js +2 -2
- package/dist/automation/actions/interaction/get/MOB_GetDeviceOsVersion.js +2 -2
- package/dist/automation/actions/interaction/get/MOB_GetDeviceUdid.js +2 -2
- package/dist/automation/actions/interaction/get/MOB_GetHeightOfElement.js +2 -2
- package/dist/automation/actions/interaction/get/MOB_GetHeightOfScreen.js +2 -2
- package/dist/automation/actions/interaction/get/MOB_GetHourFromCurrentDeviceTime.js +2 -2
- package/dist/automation/actions/interaction/get/MOB_GetLatitude.js +2 -2
- package/dist/automation/actions/interaction/get/MOB_GetLongitude.js +2 -2
- package/dist/automation/actions/interaction/get/MOB_GetMinuteFromCurrentDeviceTime.js +2 -2
- package/dist/automation/actions/interaction/get/MOB_GetSecondFromCurrentDeviceTime.js +2 -2
- package/dist/automation/actions/interaction/get/MOB_GetSizeOfScreen.js +2 -2
- package/dist/automation/actions/interaction/get/MOB_GetSupportedPerformanceDataTypes.js +2 -2
- package/dist/automation/actions/interaction/get/MOB_GetTextFromElementAndSetToClipBoard.js +2 -2
- package/dist/automation/actions/interaction/get/MOB_GetWidthOfElement.js +2 -2
- package/dist/automation/actions/interaction/get/MOB_GetWidthOfScreen.js +2 -2
- package/dist/automation/actions/interaction/get/browserWindowGetPosition.js +2 -2
- package/dist/automation/actions/interaction/get/getAllBrokenImages.js +2 -2
- package/dist/automation/actions/interaction/get/getAllBrokenLinkCount.js +2 -2
- package/dist/automation/actions/interaction/get/getAllBrokenLinks.js +2 -2
- package/dist/automation/actions/interaction/get/getAllConsoleErrors.js +2 -2
- package/dist/automation/actions/interaction/get/getAllConsoleInformation.js +2 -2
- package/dist/automation/actions/interaction/get/getAllConsoleLogs.js +2 -2
- package/dist/automation/actions/interaction/get/getAllConsoleWarnings.js +2 -2
- package/dist/automation/actions/interaction/get/getAllCookieNames.js +2 -2
- package/dist/automation/actions/interaction/get/getAllCookieValues.js +2 -2
- package/dist/automation/actions/interaction/get/getAllSelectedOptions.js +2 -2
- package/dist/automation/actions/interaction/get/getAllTheOptionsFromListBoxAsText.js +2 -2
- package/dist/automation/actions/interaction/get/getAllTheOptionsFromListBoxAsTextInSortedOrder.js +2 -2
- package/dist/automation/actions/interaction/get/getAllTheSelectedOptionsFromListBoxAsText.js +2 -2
- package/dist/automation/actions/interaction/get/getAllWindowHandles.js +2 -2
- package/dist/automation/actions/interaction/get/getAttribute.js +3 -3
- package/dist/automation/actions/interaction/get/getAudioCurrentPlaybackRate.js +2 -2
- package/dist/automation/actions/interaction/get/getAudioCurrentSeekTime.js +2 -2
- package/dist/automation/actions/interaction/get/getAudioCurrentVolume.js +2 -2
- package/dist/automation/actions/interaction/get/getAudioDecodedByte.js +2 -2
- package/dist/automation/actions/interaction/get/getAudioDefaultPlaybackRate.js +2 -2
- package/dist/automation/actions/interaction/get/getAudioMediaLength.js +2 -2
- package/dist/automation/actions/interaction/get/getAudioMediaSource.js +2 -2
- package/dist/automation/actions/interaction/get/getBestPracticesScore.js +2 -2
- package/dist/automation/actions/interaction/get/getBrowserCount.js +2 -2
- package/dist/automation/actions/interaction/get/getBrowserVersion.js +2 -2
- package/dist/automation/actions/interaction/get/getCapabilityNames.js +2 -2
- package/dist/automation/actions/interaction/get/getClipBoardText.js +2 -2
- package/dist/automation/actions/interaction/get/getCollectiveApiResponseTime.js +2 -2
- package/dist/automation/actions/interaction/get/getCollectiveApiStatusCode.js +2 -2
- package/dist/automation/actions/interaction/get/getCssValue.js +2 -2
- package/dist/automation/actions/interaction/get/getCurrentDayOfTheWeek.js +2 -2
- package/dist/automation/actions/interaction/get/getCurrentSecondsFromCurrentSystemTime.js +2 -2
- package/dist/automation/actions/interaction/get/getCurrentSystemDate.js +2 -2
- package/dist/automation/actions/interaction/get/getCurrentSystemDay.js +2 -2
- package/dist/automation/actions/interaction/get/getCurrentSystemMonth.js +2 -2
- package/dist/automation/actions/interaction/get/getCurrentSystemTime.js +2 -2
- package/dist/automation/actions/interaction/get/getCurrentSystemYear.js +2 -2
- package/dist/automation/actions/interaction/get/getCurrentWindowHandle.js +2 -2
- package/dist/automation/actions/interaction/get/getDataFromApiRequestHeaderForJsonPath.js +2 -2
- package/dist/automation/actions/interaction/get/getDataFromApiResponseForJsonPath.js +2 -2
- package/dist/automation/actions/interaction/get/getDateWithGivenFormat.js +2 -2
- package/dist/automation/actions/interaction/get/getDriverInstance.js +2 -2
- package/dist/automation/actions/interaction/get/getFirstContentfulPaint.js +2 -2
- package/dist/automation/actions/interaction/get/getFirstSelectedOption.js +2 -2
- package/dist/automation/actions/interaction/get/getFullPaintTime.js +2 -2
- package/dist/automation/actions/interaction/get/getHTMLCodeOfPage.js +2 -2
- package/dist/automation/actions/interaction/get/getHeightOfBrowserWindow.js +2 -2
- package/dist/automation/actions/interaction/get/getHeightOfWebElement.js +2 -2
- package/dist/automation/actions/interaction/get/getHourFromCurrentSystemTime.js +2 -2
- package/dist/automation/actions/interaction/get/getImplicitTimeOut.js +2 -2
- package/dist/automation/actions/interaction/get/getLargestContentfulPaint.js +2 -2
- package/dist/automation/actions/interaction/get/getListBoxSize.js +2 -2
- package/dist/automation/actions/interaction/get/getListOfElementsFromLocatorTypeLocatorValue.js +3 -3
- package/dist/automation/actions/interaction/get/getLocation.js +3 -3
- package/dist/automation/actions/interaction/get/getMinuteFromCurrentSystemTime.js +2 -2
- package/dist/automation/actions/interaction/get/getNetworkRouteTime.js +2 -2
- package/dist/automation/actions/interaction/get/getNumberOfBrokenImages.js +2 -2
- package/dist/automation/actions/interaction/get/getNumberOfLinksPresentInCurrentPage.js +2 -2
- package/dist/automation/actions/interaction/get/getNumberOfWorkingLinksFromCurrentPage.js +2 -2
- package/dist/automation/actions/interaction/get/getOptions.js +2 -2
- package/dist/automation/actions/interaction/get/getPageTitle.js +2 -2
- package/dist/automation/actions/interaction/get/getPerformanceMetrics.js +2 -2
- package/dist/automation/actions/interaction/get/getPwaScore.js +2 -2
- package/dist/automation/actions/interaction/get/getRect.js +3 -3
- package/dist/automation/actions/interaction/get/getScreenshot.js +2 -2
- package/dist/automation/actions/interaction/get/getScreenshotAs.js +2 -2
- package/dist/automation/actions/interaction/get/getSeoScore.js +2 -2
- package/dist/automation/actions/interaction/get/getSingleApiRequestPayload.js +2 -2
- package/dist/automation/actions/interaction/get/getSingleApiResponse.js +2 -2
- package/dist/automation/actions/interaction/get/getSingleApiResponseTime.js +2 -2
- package/dist/automation/actions/interaction/get/getSingleApiStatusCode.js +2 -2
- package/dist/automation/actions/interaction/get/getSize.js +3 -3
- package/dist/automation/actions/interaction/get/getSizeOfBrowserWindow.js +2 -2
- package/dist/automation/actions/interaction/get/getStringDataFromLocalFile.js +2 -2
- package/dist/automation/actions/interaction/get/getSystemProperty.js +2 -2
- package/dist/automation/actions/interaction/get/getTagName.js +3 -3
- package/dist/automation/actions/interaction/get/getText.js +3 -3
- package/dist/automation/actions/interaction/get/getTheFirstSelectedOptionFromListBoxAsText.js +2 -2
- package/dist/automation/actions/interaction/get/getTotalNumberOfCookies.js +2 -2
- package/dist/automation/actions/interaction/get/getTunnelIdentifier.js +2 -2
- package/dist/automation/actions/interaction/get/getURLPresentInAddressBar.js +2 -2
- package/dist/automation/actions/interaction/get/getUserHomeDirectory.js +2 -2
- package/dist/automation/actions/interaction/get/getValueByCookieName.js +2 -2
- package/dist/automation/actions/interaction/get/getValueFromLocalStorage.js +2 -2
- package/dist/automation/actions/interaction/get/getValueOfSystemVariable.js +2 -2
- package/dist/automation/actions/interaction/get/getVideoCurrentPlaybackRate.js +2 -2
- package/dist/automation/actions/interaction/get/getVideoCurrentSeekTime.js +2 -2
- package/dist/automation/actions/interaction/get/getVideoCurrentVolume.js +2 -2
- package/dist/automation/actions/interaction/get/getVideoDecodedByte.js +2 -2
- package/dist/automation/actions/interaction/get/getVideoDefaultPlaybackRate.js +2 -2
- package/dist/automation/actions/interaction/get/getVideoMediaLength.js +2 -2
- package/dist/automation/actions/interaction/get/getVideoMediaSource.js +2 -2
- package/dist/automation/actions/interaction/get/getWidthOfBrowser.js +2 -2
- package/dist/automation/actions/interaction/get/getWidthOfWebElement.js +2 -2
- package/dist/automation/actions/interaction/get/getWorkingLinksFromCurrentPage.js +2 -2
- package/dist/automation/actions/interaction/get/getWrappedElement.js +2 -2
- package/dist/automation/actions/interaction/get/getWrappedOptionFromListBoxAsText.js +2 -2
- package/dist/automation/actions/interaction/get/getXLocationOfBrowserWindow.js +2 -2
- package/dist/automation/actions/interaction/get/getXLocationOfWebElement.js +3 -3
- package/dist/automation/actions/interaction/get/getYLocationOfBrowserWindow.js +2 -2
- package/dist/automation/actions/interaction/get/getYLocationOfWebElement.js +3 -3
- package/dist/automation/actions/interaction/shadowDom/shadowDomEnter.js +2 -2
- package/dist/automation/actions/interaction/shadowDom/shadowDomGetText.js +2 -2
- package/dist/automation/actions/interface/FireFlinkResponseSchema.d.ts +13 -0
- package/dist/automation/actions/interface/FireFlinkResponseSchema.js +10 -1
- package/dist/automation/actions/interface/arithmeticActionInterface.d.ts +18 -0
- package/dist/automation/actions/interface/arithmeticActionInterface.js +2 -0
- package/dist/core/constants/allAction.js +2 -1
- package/dist/core/constants/supportedActions.js +2 -1
- package/dist/core/interfaces/actionInterface.d.ts +2 -0
- package/dist/core/interfaces/promptInterface.d.ts +3 -0
- package/dist/core/main/actionHandlerFactory.js +3 -0
- package/dist/core/main/runAutomationScript.js +40 -5
- package/dist/core/types/promptType.d.ts +2 -1
- package/dist/core/types/promptType.js +1 -0
- package/package.json +1 -1
- /package/dist/utils/helpers/{getHelper.d.ts → saveStepInputData.d.ts} +0 -0
- /package/dist/utils/helpers/{getHelper.js → saveStepInputData.js} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MOB_GetADBLogsForGivenAppPackage = void 0;
|
|
4
|
-
const
|
|
4
|
+
const saveStepInputData_js_1 = require("../../../../utils/helpers/saveStepInputData.js");
|
|
5
5
|
const appendScriptData_1 = require("../../../../fireflinkData/fireflinkScript/appendScriptData");
|
|
6
6
|
const MOB_GetADBLogsForGivenAppPackage = async (args) => {
|
|
7
7
|
try {
|
|
8
8
|
const packageName = args.value;
|
|
9
9
|
const logs = await args.driver.getLogs("logcat");
|
|
10
10
|
const _filteredLogs = logs.filter((log) => log.message && log.message.includes(packageName));
|
|
11
|
-
(0,
|
|
11
|
+
(0, saveStepInputData_js_1.saveStepInputData)(args, logs);
|
|
12
12
|
(0, appendScriptData_1.appendScriptData)({
|
|
13
13
|
scriptDataAppender: args.scriptDataAppender,
|
|
14
14
|
nlpName: "MOB_GetADBLogsForGivenAppPackage",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MOB_GetAllContexts = void 0;
|
|
4
|
-
const
|
|
4
|
+
const saveStepInputData_js_1 = require("../../../../utils/helpers/saveStepInputData.js");
|
|
5
5
|
const appendScriptData_1 = require("../../../../fireflinkData/fireflinkScript/appendScriptData");
|
|
6
6
|
const MOB_GetAllContexts = async (args) => {
|
|
7
7
|
try {
|
|
@@ -13,7 +13,7 @@ const MOB_GetAllContexts = async (args) => {
|
|
|
13
13
|
returnTypeVariableName: args.returnTypeVariableName
|
|
14
14
|
});
|
|
15
15
|
const __result = _contexts;
|
|
16
|
-
(0,
|
|
16
|
+
(0, saveStepInputData_js_1.saveStepInputData)(args, __result);
|
|
17
17
|
}
|
|
18
18
|
catch (error) {
|
|
19
19
|
args.scriptDataAppender.setErrorNLP("MOB_GetAllContexts");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MOB_GetAllWindowHandles = void 0;
|
|
4
|
-
const
|
|
4
|
+
const saveStepInputData_js_1 = require("../../../../utils/helpers/saveStepInputData.js");
|
|
5
5
|
const appendScriptData_js_1 = require("../../../../fireflinkData/fireflinkScript/appendScriptData.js");
|
|
6
6
|
const MOB_GetAllWindowHandles = async (args) => {
|
|
7
7
|
try {
|
|
@@ -14,7 +14,7 @@ const MOB_GetAllWindowHandles = async (args) => {
|
|
|
14
14
|
returnTypeVariableName: args.returnTypeVariableName
|
|
15
15
|
});
|
|
16
16
|
const emptyHandles = [];
|
|
17
|
-
(0,
|
|
17
|
+
(0, saveStepInputData_js_1.saveStepInputData)(args, emptyHandles);
|
|
18
18
|
}
|
|
19
19
|
// Only for WEBVIEW / WEB
|
|
20
20
|
const _handles = await args.driver.getWindowHandles();
|
|
@@ -23,7 +23,7 @@ const MOB_GetAllWindowHandles = async (args) => {
|
|
|
23
23
|
nlpName: "MOB_GetAllWindowHandles",
|
|
24
24
|
returnTypeVariableName: args.returnTypeVariableName
|
|
25
25
|
});
|
|
26
|
-
(0,
|
|
26
|
+
(0, saveStepInputData_js_1.saveStepInputData)(args, _handles);
|
|
27
27
|
}
|
|
28
28
|
catch (error) {
|
|
29
29
|
args.scriptDataAppender.setErrorNLP("MOB_GetAllWindowHandles");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MOB_GetAltitude = void 0;
|
|
4
|
-
const
|
|
4
|
+
const saveStepInputData_js_1 = require("../../../../utils/helpers/saveStepInputData.js");
|
|
5
5
|
const logData_js_1 = require("../../../../utils/logger/logData.js");
|
|
6
6
|
const appendScriptData_1 = require("../../../../fireflinkData/fireflinkScript/appendScriptData");
|
|
7
7
|
const MOB_GetAltitude = async (args) => {
|
|
@@ -25,7 +25,7 @@ const MOB_GetAltitude = async (args) => {
|
|
|
25
25
|
returnTypeVariableName: args.returnTypeVariableName
|
|
26
26
|
});
|
|
27
27
|
const __result = location?.altitude ?? 0;
|
|
28
|
-
(0,
|
|
28
|
+
(0, saveStepInputData_js_1.saveStepInputData)(args, __result);
|
|
29
29
|
}
|
|
30
30
|
catch (error) {
|
|
31
31
|
args.scriptDataAppender.setErrorNLP(nlpName);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MOB_GetBatteryPercentage = void 0;
|
|
4
|
-
const
|
|
4
|
+
const saveStepInputData_js_1 = require("../../../../utils/helpers/saveStepInputData.js");
|
|
5
5
|
const appendScriptData_1 = require("../../../../fireflinkData/fireflinkScript/appendScriptData");
|
|
6
6
|
const MOB_GetBatteryPercentage = async (args) => {
|
|
7
7
|
const nlpName = args.platform === "ios" ? "IOS_GetBatteryPercentage" : "MOB_GetBatteryPercentage";
|
|
@@ -15,7 +15,7 @@ const MOB_GetBatteryPercentage = async (args) => {
|
|
|
15
15
|
returnTypeVariableName: args.returnTypeVariableName
|
|
16
16
|
});
|
|
17
17
|
const __result = _batteryPercentage;
|
|
18
|
-
(0,
|
|
18
|
+
(0, saveStepInputData_js_1.saveStepInputData)(args, __result);
|
|
19
19
|
}
|
|
20
20
|
catch (error) {
|
|
21
21
|
args.scriptDataAppender.setErrorNLP(nlpName);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MOB_GetBatteryStatus = void 0;
|
|
4
|
-
const
|
|
4
|
+
const saveStepInputData_js_1 = require("../../../../utils/helpers/saveStepInputData.js");
|
|
5
5
|
const appendScriptData_js_1 = require("../../../../fireflinkData/fireflinkScript/appendScriptData.js");
|
|
6
6
|
const MOB_GetBatteryStatus = async (args) => {
|
|
7
7
|
try {
|
|
@@ -12,7 +12,7 @@ const MOB_GetBatteryStatus = async (args) => {
|
|
|
12
12
|
returnTypeVariableName: args.returnTypeVariableName
|
|
13
13
|
});
|
|
14
14
|
const state = _batteryInfo?.state ?? "unknown";
|
|
15
|
-
(0,
|
|
15
|
+
(0, saveStepInputData_js_1.saveStepInputData)(args, state);
|
|
16
16
|
}
|
|
17
17
|
catch (error) {
|
|
18
18
|
args.scriptDataAppender.setErrorNLP("MOB_GetBatteryStatus");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MOB_GetClipBoardText = void 0;
|
|
4
|
-
const
|
|
4
|
+
const saveStepInputData_js_1 = require("../../../../utils/helpers/saveStepInputData.js");
|
|
5
5
|
const appendScriptData_1 = require("../../../../fireflinkData/fireflinkScript/appendScriptData");
|
|
6
6
|
const MOB_GetClipBoardText = async (args) => {
|
|
7
7
|
try {
|
|
@@ -13,7 +13,7 @@ const MOB_GetClipBoardText = async (args) => {
|
|
|
13
13
|
returnTypeVariableName: args.returnTypeVariableName
|
|
14
14
|
});
|
|
15
15
|
const __result = clipboardBase64 ? Buffer.from(clipboardBase64, "base64").toString("utf-8") : "";
|
|
16
|
-
(0,
|
|
16
|
+
(0, saveStepInputData_js_1.saveStepInputData)(args, __result);
|
|
17
17
|
}
|
|
18
18
|
catch (error) {
|
|
19
19
|
args.scriptDataAppender.setErrorNLP("MOB_GetClipBoardText");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MOB_GetCurrentActivity = void 0;
|
|
4
|
-
const
|
|
4
|
+
const saveStepInputData_js_1 = require("../../../../utils/helpers/saveStepInputData.js");
|
|
5
5
|
const appendScriptData_1 = require("../../../../fireflinkData/fireflinkScript/appendScriptData");
|
|
6
6
|
const MOB_GetCurrentActivity = async (args) => {
|
|
7
7
|
try {
|
|
@@ -12,7 +12,7 @@ const MOB_GetCurrentActivity = async (args) => {
|
|
|
12
12
|
returnTypeVariableName: args.returnTypeVariableName
|
|
13
13
|
});
|
|
14
14
|
const __result = _activity;
|
|
15
|
-
(0,
|
|
15
|
+
(0, saveStepInputData_js_1.saveStepInputData)(args, __result);
|
|
16
16
|
}
|
|
17
17
|
catch (error) {
|
|
18
18
|
args.scriptDataAppender.setErrorNLP("MOB_GetCurrentActivity");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MOB_GetCurrentAppPackage = void 0;
|
|
4
|
-
const
|
|
4
|
+
const saveStepInputData_js_1 = require("../../../../utils/helpers/saveStepInputData.js");
|
|
5
5
|
const appendScriptData_1 = require("../../../../fireflinkData/fireflinkScript/appendScriptData");
|
|
6
6
|
const MOB_GetCurrentAppPackage = async (args) => {
|
|
7
7
|
try {
|
|
@@ -13,7 +13,7 @@ const MOB_GetCurrentAppPackage = async (args) => {
|
|
|
13
13
|
returnTypeVariableName: args.returnTypeVariableName
|
|
14
14
|
});
|
|
15
15
|
const __result = _currentAppPackage;
|
|
16
|
-
(0,
|
|
16
|
+
(0, saveStepInputData_js_1.saveStepInputData)(args, __result);
|
|
17
17
|
}
|
|
18
18
|
catch (error) {
|
|
19
19
|
args.scriptDataAppender.setErrorNLP("MOB_GetCurrentAppPackage");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MOB_GetCurrentContext = void 0;
|
|
4
|
-
const
|
|
4
|
+
const saveStepInputData_js_1 = require("../../../../utils/helpers/saveStepInputData.js");
|
|
5
5
|
const appendScriptData_1 = require("../../../../fireflinkData/fireflinkScript/appendScriptData");
|
|
6
6
|
const MOB_GetCurrentContext = async (args) => {
|
|
7
7
|
try {
|
|
@@ -12,7 +12,7 @@ const MOB_GetCurrentContext = async (args) => {
|
|
|
12
12
|
returnTypeVariableName: args.returnTypeVariableName
|
|
13
13
|
});
|
|
14
14
|
const __result = _currentContext;
|
|
15
|
-
(0,
|
|
15
|
+
(0, saveStepInputData_js_1.saveStepInputData)(args, __result);
|
|
16
16
|
}
|
|
17
17
|
catch (error) {
|
|
18
18
|
args.scriptDataAppender.setErrorNLP("MOB_GetCurrentContext");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MOB_GetCurrentDeviceDate = void 0;
|
|
4
|
-
const
|
|
4
|
+
const saveStepInputData_js_1 = require("../../../../utils/helpers/saveStepInputData.js");
|
|
5
5
|
const appendScriptData_1 = require("../../../../fireflinkData/fireflinkScript/appendScriptData");
|
|
6
6
|
const MOB_GetCurrentDeviceDate = async (args) => {
|
|
7
7
|
try {
|
|
@@ -14,7 +14,7 @@ const MOB_GetCurrentDeviceDate = async (args) => {
|
|
|
14
14
|
returnTypeVariableName: args.returnTypeVariableName
|
|
15
15
|
});
|
|
16
16
|
const __result = (_deviceTimeStr || "").split("T")[0] || _deviceTimeStr;
|
|
17
|
-
(0,
|
|
17
|
+
(0, saveStepInputData_js_1.saveStepInputData)(args, __result);
|
|
18
18
|
}
|
|
19
19
|
catch (error) {
|
|
20
20
|
args.scriptDataAppender.setErrorNLP("MOB_GetCurrentDeviceDate");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MOB_GetCurrentDeviceSettings = void 0;
|
|
4
|
-
const
|
|
4
|
+
const saveStepInputData_js_1 = require("../../../../utils/helpers/saveStepInputData.js");
|
|
5
5
|
const appendScriptData_1 = require("../../../../fireflinkData/fireflinkScript/appendScriptData");
|
|
6
6
|
const MOB_GetCurrentDeviceSettings = async (args) => {
|
|
7
7
|
try {
|
|
@@ -12,7 +12,7 @@ const MOB_GetCurrentDeviceSettings = async (args) => {
|
|
|
12
12
|
returnTypeVariableName: args.returnTypeVariableName
|
|
13
13
|
});
|
|
14
14
|
const __result = _deviceSettings;
|
|
15
|
-
(0,
|
|
15
|
+
(0, saveStepInputData_js_1.saveStepInputData)(args, __result);
|
|
16
16
|
}
|
|
17
17
|
catch (error) {
|
|
18
18
|
args.scriptDataAppender.setErrorNLP("MOB_GetCurrentDeviceSettings");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MOB_GetCurrentDeviceStatus = void 0;
|
|
4
|
-
const
|
|
4
|
+
const saveStepInputData_js_1 = require("../../../../utils/helpers/saveStepInputData.js");
|
|
5
5
|
const appendScriptData_1 = require("../../../../fireflinkData/fireflinkScript/appendScriptData");
|
|
6
6
|
const MOB_GetCurrentDeviceStatus = async (args) => {
|
|
7
7
|
try {
|
|
@@ -12,7 +12,7 @@ const MOB_GetCurrentDeviceStatus = async (args) => {
|
|
|
12
12
|
returnTypeVariableName: args.returnTypeVariableName
|
|
13
13
|
});
|
|
14
14
|
const __result = _status;
|
|
15
|
-
(0,
|
|
15
|
+
(0, saveStepInputData_js_1.saveStepInputData)(args, __result);
|
|
16
16
|
}
|
|
17
17
|
catch (error) {
|
|
18
18
|
args.scriptDataAppender.setErrorNLP("MOB_GetCurrentDeviceStatus");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MOB_GetCurrentDeviceSystemBars = void 0;
|
|
4
|
-
const
|
|
4
|
+
const saveStepInputData_js_1 = require("../../../../utils/helpers/saveStepInputData.js");
|
|
5
5
|
const appendScriptData_1 = require("../../../../fireflinkData/fireflinkScript/appendScriptData");
|
|
6
6
|
const MOB_GetCurrentDeviceSystemBars = async (args) => {
|
|
7
7
|
try {
|
|
@@ -12,7 +12,7 @@ const MOB_GetCurrentDeviceSystemBars = async (args) => {
|
|
|
12
12
|
returnTypeVariableName: args.returnTypeVariableName
|
|
13
13
|
});
|
|
14
14
|
const __result = _systemBars;
|
|
15
|
-
(0,
|
|
15
|
+
(0, saveStepInputData_js_1.saveStepInputData)(args, __result);
|
|
16
16
|
}
|
|
17
17
|
catch (error) {
|
|
18
18
|
args.scriptDataAppender.setErrorNLP("MOB_GetCurrentDeviceSystemBars");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MOB_GetCurrentDeviceTime = void 0;
|
|
4
|
-
const
|
|
4
|
+
const saveStepInputData_js_1 = require("../../../../utils/helpers/saveStepInputData.js");
|
|
5
5
|
const appendScriptData_1 = require("../../../../fireflinkData/fireflinkScript/appendScriptData");
|
|
6
6
|
const MOB_GetCurrentDeviceTime = async (args) => {
|
|
7
7
|
try {
|
|
@@ -12,7 +12,7 @@ const MOB_GetCurrentDeviceTime = async (args) => {
|
|
|
12
12
|
returnTypeVariableName: args.returnTypeVariableName
|
|
13
13
|
});
|
|
14
14
|
const __result = _deviceTime;
|
|
15
|
-
(0,
|
|
15
|
+
(0, saveStepInputData_js_1.saveStepInputData)(args, __result);
|
|
16
16
|
}
|
|
17
17
|
catch (error) {
|
|
18
18
|
args.scriptDataAppender.setErrorNLP("MOB_GetCurrentDeviceTime");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MOB_GetCurrentOrientation = void 0;
|
|
4
|
-
const
|
|
4
|
+
const saveStepInputData_js_1 = require("../../../../utils/helpers/saveStepInputData.js");
|
|
5
5
|
const appendScriptData_1 = require("../../../../fireflinkData/fireflinkScript/appendScriptData");
|
|
6
6
|
const MOB_GetCurrentOrientation = async (args) => {
|
|
7
7
|
try {
|
|
@@ -12,7 +12,7 @@ const MOB_GetCurrentOrientation = async (args) => {
|
|
|
12
12
|
returnTypeVariableName: args.returnTypeVariableName
|
|
13
13
|
});
|
|
14
14
|
const __result = _orientation;
|
|
15
|
-
(0,
|
|
15
|
+
(0, saveStepInputData_js_1.saveStepInputData)(args, __result);
|
|
16
16
|
}
|
|
17
17
|
catch (error) {
|
|
18
18
|
args.scriptDataAppender.setErrorNLP("MOB_GetCurrentOrientation");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MOB_GetCurrentSessionId = void 0;
|
|
4
|
-
const
|
|
4
|
+
const saveStepInputData_js_1 = require("../../../../utils/helpers/saveStepInputData.js");
|
|
5
5
|
const appendScriptData_1 = require("../../../../fireflinkData/fireflinkScript/appendScriptData");
|
|
6
6
|
const MOB_GetCurrentSessionId = async (args) => {
|
|
7
7
|
try {
|
|
@@ -12,7 +12,7 @@ const MOB_GetCurrentSessionId = async (args) => {
|
|
|
12
12
|
returnTypeVariableName: args.returnTypeVariableName
|
|
13
13
|
});
|
|
14
14
|
const __result = args.driver.sessionId || "";
|
|
15
|
-
(0,
|
|
15
|
+
(0, saveStepInputData_js_1.saveStepInputData)(args, __result);
|
|
16
16
|
}
|
|
17
17
|
catch (error) {
|
|
18
18
|
args.scriptDataAppender.setErrorNLP("MOB_GetCurrentSessionId");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MOB_GetDeviceLocation = void 0;
|
|
4
|
-
const
|
|
4
|
+
const saveStepInputData_js_1 = require("../../../../utils/helpers/saveStepInputData.js");
|
|
5
5
|
const logData_js_1 = require("../../../../utils/logger/logData.js");
|
|
6
6
|
const appendScriptData_1 = require("../../../../fireflinkData/fireflinkScript/appendScriptData");
|
|
7
7
|
const MOB_GetDeviceLocation = async (args) => {
|
|
@@ -26,7 +26,7 @@ const MOB_GetDeviceLocation = async (args) => {
|
|
|
26
26
|
returnTypeVariableName: args.returnTypeVariableName
|
|
27
27
|
});
|
|
28
28
|
const __result = location;
|
|
29
|
-
(0,
|
|
29
|
+
(0, saveStepInputData_js_1.saveStepInputData)(args, __result);
|
|
30
30
|
}
|
|
31
31
|
catch (error) {
|
|
32
32
|
args.scriptDataAppender.setErrorNLP(nlpName);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MOB_GetDeviceName = void 0;
|
|
4
|
-
const
|
|
4
|
+
const saveStepInputData_js_1 = require("../../../../utils/helpers/saveStepInputData.js");
|
|
5
5
|
const appendScriptData_js_1 = require("../../../../fireflinkData/fireflinkScript/appendScriptData.js");
|
|
6
6
|
const MOB_GetDeviceName = async (args) => {
|
|
7
7
|
const nlpName = args.platform === "ios" ? "IOS_GetDeviceName" : "MOB_GetDeviceName";
|
|
@@ -14,7 +14,7 @@ const MOB_GetDeviceName = async (args) => {
|
|
|
14
14
|
returnTypeVariableName: args.returnTypeVariableName
|
|
15
15
|
});
|
|
16
16
|
const __result = args.driver.capabilities?.deviceName || args.driver.capabilities?.device || "device";
|
|
17
|
-
(0,
|
|
17
|
+
(0, saveStepInputData_js_1.saveStepInputData)(args, __result);
|
|
18
18
|
}
|
|
19
19
|
catch (error) {
|
|
20
20
|
args.scriptDataAppender.setErrorNLP(nlpName);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MOB_GetDeviceOsVersion = void 0;
|
|
4
|
-
const
|
|
4
|
+
const saveStepInputData_js_1 = require("../../../../utils/helpers/saveStepInputData.js");
|
|
5
5
|
const appendScriptData_js_1 = require("../../../../fireflinkData/fireflinkScript/appendScriptData.js");
|
|
6
6
|
const MOB_GetDeviceOsVersion = async (args) => {
|
|
7
7
|
try {
|
|
@@ -13,7 +13,7 @@ const MOB_GetDeviceOsVersion = async (args) => {
|
|
|
13
13
|
returnTypeVariableName: args.returnTypeVariableName
|
|
14
14
|
});
|
|
15
15
|
const __result = args.driver.capabilities?.platformVersion || args.driver.capabilities?.osVersion || "";
|
|
16
|
-
(0,
|
|
16
|
+
(0, saveStepInputData_js_1.saveStepInputData)(args, __result);
|
|
17
17
|
}
|
|
18
18
|
catch (error) {
|
|
19
19
|
args.scriptDataAppender.setErrorNLP("MOB_GetDeviceOsVersion");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MOB_GetDeviceUdid = void 0;
|
|
4
|
-
const
|
|
4
|
+
const saveStepInputData_js_1 = require("../../../../utils/helpers/saveStepInputData.js");
|
|
5
5
|
const appendScriptData_js_1 = require("../../../../fireflinkData/fireflinkScript/appendScriptData.js");
|
|
6
6
|
const MOB_GetDeviceUdid = async (args) => {
|
|
7
7
|
const nlpName = args.platform === "ios" ? "IOS_GetDeviceUdid" : "MOB_GetDeviceUdid";
|
|
@@ -14,7 +14,7 @@ const MOB_GetDeviceUdid = async (args) => {
|
|
|
14
14
|
returnTypeVariableName: args.returnTypeVariableName
|
|
15
15
|
});
|
|
16
16
|
const __result = args.driver.capabilities?.udid || "";
|
|
17
|
-
(0,
|
|
17
|
+
(0, saveStepInputData_js_1.saveStepInputData)(args, __result);
|
|
18
18
|
}
|
|
19
19
|
catch (error) {
|
|
20
20
|
args.scriptDataAppender.setErrorNLP(nlpName);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MOB_GetHeightOfElement = void 0;
|
|
4
|
-
const
|
|
4
|
+
const saveStepInputData_js_1 = require("../../../../utils/helpers/saveStepInputData.js");
|
|
5
5
|
const appendScriptData_1 = require("../../../../fireflinkData/fireflinkScript/appendScriptData");
|
|
6
6
|
const MOB_GetHeightOfElement = async (args) => {
|
|
7
7
|
try {
|
|
@@ -22,7 +22,7 @@ const MOB_GetHeightOfElement = async (args) => {
|
|
|
22
22
|
returnTypeVariableName: args.returnTypeVariableName
|
|
23
23
|
});
|
|
24
24
|
const __result = size.height;
|
|
25
|
-
(0,
|
|
25
|
+
(0, saveStepInputData_js_1.saveStepInputData)(args, __result);
|
|
26
26
|
}
|
|
27
27
|
catch (error) {
|
|
28
28
|
args.scriptDataAppender.setErrorNLP("MOB_GetHeightOfElement");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MOB_GetHeightOfScreen = void 0;
|
|
4
|
-
const
|
|
4
|
+
const saveStepInputData_js_1 = require("../../../../utils/helpers/saveStepInputData.js");
|
|
5
5
|
const appendScriptData_1 = require("../../../../fireflinkData/fireflinkScript/appendScriptData");
|
|
6
6
|
const MOB_GetHeightOfScreen = async (args) => {
|
|
7
7
|
try {
|
|
@@ -13,7 +13,7 @@ const MOB_GetHeightOfScreen = async (args) => {
|
|
|
13
13
|
returnTypeVariableName: args.returnTypeVariableName
|
|
14
14
|
});
|
|
15
15
|
const __result = size.height;
|
|
16
|
-
(0,
|
|
16
|
+
(0, saveStepInputData_js_1.saveStepInputData)(args, __result);
|
|
17
17
|
}
|
|
18
18
|
catch (error) {
|
|
19
19
|
args.scriptDataAppender.setErrorNLP("MOB_GetHeightOfScreen");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MOB_GetHourFromCurrentDeviceTime = void 0;
|
|
4
|
-
const
|
|
4
|
+
const saveStepInputData_js_1 = require("../../../../utils/helpers/saveStepInputData.js");
|
|
5
5
|
const appendScriptData_1 = require("../../../../fireflinkData/fireflinkScript/appendScriptData");
|
|
6
6
|
const MOB_GetHourFromCurrentDeviceTime = async (args) => {
|
|
7
7
|
try {
|
|
@@ -14,7 +14,7 @@ const MOB_GetHourFromCurrentDeviceTime = async (args) => {
|
|
|
14
14
|
returnTypeVariableName: args.returnTypeVariableName
|
|
15
15
|
});
|
|
16
16
|
const __result = _deviceTimeStr ? new Date(_deviceTimeStr).getHours() : new Date().getHours();
|
|
17
|
-
(0,
|
|
17
|
+
(0, saveStepInputData_js_1.saveStepInputData)(args, __result);
|
|
18
18
|
}
|
|
19
19
|
catch (error) {
|
|
20
20
|
args.scriptDataAppender.setErrorNLP("MOB_GetHourFromCurrentDeviceTime");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MOB_GetLatitude = void 0;
|
|
4
|
-
const
|
|
4
|
+
const saveStepInputData_js_1 = require("../../../../utils/helpers/saveStepInputData.js");
|
|
5
5
|
const logData_js_1 = require("../../../../utils/logger/logData.js");
|
|
6
6
|
const appendScriptData_1 = require("../../../../fireflinkData/fireflinkScript/appendScriptData");
|
|
7
7
|
const MOB_GetLatitude = async (args) => {
|
|
@@ -25,7 +25,7 @@ const MOB_GetLatitude = async (args) => {
|
|
|
25
25
|
returnTypeVariableName: args.returnTypeVariableName
|
|
26
26
|
});
|
|
27
27
|
const __result = location?.latitude ?? 0;
|
|
28
|
-
(0,
|
|
28
|
+
(0, saveStepInputData_js_1.saveStepInputData)(args, __result);
|
|
29
29
|
}
|
|
30
30
|
catch (error) {
|
|
31
31
|
args.scriptDataAppender.setErrorNLP(nlpName);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MOB_GetLongitude = void 0;
|
|
4
|
-
const
|
|
4
|
+
const saveStepInputData_js_1 = require("../../../../utils/helpers/saveStepInputData.js");
|
|
5
5
|
const logData_js_1 = require("../../../../utils/logger/logData.js");
|
|
6
6
|
const appendScriptData_1 = require("../../../../fireflinkData/fireflinkScript/appendScriptData");
|
|
7
7
|
const MOB_GetLongitude = async (args) => {
|
|
@@ -25,7 +25,7 @@ const MOB_GetLongitude = async (args) => {
|
|
|
25
25
|
returnTypeVariableName: args.returnTypeVariableName
|
|
26
26
|
});
|
|
27
27
|
const __result = location?.longitude ?? 0;
|
|
28
|
-
(0,
|
|
28
|
+
(0, saveStepInputData_js_1.saveStepInputData)(args, __result);
|
|
29
29
|
}
|
|
30
30
|
catch (error) {
|
|
31
31
|
args.scriptDataAppender.setErrorNLP(nlpName);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MOB_GetMinuteFromCurrentDeviceTime = void 0;
|
|
4
|
-
const
|
|
4
|
+
const saveStepInputData_js_1 = require("../../../../utils/helpers/saveStepInputData.js");
|
|
5
5
|
const appendScriptData_1 = require("../../../../fireflinkData/fireflinkScript/appendScriptData");
|
|
6
6
|
const MOB_GetMinuteFromCurrentDeviceTime = async (args) => {
|
|
7
7
|
try {
|
|
@@ -14,7 +14,7 @@ const MOB_GetMinuteFromCurrentDeviceTime = async (args) => {
|
|
|
14
14
|
returnTypeVariableName: args.returnTypeVariableName
|
|
15
15
|
});
|
|
16
16
|
const __result = _deviceTimeStr ? new Date(_deviceTimeStr).getMinutes() : new Date().getMinutes();
|
|
17
|
-
(0,
|
|
17
|
+
(0, saveStepInputData_js_1.saveStepInputData)(args, __result);
|
|
18
18
|
}
|
|
19
19
|
catch (error) {
|
|
20
20
|
args.scriptDataAppender.setErrorNLP("MOB_GetMinuteFromCurrentDeviceTime");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MOB_GetSecondFromCurrentDeviceTime = void 0;
|
|
4
|
-
const
|
|
4
|
+
const saveStepInputData_js_1 = require("../../../../utils/helpers/saveStepInputData.js");
|
|
5
5
|
const appendScriptData_1 = require("../../../../fireflinkData/fireflinkScript/appendScriptData");
|
|
6
6
|
const MOB_GetSecondFromCurrentDeviceTime = async (args) => {
|
|
7
7
|
try {
|
|
@@ -13,7 +13,7 @@ const MOB_GetSecondFromCurrentDeviceTime = async (args) => {
|
|
|
13
13
|
returnTypeVariableName: args.returnTypeVariableName
|
|
14
14
|
});
|
|
15
15
|
const __result = _deviceTimeStr ? new Date(_deviceTimeStr).getSeconds() : new Date().getSeconds();
|
|
16
|
-
(0,
|
|
16
|
+
(0, saveStepInputData_js_1.saveStepInputData)(args, __result);
|
|
17
17
|
}
|
|
18
18
|
catch (error) {
|
|
19
19
|
args.scriptDataAppender.setErrorNLP("MOB_GetSecondFromCurrentDeviceTime");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MOB_GetSizeOfScreen = void 0;
|
|
4
|
-
const
|
|
4
|
+
const saveStepInputData_js_1 = require("../../../../utils/helpers/saveStepInputData.js");
|
|
5
5
|
const appendScriptData_1 = require("../../../../fireflinkData/fireflinkScript/appendScriptData");
|
|
6
6
|
const MOB_GetSizeOfScreen = async (args) => {
|
|
7
7
|
try {
|
|
@@ -12,7 +12,7 @@ const MOB_GetSizeOfScreen = async (args) => {
|
|
|
12
12
|
returnTypeVariableName: args.returnTypeVariableName
|
|
13
13
|
});
|
|
14
14
|
const __result = _screenSize;
|
|
15
|
-
(0,
|
|
15
|
+
(0, saveStepInputData_js_1.saveStepInputData)(args, __result);
|
|
16
16
|
}
|
|
17
17
|
catch (error) {
|
|
18
18
|
args.scriptDataAppender.setErrorNLP("MOB_GetSizeOfScreen");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MOB_GetSupportedPerformanceDataTypes = void 0;
|
|
4
|
-
const
|
|
4
|
+
const saveStepInputData_js_1 = require("../../../../utils/helpers/saveStepInputData.js");
|
|
5
5
|
const appendScriptData_1 = require("../../../../fireflinkData/fireflinkScript/appendScriptData");
|
|
6
6
|
const MOB_GetSupportedPerformanceDataTypes = async (args) => {
|
|
7
7
|
try {
|
|
@@ -12,7 +12,7 @@ const MOB_GetSupportedPerformanceDataTypes = async (args) => {
|
|
|
12
12
|
returnTypeVariableName: args.returnTypeVariableName
|
|
13
13
|
});
|
|
14
14
|
const __result = _supportedTypes;
|
|
15
|
-
(0,
|
|
15
|
+
(0, saveStepInputData_js_1.saveStepInputData)(args, __result);
|
|
16
16
|
}
|
|
17
17
|
catch (error) {
|
|
18
18
|
args.scriptDataAppender.setErrorNLP("MOB_GetSupportedPerformanceDataTypes");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MOB_GetTextFromElementAndSetToClipBoard = void 0;
|
|
4
|
-
const
|
|
4
|
+
const saveStepInputData_js_1 = require("../../../../utils/helpers/saveStepInputData.js");
|
|
5
5
|
const appendScriptData_1 = require("../../../../fireflinkData/fireflinkScript/appendScriptData");
|
|
6
6
|
const MOB_GetTextFromElementAndSetToClipBoard = async (args) => {
|
|
7
7
|
try {
|
|
@@ -32,7 +32,7 @@ const MOB_GetTextFromElementAndSetToClipBoard = async (args) => {
|
|
|
32
32
|
returnTypeVariableName: args.returnTypeVariableName
|
|
33
33
|
});
|
|
34
34
|
const __result = text;
|
|
35
|
-
(0,
|
|
35
|
+
(0, saveStepInputData_js_1.saveStepInputData)(args, __result);
|
|
36
36
|
}
|
|
37
37
|
catch (error) {
|
|
38
38
|
args.scriptDataAppender.setErrorNLP("MOB_GetTextFromElementAndSetToClipBoard");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MOB_GetWidthOfElement = void 0;
|
|
4
|
-
const
|
|
4
|
+
const saveStepInputData_js_1 = require("../../../../utils/helpers/saveStepInputData.js");
|
|
5
5
|
const appendScriptData_1 = require("../../../../fireflinkData/fireflinkScript/appendScriptData");
|
|
6
6
|
const MOB_GetWidthOfElement = async (args) => {
|
|
7
7
|
try {
|
|
@@ -22,7 +22,7 @@ const MOB_GetWidthOfElement = async (args) => {
|
|
|
22
22
|
returnTypeVariableName: args.returnTypeVariableName
|
|
23
23
|
});
|
|
24
24
|
const __result = size.width;
|
|
25
|
-
(0,
|
|
25
|
+
(0, saveStepInputData_js_1.saveStepInputData)(args, __result);
|
|
26
26
|
}
|
|
27
27
|
catch (error) {
|
|
28
28
|
args.scriptDataAppender.setErrorNLP("MOB_GetWidthOfElement");
|