ff-automationv2 2.2.31 → 2.2.32-beta.1
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 +10 -2
- package/dist/ai/llmprompts/systemPrompts/actionExtractorPrompt.js +83 -27
- package/dist/ai/llmprompts/systemPrompts/fileVerifyActionExtractorPrompt.d.ts +2 -0
- package/dist/ai/llmprompts/systemPrompts/fileVerifyActionExtractorPrompt.js +45 -0
- package/dist/ai/llmprompts/systemPrompts/fireflinkElementIndexExtactors.js +35 -0
- package/dist/ai/llmprompts/systemPrompts/fireflinkElementIndexExtractor_Mob.js +5 -2
- package/dist/ai/llmprompts/systemPrompts/getActionExtractorPrompt.js +4 -2
- package/dist/ai/llmprompts/systemPrompts/getActionExtractorPromptMob.js +3 -1
- package/dist/ai/llmprompts/systemPrompts/inputContextPrompt.d.ts +2 -0
- package/dist/ai/llmprompts/systemPrompts/inputContextPrompt.js +54 -0
- package/dist/ai/llmprompts/systemPrompts/mobileKeywordExtractor.js +53 -8
- package/dist/ai/llmprompts/systemPrompts/verifyActionExtractorPrompt.js +5 -4
- package/dist/ai/llmprompts/systemPrompts/verifyActionExtractorPromptMob.js +1 -1
- package/dist/ai/llmprompts/userPrompts/userPrompt.js +2 -0
- package/dist/automation/actions/executor.d.ts +14 -6
- package/dist/automation/actions/executor.js +970 -251
- package/dist/automation/actions/interaction/alert/enterDataToAlert.js +3 -1
- package/dist/automation/actions/interaction/alert/getTextPresentOnAlertPopup.js +4 -0
- package/dist/automation/actions/interaction/alert/verifyAlertPopUpMessageContainsString.js +1 -1
- package/dist/automation/actions/interaction/alert/verifyAlertPopupIsDisplayed.js +1 -1
- package/dist/automation/actions/interaction/alert/verifyTextPresentOnAlertPopup.js +1 -1
- package/dist/automation/actions/interaction/clear/clearAndEnter.js +6 -3
- package/dist/automation/actions/interaction/elementlessActions/getOtp.js +25 -24
- package/dist/automation/actions/interaction/enterActions/EnterInputIntoElementFromClipBoardInterface_mob.js +3 -1
- package/dist/automation/actions/interaction/enterActions/enterInput.js +5 -2
- package/dist/automation/actions/interaction/enterActions/enterInputAndPress.js +5 -2
- package/dist/automation/actions/interaction/enterActions/enterUrl.js +5 -2
- package/dist/automation/actions/interaction/enterActions/enterusingJs.js +3 -1
- package/dist/automation/actions/interaction/enterActions/waitAndEnter.js +5 -2
- package/dist/automation/actions/interaction/files/VerifyPDF.d.ts +2 -0
- package/dist/automation/actions/interaction/files/VerifyPDF.js +122 -0
- package/dist/automation/actions/interaction/get/MOB_GetADBLogsForGivenAppPackage.js +4 -1
- package/dist/automation/actions/interaction/get/MOB_GetAllContexts.js +5 -1
- package/dist/automation/actions/interaction/get/MOB_GetAllWindowHandles.d.ts +1 -1
- package/dist/automation/actions/interaction/get/MOB_GetAllWindowHandles.js +10 -6
- package/dist/automation/actions/interaction/get/MOB_GetAltitude.js +5 -1
- package/dist/automation/actions/interaction/get/MOB_GetBatteryPercentage.js +5 -1
- package/dist/automation/actions/interaction/get/MOB_GetBatteryStatus.d.ts +1 -1
- package/dist/automation/actions/interaction/get/MOB_GetBatteryStatus.js +7 -3
- package/dist/automation/actions/interaction/get/MOB_GetClipBoardText.js +5 -1
- package/dist/automation/actions/interaction/get/MOB_GetCurrentActivity.js +5 -1
- package/dist/automation/actions/interaction/get/MOB_GetCurrentAppPackage.js +5 -1
- package/dist/automation/actions/interaction/get/MOB_GetCurrentContext.js +5 -1
- package/dist/automation/actions/interaction/get/MOB_GetCurrentDeviceDate.js +5 -1
- package/dist/automation/actions/interaction/get/MOB_GetCurrentDeviceSettings.js +5 -1
- package/dist/automation/actions/interaction/get/MOB_GetCurrentDeviceStatus.js +5 -1
- package/dist/automation/actions/interaction/get/MOB_GetCurrentDeviceSystemBars.js +5 -2
- package/dist/automation/actions/interaction/get/MOB_GetCurrentDeviceTime.js +5 -1
- package/dist/automation/actions/interaction/get/MOB_GetCurrentOrientation.js +5 -1
- package/dist/automation/actions/interaction/get/MOB_GetCurrentSessionId.js +5 -1
- package/dist/automation/actions/interaction/get/MOB_GetDeviceLocation.js +5 -1
- package/dist/automation/actions/interaction/get/MOB_GetDeviceName.js +5 -1
- package/dist/automation/actions/interaction/get/MOB_GetDeviceOsVersion.js +5 -1
- package/dist/automation/actions/interaction/get/MOB_GetDeviceUdid.js +5 -1
- package/dist/automation/actions/interaction/get/MOB_GetHeightOfElement.js +5 -1
- package/dist/automation/actions/interaction/get/MOB_GetHeightOfScreen.js +4 -0
- package/dist/automation/actions/interaction/get/MOB_GetHourFromCurrentDeviceTime.js +5 -1
- package/dist/automation/actions/interaction/get/MOB_GetLatitude.js +5 -1
- package/dist/automation/actions/interaction/get/MOB_GetLongitude.js +5 -1
- package/dist/automation/actions/interaction/get/MOB_GetMinuteFromCurrentDeviceTime.js +5 -1
- package/dist/automation/actions/interaction/get/MOB_GetSecondFromCurrentDeviceTime.js +5 -1
- package/dist/automation/actions/interaction/get/MOB_GetSizeOfScreen.js +5 -1
- package/dist/automation/actions/interaction/get/MOB_GetSupportedPerformanceDataTypes.js +5 -1
- package/dist/automation/actions/interaction/get/MOB_GetTextFromElementAndSetToClipBoard.js +5 -1
- package/dist/automation/actions/interaction/get/MOB_GetWidthOfElement.js +5 -1
- package/dist/automation/actions/interaction/get/MOB_GetWidthOfScreen.js +5 -1
- package/dist/automation/actions/interaction/get/browserWindowGetPosition.js +5 -0
- package/dist/automation/actions/interaction/get/getAllBrokenImages.js +9 -0
- package/dist/automation/actions/interaction/get/getAllBrokenLinkCount.js +9 -0
- package/dist/automation/actions/interaction/get/getAllBrokenLinks.js +10 -1
- package/dist/automation/actions/interaction/get/getAllConsoleErrors.js +11 -0
- package/dist/automation/actions/interaction/get/getAllConsoleInformation.js +12 -1
- package/dist/automation/actions/interaction/get/getAllConsoleLogs.js +11 -1
- package/dist/automation/actions/interaction/get/getAllConsoleWarnings.js +12 -1
- package/dist/automation/actions/interaction/get/getAllCookieNames.js +6 -1
- package/dist/automation/actions/interaction/get/getAllCookieValues.js +6 -1
- package/dist/automation/actions/interaction/get/getAllSelectedOptions.js +8 -1
- package/dist/automation/actions/interaction/get/getAllTheOptionsFromListBoxAsText.js +4 -1
- package/dist/automation/actions/interaction/get/getAllTheOptionsFromListBoxAsTextInSortedOrder.js +4 -1
- package/dist/automation/actions/interaction/get/getAllTheSelectedOptionsFromListBoxAsText.js +4 -1
- package/dist/automation/actions/interaction/get/getAllWindowHandles.js +5 -1
- package/dist/automation/actions/interaction/get/getAttribute.js +19 -14
- package/dist/automation/actions/interaction/get/getAudioCurrentPlaybackRate.js +4 -1
- package/dist/automation/actions/interaction/get/getAudioCurrentSeekTime.js +4 -1
- package/dist/automation/actions/interaction/get/getAudioCurrentVolume.js +4 -1
- package/dist/automation/actions/interaction/get/getAudioDecodedByte.js +4 -1
- package/dist/automation/actions/interaction/get/getAudioDefaultPlaybackRate.js +4 -1
- package/dist/automation/actions/interaction/get/getAudioMediaLength.js +4 -1
- package/dist/automation/actions/interaction/get/getAudioMediaSource.js +4 -1
- package/dist/automation/actions/interaction/get/getBestPracticesScore.js +11 -3
- package/dist/automation/actions/interaction/get/getBrowserCount.js +5 -0
- package/dist/automation/actions/interaction/get/getBrowserVersion.js +5 -0
- package/dist/automation/actions/interaction/get/getCapabilityNames.js +5 -0
- package/dist/automation/actions/interaction/get/getClipBoardText.js +13 -0
- package/dist/automation/actions/interaction/get/getCollectiveApiResponseTime.js +4 -1
- package/dist/automation/actions/interaction/get/getCollectiveApiStatusCode.js +4 -1
- package/dist/automation/actions/interaction/get/getCssValue.js +5 -1
- package/dist/automation/actions/interaction/get/getCurrentDayOfTheWeek.js +4 -0
- package/dist/automation/actions/interaction/get/getCurrentSecondsFromCurrentSystemTime.js +5 -1
- package/dist/automation/actions/interaction/get/getCurrentSystemDate.js +4 -0
- package/dist/automation/actions/interaction/get/getCurrentSystemDay.js +5 -1
- package/dist/automation/actions/interaction/get/getCurrentSystemMonth.js +5 -1
- package/dist/automation/actions/interaction/get/getCurrentSystemTime.js +5 -1
- package/dist/automation/actions/interaction/get/getCurrentSystemYear.js +5 -1
- package/dist/automation/actions/interaction/get/getCurrentWindowHandle.js +13 -26
- package/dist/automation/actions/interaction/get/getDataFromApiRequestHeaderForJsonPath.js +5 -4
- package/dist/automation/actions/interaction/get/getDataFromApiResponseForJsonPath.js +5 -4
- package/dist/automation/actions/interaction/get/getDateWithGivenFormat.js +13 -16
- package/dist/automation/actions/interaction/get/getDriverInstance.js +13 -28
- package/dist/automation/actions/interaction/get/getFirstContentfulPaint.js +8 -1
- package/dist/automation/actions/interaction/get/getFirstSelectedOption.js +5 -1
- package/dist/automation/actions/interaction/get/getFullPaintTime.js +8 -1
- package/dist/automation/actions/interaction/get/getHTMLCodeOfPage.js +4 -0
- package/dist/automation/actions/interaction/get/getHeightOfBrowserWindow.js +5 -0
- package/dist/automation/actions/interaction/get/getHeightOfWebElement.js +4 -1
- package/dist/automation/actions/interaction/get/getHourFromCurrentSystemTime.js +4 -0
- package/dist/automation/actions/interaction/get/getImplicitTimeOut.js +15 -28
- package/dist/automation/actions/interaction/get/getLargestContentfulPaint.js +7 -0
- package/dist/automation/actions/interaction/get/getListBoxSize.d.ts +1 -1
- package/dist/automation/actions/interaction/get/getListBoxSize.js +4 -2
- package/dist/automation/actions/interaction/get/getListOfElementsFromLocatorTypeLocatorValue.js +7 -2
- package/dist/automation/actions/interaction/get/getLocation.js +14 -8
- package/dist/automation/actions/interaction/get/getMinuteFromCurrentSystemTime.js +4 -0
- package/dist/automation/actions/interaction/get/getNetworkRouteTime.js +7 -0
- package/dist/automation/actions/interaction/get/getNumberOfBrokenImages.js +7 -0
- package/dist/automation/actions/interaction/get/getNumberOfLinksPresentInCurrentPage.js +5 -0
- package/dist/automation/actions/interaction/get/getNumberOfWorkingLinksFromCurrentPage.js +9 -0
- package/dist/automation/actions/interaction/get/getOptions.js +4 -1
- package/dist/automation/actions/interaction/get/getPageTitle.js +5 -1
- package/dist/automation/actions/interaction/get/getPerformanceMetrics.js +12 -1
- package/dist/automation/actions/interaction/get/getPwaScore.js +11 -3
- package/dist/automation/actions/interaction/get/getRect.js +9 -2
- package/dist/automation/actions/interaction/get/getScreenshot.js +13 -28
- package/dist/automation/actions/interaction/get/getScreenshotAs.js +14 -44
- package/dist/automation/actions/interaction/get/getSeoScore.js +15 -3
- package/dist/automation/actions/interaction/get/getSingleApiRequestPayload.js +5 -3
- package/dist/automation/actions/interaction/get/getSingleApiResponse.js +9 -8
- package/dist/automation/actions/interaction/get/getSingleApiResponseTime.js +9 -9
- package/dist/automation/actions/interaction/get/getSingleApiStatusCode.d.ts +1 -1
- package/dist/automation/actions/interaction/get/getSingleApiStatusCode.js +10 -17
- package/dist/automation/actions/interaction/get/getSize.js +7 -2
- package/dist/automation/actions/interaction/get/getSizeOfBrowserWindow.js +5 -4
- package/dist/automation/actions/interaction/get/getStringDataFromLocalFile.js +10 -7
- package/dist/automation/actions/interaction/get/getSystemProperty.js +6 -4
- package/dist/automation/actions/interaction/get/getTagName.js +9 -2
- package/dist/automation/actions/interaction/get/getText.js +7 -2
- package/dist/automation/actions/interaction/get/getTheFirstSelectedOptionFromListBoxAsText.js +5 -1
- package/dist/automation/actions/interaction/get/getTotalNumberOfCookies.js +6 -1
- package/dist/automation/actions/interaction/get/getTunnelIdentifier.js +5 -8
- package/dist/automation/actions/interaction/get/getURLPresentInAddressBar.js +5 -1
- package/dist/automation/actions/interaction/get/getUserHomeDirectory.js +9 -1
- package/dist/automation/actions/interaction/get/getValueByCookieName.js +7 -4
- package/dist/automation/actions/interaction/get/getValueFromLocalStorage.js +6 -4
- package/dist/automation/actions/interaction/get/getValueOfSystemVariable.js +6 -4
- package/dist/automation/actions/interaction/get/getVideoCurrentPlaybackRate.js +4 -1
- package/dist/automation/actions/interaction/get/getVideoCurrentSeekTime.js +4 -1
- package/dist/automation/actions/interaction/get/getVideoCurrentVolume.js +4 -1
- package/dist/automation/actions/interaction/get/getVideoDecodedByte.js +4 -1
- package/dist/automation/actions/interaction/get/getVideoDefaultPlaybackRate.js +4 -1
- package/dist/automation/actions/interaction/get/getVideoMediaLength.js +4 -1
- package/dist/automation/actions/interaction/get/getVideoMediaSource.js +5 -1
- package/dist/automation/actions/interaction/get/getWidthOfBrowser.js +6 -1
- package/dist/automation/actions/interaction/get/getWidthOfWebElement.js +4 -1
- package/dist/automation/actions/interaction/get/getWorkingLinksFromCurrentPage.js +10 -1
- package/dist/automation/actions/interaction/get/getWrappedElement.js +5 -1
- package/dist/automation/actions/interaction/get/getWrappedOptionFromListBoxAsText.d.ts +1 -1
- package/dist/automation/actions/interaction/get/getWrappedOptionFromListBoxAsText.js +4 -2
- package/dist/automation/actions/interaction/get/getXLocationOfBrowserWindow.js +4 -3
- package/dist/automation/actions/interaction/get/getXLocationOfWebElement.js +7 -2
- package/dist/automation/actions/interaction/get/getYLocationOfBrowserWindow.js +6 -1
- package/dist/automation/actions/interaction/get/getYLocationOfWebElement.js +7 -2
- package/dist/automation/actions/interaction/shadowDom/shadowDomEnter.js +2 -0
- package/dist/automation/actions/interaction/shadowDom/shadowDomGetText.js +5 -2
- package/dist/automation/actions/interaction/verify/MOB_VerifyBatteryLevel.js +1 -1
- package/dist/automation/actions/interaction/verify/VerifyAttributeValue.js +2 -2
- package/dist/automation/actions/interaction/verify/VerifyBrowserHtmlCodeContainsString.js +1 -1
- package/dist/automation/actions/interaction/verify/VerifyBrowserWindowHeight.js +1 -1
- package/dist/automation/actions/interaction/verify/VerifyBrowserWindowTitleContainsString.js +1 -1
- package/dist/automation/actions/interaction/verify/VerifyBrowserWindowTitleIsString.js +1 -1
- package/dist/automation/actions/interaction/verify/VerifyBrowserWindowUrlContainsExpectedUrl.js +1 -1
- package/dist/automation/actions/interaction/verify/VerifyBrowserWindowUrlIsString.js +1 -1
- package/dist/automation/actions/interaction/verify/VerifyBrowserWindowWidth.js +1 -1
- package/dist/automation/actions/interaction/verify/VerifyBrowserWindowXLocation.js +1 -1
- package/dist/automation/actions/interaction/verify/VerifyBrowserWindowYLocation.js +1 -1
- package/dist/automation/actions/interaction/verify/VerifyCssAttributeValue.js +1 -1
- package/dist/automation/actions/interaction/verify/VerifyElementNotContainsText.js +2 -2
- package/dist/automation/actions/interaction/verify/VerifyHeightOfWebElement.js +2 -2
- package/dist/automation/actions/interaction/verify/VerifyHexCodeForGivenXYCoordinates.js +1 -1
- package/dist/automation/actions/interaction/verify/VerifyIfAllCookiesAreDeleted.js +1 -1
- package/dist/automation/actions/interaction/verify/VerifyIfCookieNameIsAdded.js +1 -1
- package/dist/automation/actions/interaction/verify/VerifyIfCookieNameIsDeleted.js +1 -1
- package/dist/automation/actions/interaction/verify/VerifyIfCookieObjectIsPresent.js +1 -1
- package/dist/automation/actions/interaction/verify/VerifyIfGivenOptionIsDuplicate.js +1 -1
- package/dist/automation/actions/interaction/verify/VerifyIfImageIsBroken.js +1 -1
- package/dist/automation/actions/interaction/verify/VerifyIfLinkIsBroken.js +1 -1
- package/dist/automation/actions/interaction/verify/VerifyIfLinkIsWorking.js +1 -1
- package/dist/automation/actions/interaction/verify/VerifyIfLinksAreBroken.js +1 -1
- package/dist/automation/actions/interaction/verify/VerifyIfLinksAreWorking.js +1 -1
- package/dist/automation/actions/interaction/verify/VerifyIfOptionWithTextIsDeselected.js +1 -1
- package/dist/automation/actions/interaction/verify/VerifyIfOptionWithValueIsDeselected.js +1 -1
- package/dist/automation/actions/interaction/verify/VerifyIfOptionWithValueIsSelected.js +1 -1
- package/dist/automation/actions/interaction/verify/VerifyIfOptionWithVisibleTextIsSelected.js +1 -1
- package/dist/automation/actions/interaction/verify/VerifyIfSpecifiedOptionIsSelected.js +1 -1
- package/dist/automation/actions/interaction/verify/VerifyNavigateURL.js +1 -1
- package/dist/automation/actions/interaction/verify/VerifyPartialAttributeValue.js +2 -2
- package/dist/automation/actions/interaction/verify/VerifyPartialTitleOfCurrentPage.js +1 -1
- package/dist/automation/actions/interaction/verify/VerifyTagName.js +1 -1
- package/dist/automation/actions/interaction/verify/VerifyThatSpecifiedOptionIsNotSelected.js +1 -1
- package/dist/automation/actions/interaction/verify/VerifyTitleInAllPage.js +1 -1
- package/dist/automation/actions/interaction/verify/VerifyTitleOfCurrentPage.js +1 -1
- package/dist/automation/actions/interaction/verify/VerifyValueOfElementContainsString.js +1 -1
- package/dist/automation/actions/interaction/verify/VerifyValueOfElementIsString.js +1 -1
- package/dist/automation/actions/interaction/verify/VerifyWidthOfElement.js +2 -2
- package/dist/automation/actions/interaction/verify/VerifyXLocationOfElement.js +2 -2
- package/dist/automation/actions/interaction/verify/VerifyYLocationOfElement.js +2 -2
- package/dist/automation/actions/interaction/verify/checkIfElementIsDisplayed.js +2 -2
- package/dist/automation/actions/interaction/verify/verifypartialtext.js +2 -2
- package/dist/automation/actions/interaction/verify/verifytext.js +2 -2
- package/dist/automation/actions/interface/FireFlinkResponseSchema.d.ts +39 -1
- package/dist/automation/actions/interface/FireFlinkResponseSchema.js +37 -3
- package/dist/automation/actions/interface/alertActionInterface.d.ts +11 -0
- package/dist/automation/actions/interface/clearActionInterface.d.ts +4 -0
- package/dist/automation/actions/interface/getActionInterface.d.ts +150 -141
- package/dist/automation/actions/interface/getOtpInterface.d.ts +5 -0
- package/dist/automation/actions/interface/interactionActionInterface.d.ts +14 -7
- package/dist/automation/actions/interface/shadowDomInterface.d.ts +10 -0
- package/dist/automation/actions/interface/verifyActionInterface.d.ts +102 -0
- package/dist/core/Errors/InvalidFileTypeError.d.ts +5 -0
- package/dist/core/Errors/InvalidFileTypeError.js +14 -0
- package/dist/core/constants/supportedActions.js +5 -0
- package/dist/core/helpers/elementSelectorResolver.d.ts +11 -0
- package/dist/core/helpers/elementSelectorResolver.js +102 -0
- package/dist/core/helpers/runnerDomPipeline.d.ts +9 -0
- package/dist/core/helpers/runnerDomPipeline.js +97 -0
- package/dist/core/helpers/runnerKafkaReporter.d.ts +17 -0
- package/dist/core/helpers/runnerKafkaReporter.js +71 -0
- package/dist/core/helpers/runnerPostActionHelper.d.ts +2 -0
- package/dist/core/helpers/runnerPostActionHelper.js +30 -0
- package/dist/core/helpers/stepActionInspector.d.ts +5 -0
- package/dist/core/helpers/stepActionInspector.js +113 -0
- package/dist/core/helpers/visionFallbackHandler.d.ts +3 -0
- package/dist/core/helpers/visionFallbackHandler.js +138 -0
- package/dist/core/interfaces/actionInterface.d.ts +7 -5
- package/dist/core/interfaces/automationRunnerInterface.d.ts +56 -1
- package/dist/core/interfaces/fireflinkScriptPayloadInterface.d.ts +2 -0
- package/dist/core/interfaces/llmResponseInterface.d.ts +5 -0
- package/dist/core/interfaces/promptInterface.d.ts +9 -2
- package/dist/core/interfaces/scriptGenrationDataInterface.d.ts +4 -0
- package/dist/core/main/actionHandlerFactory.js +48 -7
- package/dist/core/main/executionContext.d.ts +2 -1
- package/dist/core/main/executionContext.js +3 -2
- package/dist/core/main/runAutomationScript.d.ts +1 -0
- package/dist/core/main/runAutomationScript.js +392 -1008
- package/dist/core/types/llmResponseType.d.ts +2 -2
- package/dist/core/types/promptType.d.ts +3 -1
- package/dist/core/types/promptType.js +2 -0
- package/dist/fireflinkData/fireflinkScript/appendScriptData.js +3 -0
- package/dist/utils/browserCap/capability.js +11 -0
- package/dist/utils/browserCap/systemCapabilities.d.ts +6 -0
- package/dist/utils/browserCap/systemCapabilities.js +25 -0
- package/dist/utils/downloadWatcher/pdfDownloadWatcher.d.ts +8 -0
- package/dist/utils/downloadWatcher/pdfDownloadWatcher.js +61 -0
- package/dist/utils/helpers/getHelper.d.ts +8 -0
- package/dist/utils/helpers/getHelper.js +115 -0
- package/dist/utils/helpers/platformSyntax.d.ts +1 -1
- package/dist/utils/logger/logData.d.ts +2 -0
- package/dist/utils/logger/logData.js +4 -1
- package/dist/utils/textExtractor/pdfTextExtractor.d.ts +2 -0
- package/dist/utils/textExtractor/pdfTextExtractor.js +35 -0
- package/package.json +2 -1
- package/dist/ai/llmprompts/systemPrompts/combinedActionExtractorPrompt.d.ts +0 -2
- package/dist/ai/llmprompts/systemPrompts/combinedActionExtractorPrompt.js +0 -36
|
@@ -358,15 +358,33 @@ const mouseDoubleClickAtCursorPoint_js_1 = require("./interaction/mouse/mouseDou
|
|
|
358
358
|
const mouseReleaseLeftMouseButton_js_1 = require("./interaction/mouse/mouseReleaseLeftMouseButton.js");
|
|
359
359
|
const mouseClickOnCurrentCursorNTImes_js_1 = require("./interaction/mouse/mouseClickOnCurrentCursorNTImes.js");
|
|
360
360
|
const getOtp_js_1 = require("./interaction/elementlessActions/getOtp.js");
|
|
361
|
+
const VerifyPDF_js_1 = require("./interaction/files/VerifyPDF.js");
|
|
361
362
|
class ActionExecutor {
|
|
362
|
-
constructor(driver, scriptDataAppender, elementGetter, platform, adbPath) {
|
|
363
|
+
constructor(driver, scriptDataAppender, elementGetter, platform, adbPath, stepsInputData) {
|
|
363
364
|
this.driver = driver;
|
|
364
365
|
this.scriptDataAppender = scriptDataAppender;
|
|
365
366
|
this.elementGetter = elementGetter;
|
|
366
367
|
this.platform = platform;
|
|
367
368
|
this.adbPath = adbPath;
|
|
369
|
+
this.stepsInputData = stepsInputData;
|
|
368
370
|
this.platform = this.platform.toLowerCase();
|
|
369
371
|
}
|
|
372
|
+
setStepContext(stepIndex, currentStep, stepsInputData, manualStep, returnTypeVariableName, variableName) {
|
|
373
|
+
this.currentReturnTypeVariableName = returnTypeVariableName;
|
|
374
|
+
this.currentStepIndex = stepIndex;
|
|
375
|
+
this.currentStepText = currentStep;
|
|
376
|
+
this.manualStepText = manualStep;
|
|
377
|
+
this.currentVariableName = variableName;
|
|
378
|
+
if (stepsInputData) {
|
|
379
|
+
this.stepsInputData = stepsInputData;
|
|
380
|
+
if (manualStep) {
|
|
381
|
+
stepsInputData.currentManualStep = manualStep;
|
|
382
|
+
}
|
|
383
|
+
if (stepIndex !== undefined) {
|
|
384
|
+
stepsInputData.currentStepIndex = stepIndex;
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
}
|
|
370
388
|
async navigate(url) {
|
|
371
389
|
try {
|
|
372
390
|
await (0, navigate_js_1.navigate)({
|
|
@@ -554,7 +572,7 @@ class ActionExecutor {
|
|
|
554
572
|
throw error;
|
|
555
573
|
}
|
|
556
574
|
}
|
|
557
|
-
async enterInput(selector, value, fireflinkIndex, pageDOM, elementName, elementType, stepIndex, filteredSteps) {
|
|
575
|
+
async enterInput(selector, value, fireflinkIndex, pageDOM, elementName, elementType, stepIndex, filteredSteps, variableName) {
|
|
558
576
|
try {
|
|
559
577
|
await (0, enterInput_js_1.enterInput)({
|
|
560
578
|
driver: this.driver,
|
|
@@ -568,8 +586,11 @@ class ActionExecutor {
|
|
|
568
586
|
elementName,
|
|
569
587
|
elementType,
|
|
570
588
|
platform: this.platform,
|
|
571
|
-
stepIndex,
|
|
572
|
-
|
|
589
|
+
stepIndex: stepIndex ?? this.currentStepIndex,
|
|
590
|
+
currentStep: this.currentStepText,
|
|
591
|
+
stepsInputData: this.stepsInputData,
|
|
592
|
+
filteredSteps,
|
|
593
|
+
variableName: variableName ?? this.currentVariableName
|
|
573
594
|
});
|
|
574
595
|
}
|
|
575
596
|
catch (error) {
|
|
@@ -589,7 +610,10 @@ class ActionExecutor {
|
|
|
589
610
|
pageDOM,
|
|
590
611
|
elementName,
|
|
591
612
|
elementType,
|
|
592
|
-
platform: this.platform
|
|
613
|
+
platform: this.platform,
|
|
614
|
+
stepIndex: this.currentStepIndex,
|
|
615
|
+
currentStep: this.currentStepText,
|
|
616
|
+
stepsInputData: this.stepsInputData,
|
|
593
617
|
});
|
|
594
618
|
}
|
|
595
619
|
catch (error) {
|
|
@@ -609,7 +633,10 @@ class ActionExecutor {
|
|
|
609
633
|
pageDOM,
|
|
610
634
|
elementName,
|
|
611
635
|
elementType,
|
|
612
|
-
platform: this.platform
|
|
636
|
+
platform: this.platform,
|
|
637
|
+
stepIndex: this.currentStepIndex,
|
|
638
|
+
currentStep: this.currentStepText,
|
|
639
|
+
stepsInputData: this.stepsInputData,
|
|
613
640
|
});
|
|
614
641
|
}
|
|
615
642
|
catch (error) {
|
|
@@ -647,7 +674,11 @@ class ActionExecutor {
|
|
|
647
674
|
pageDOM,
|
|
648
675
|
elementName,
|
|
649
676
|
elementType,
|
|
650
|
-
platform: this.platform
|
|
677
|
+
platform: this.platform,
|
|
678
|
+
stepIndex: this.currentStepIndex,
|
|
679
|
+
currentStep: this.currentStepText,
|
|
680
|
+
stepsInputData: this.stepsInputData,
|
|
681
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
651
682
|
});
|
|
652
683
|
}
|
|
653
684
|
catch (error) {
|
|
@@ -667,7 +698,8 @@ class ActionExecutor {
|
|
|
667
698
|
pageDOM,
|
|
668
699
|
elementName,
|
|
669
700
|
elementType,
|
|
670
|
-
platform: this.platform
|
|
701
|
+
platform: this.platform,
|
|
702
|
+
variableName: this.currentVariableName
|
|
671
703
|
});
|
|
672
704
|
}
|
|
673
705
|
catch (error) {
|
|
@@ -687,7 +719,8 @@ class ActionExecutor {
|
|
|
687
719
|
pageDOM,
|
|
688
720
|
elementName,
|
|
689
721
|
elementType,
|
|
690
|
-
platform: this.platform
|
|
722
|
+
platform: this.platform,
|
|
723
|
+
variableName: this.currentVariableName
|
|
691
724
|
});
|
|
692
725
|
}
|
|
693
726
|
catch (error) {
|
|
@@ -727,7 +760,10 @@ class ActionExecutor {
|
|
|
727
760
|
pageDOM,
|
|
728
761
|
elementName,
|
|
729
762
|
elementType,
|
|
730
|
-
platform: this.platform
|
|
763
|
+
platform: this.platform,
|
|
764
|
+
stepIndex: this.currentStepIndex,
|
|
765
|
+
currentStep: this.currentStepText,
|
|
766
|
+
stepsInputData: this.stepsInputData,
|
|
731
767
|
});
|
|
732
768
|
}
|
|
733
769
|
catch (error) {
|
|
@@ -747,7 +783,10 @@ class ActionExecutor {
|
|
|
747
783
|
pageDOM,
|
|
748
784
|
elementName,
|
|
749
785
|
elementType,
|
|
750
|
-
platform: this.platform
|
|
786
|
+
platform: this.platform,
|
|
787
|
+
stepIndex: this.currentStepIndex,
|
|
788
|
+
currentStep: this.currentStepText,
|
|
789
|
+
stepsInputData: this.stepsInputData,
|
|
751
790
|
});
|
|
752
791
|
}
|
|
753
792
|
catch (error) {
|
|
@@ -810,7 +849,10 @@ class ActionExecutor {
|
|
|
810
849
|
pageDOM,
|
|
811
850
|
elementName,
|
|
812
851
|
elementType,
|
|
813
|
-
platform: this.platform
|
|
852
|
+
platform: this.platform,
|
|
853
|
+
stepIndex: this.currentStepIndex,
|
|
854
|
+
currentStep: this.currentStepText,
|
|
855
|
+
stepsInputData: this.stepsInputData,
|
|
814
856
|
});
|
|
815
857
|
}
|
|
816
858
|
catch (error) {
|
|
@@ -1013,7 +1055,8 @@ class ActionExecutor {
|
|
|
1013
1055
|
pageDOM,
|
|
1014
1056
|
elementName,
|
|
1015
1057
|
elementType,
|
|
1016
|
-
platform: this.platform
|
|
1058
|
+
platform: this.platform,
|
|
1059
|
+
variableName: this.currentVariableName
|
|
1017
1060
|
});
|
|
1018
1061
|
}
|
|
1019
1062
|
catch (error) {
|
|
@@ -1033,7 +1076,8 @@ class ActionExecutor {
|
|
|
1033
1076
|
pageDOM,
|
|
1034
1077
|
elementName,
|
|
1035
1078
|
elementType,
|
|
1036
|
-
platform: this.platform
|
|
1079
|
+
platform: this.platform,
|
|
1080
|
+
variableName: this.currentVariableName
|
|
1037
1081
|
});
|
|
1038
1082
|
}
|
|
1039
1083
|
catch (error) {
|
|
@@ -1053,7 +1097,8 @@ class ActionExecutor {
|
|
|
1053
1097
|
pageDOM,
|
|
1054
1098
|
elementName,
|
|
1055
1099
|
elementType,
|
|
1056
|
-
platform: this.platform
|
|
1100
|
+
platform: this.platform,
|
|
1101
|
+
variableName: this.currentVariableName
|
|
1057
1102
|
});
|
|
1058
1103
|
}
|
|
1059
1104
|
catch (error) {
|
|
@@ -1061,7 +1106,7 @@ class ActionExecutor {
|
|
|
1061
1106
|
throw error;
|
|
1062
1107
|
}
|
|
1063
1108
|
}
|
|
1064
|
-
async verifyText(pageDOM, selector, value, fireflinkIndex, elementName, elementType) {
|
|
1109
|
+
async verifyText(pageDOM, selector, value, fireflinkIndex, elementName, elementType, variableName) {
|
|
1065
1110
|
try {
|
|
1066
1111
|
await (0, verifytext_js_1.verifyText)({
|
|
1067
1112
|
driver: this.driver,
|
|
@@ -1073,7 +1118,8 @@ class ActionExecutor {
|
|
|
1073
1118
|
pageDOM,
|
|
1074
1119
|
elementName,
|
|
1075
1120
|
elementType,
|
|
1076
|
-
platform: this.platform
|
|
1121
|
+
platform: this.platform,
|
|
1122
|
+
variableName: variableName ?? this.currentVariableName
|
|
1077
1123
|
});
|
|
1078
1124
|
}
|
|
1079
1125
|
catch (error) {
|
|
@@ -1081,7 +1127,7 @@ class ActionExecutor {
|
|
|
1081
1127
|
throw error;
|
|
1082
1128
|
}
|
|
1083
1129
|
}
|
|
1084
|
-
async verifyPartialText(pageDOM, selector, value, fireflinkIndex, elementName, elementType) {
|
|
1130
|
+
async verifyPartialText(pageDOM, selector, value, fireflinkIndex, elementName, elementType, variableName) {
|
|
1085
1131
|
try {
|
|
1086
1132
|
await (0, verifypartialtext_js_1.verifyPartialText)({
|
|
1087
1133
|
driver: this.driver,
|
|
@@ -1093,7 +1139,8 @@ class ActionExecutor {
|
|
|
1093
1139
|
pageDOM,
|
|
1094
1140
|
elementName,
|
|
1095
1141
|
elementType,
|
|
1096
|
-
platform: this.platform
|
|
1142
|
+
platform: this.platform,
|
|
1143
|
+
variableName: variableName ?? this.currentVariableName
|
|
1097
1144
|
});
|
|
1098
1145
|
}
|
|
1099
1146
|
catch (error) {
|
|
@@ -1112,7 +1159,8 @@ class ActionExecutor {
|
|
|
1112
1159
|
pageDOM,
|
|
1113
1160
|
elementName,
|
|
1114
1161
|
elementType,
|
|
1115
|
-
platform: this.platform
|
|
1162
|
+
platform: this.platform,
|
|
1163
|
+
variableName: this.currentVariableName
|
|
1116
1164
|
});
|
|
1117
1165
|
}
|
|
1118
1166
|
catch (error) {
|
|
@@ -1131,7 +1179,8 @@ class ActionExecutor {
|
|
|
1131
1179
|
pageDOM,
|
|
1132
1180
|
elementName,
|
|
1133
1181
|
elementType,
|
|
1134
|
-
platform: this.platform
|
|
1182
|
+
platform: this.platform,
|
|
1183
|
+
variableName: this.currentVariableName
|
|
1135
1184
|
});
|
|
1136
1185
|
}
|
|
1137
1186
|
catch (error) {
|
|
@@ -1150,7 +1199,8 @@ class ActionExecutor {
|
|
|
1150
1199
|
pageDOM,
|
|
1151
1200
|
elementName,
|
|
1152
1201
|
elementType,
|
|
1153
|
-
platform: this.platform
|
|
1202
|
+
platform: this.platform,
|
|
1203
|
+
variableName: this.currentVariableName
|
|
1154
1204
|
});
|
|
1155
1205
|
}
|
|
1156
1206
|
catch (error) {
|
|
@@ -1169,7 +1219,8 @@ class ActionExecutor {
|
|
|
1169
1219
|
pageDOM,
|
|
1170
1220
|
elementName,
|
|
1171
1221
|
elementType,
|
|
1172
|
-
platform: this.platform
|
|
1222
|
+
platform: this.platform,
|
|
1223
|
+
variableName: this.currentVariableName
|
|
1173
1224
|
});
|
|
1174
1225
|
}
|
|
1175
1226
|
catch (error) {
|
|
@@ -1188,7 +1239,8 @@ class ActionExecutor {
|
|
|
1188
1239
|
pageDOM,
|
|
1189
1240
|
elementName,
|
|
1190
1241
|
elementType,
|
|
1191
|
-
platform: this.platform
|
|
1242
|
+
platform: this.platform,
|
|
1243
|
+
variableName: this.currentVariableName
|
|
1192
1244
|
});
|
|
1193
1245
|
}
|
|
1194
1246
|
catch (error) {
|
|
@@ -1264,7 +1316,8 @@ class ActionExecutor {
|
|
|
1264
1316
|
pageDOM,
|
|
1265
1317
|
elementName,
|
|
1266
1318
|
elementType,
|
|
1267
|
-
platform: this.platform
|
|
1319
|
+
platform: this.platform,
|
|
1320
|
+
variableName: this.currentVariableName
|
|
1268
1321
|
});
|
|
1269
1322
|
}
|
|
1270
1323
|
catch (error) {
|
|
@@ -1284,7 +1337,8 @@ class ActionExecutor {
|
|
|
1284
1337
|
pageDOM,
|
|
1285
1338
|
elementName,
|
|
1286
1339
|
elementType,
|
|
1287
|
-
platform: this.platform
|
|
1340
|
+
platform: this.platform,
|
|
1341
|
+
variableName: this.currentVariableName
|
|
1288
1342
|
});
|
|
1289
1343
|
}
|
|
1290
1344
|
catch (error) {
|
|
@@ -1297,7 +1351,8 @@ class ActionExecutor {
|
|
|
1297
1351
|
await (0, VerifyIfStatusCodeOfALinkIsStatusCode_js_1.verifyIfStatusCodeOfALinkIsStatusCode)({
|
|
1298
1352
|
driver: this.driver,
|
|
1299
1353
|
value,
|
|
1300
|
-
scriptDataAppender: this.scriptDataAppender
|
|
1354
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
1355
|
+
variableName: this.currentVariableName
|
|
1301
1356
|
});
|
|
1302
1357
|
}
|
|
1303
1358
|
catch (error) {
|
|
@@ -1310,7 +1365,8 @@ class ActionExecutor {
|
|
|
1310
1365
|
await (0, VerifyIfStatusCodesOfLinks_js_1.verifyIfStatusCodesOfLinks)({
|
|
1311
1366
|
driver: this.driver,
|
|
1312
1367
|
value,
|
|
1313
|
-
scriptDataAppender: this.scriptDataAppender
|
|
1368
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
1369
|
+
variableName: this.currentVariableName
|
|
1314
1370
|
});
|
|
1315
1371
|
}
|
|
1316
1372
|
catch (error) {
|
|
@@ -1330,7 +1386,8 @@ class ActionExecutor {
|
|
|
1330
1386
|
pageDOM,
|
|
1331
1387
|
elementName,
|
|
1332
1388
|
elementType,
|
|
1333
|
-
platform: this.platform
|
|
1389
|
+
platform: this.platform,
|
|
1390
|
+
variableName: this.currentVariableName
|
|
1334
1391
|
});
|
|
1335
1392
|
}
|
|
1336
1393
|
catch (error) {
|
|
@@ -1350,7 +1407,8 @@ class ActionExecutor {
|
|
|
1350
1407
|
pageDOM,
|
|
1351
1408
|
elementName,
|
|
1352
1409
|
elementType,
|
|
1353
|
-
platform: this.platform
|
|
1410
|
+
platform: this.platform,
|
|
1411
|
+
variableName: this.currentVariableName
|
|
1354
1412
|
});
|
|
1355
1413
|
}
|
|
1356
1414
|
catch (error) {
|
|
@@ -1363,7 +1421,8 @@ class ActionExecutor {
|
|
|
1363
1421
|
await (0, VerifyPerformanceScore_js_1.verifyPerformanceScore)({
|
|
1364
1422
|
driver: this.driver,
|
|
1365
1423
|
value,
|
|
1366
|
-
scriptDataAppender: this.scriptDataAppender
|
|
1424
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
1425
|
+
variableName: this.currentVariableName
|
|
1367
1426
|
});
|
|
1368
1427
|
}
|
|
1369
1428
|
catch (error) {
|
|
@@ -1376,7 +1435,8 @@ class ActionExecutor {
|
|
|
1376
1435
|
await (0, VerifyAccessibilityScore_js_1.verifyAccessibilityScore)({
|
|
1377
1436
|
driver: this.driver,
|
|
1378
1437
|
value,
|
|
1379
|
-
scriptDataAppender: this.scriptDataAppender
|
|
1438
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
1439
|
+
variableName: this.currentVariableName
|
|
1380
1440
|
});
|
|
1381
1441
|
}
|
|
1382
1442
|
catch (error) {
|
|
@@ -1389,7 +1449,8 @@ class ActionExecutor {
|
|
|
1389
1449
|
await (0, VerifyBestPracticesScore_js_1.verifyBestPracticesScore)({
|
|
1390
1450
|
driver: this.driver,
|
|
1391
1451
|
value,
|
|
1392
|
-
scriptDataAppender: this.scriptDataAppender
|
|
1452
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
1453
|
+
variableName: this.currentVariableName
|
|
1393
1454
|
});
|
|
1394
1455
|
}
|
|
1395
1456
|
catch (error) {
|
|
@@ -1402,7 +1463,8 @@ class ActionExecutor {
|
|
|
1402
1463
|
await (0, VerifySeoScore_js_1.verifySeoScore)({
|
|
1403
1464
|
driver: this.driver,
|
|
1404
1465
|
value,
|
|
1405
|
-
scriptDataAppender: this.scriptDataAppender
|
|
1466
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
1467
|
+
variableName: this.currentVariableName
|
|
1406
1468
|
});
|
|
1407
1469
|
}
|
|
1408
1470
|
catch (error) {
|
|
@@ -1415,7 +1477,8 @@ class ActionExecutor {
|
|
|
1415
1477
|
await (0, VerifyPwaScore_js_1.verifyPwaScore)({
|
|
1416
1478
|
driver: this.driver,
|
|
1417
1479
|
value,
|
|
1418
|
-
scriptDataAppender: this.scriptDataAppender
|
|
1480
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
1481
|
+
variableName: this.currentVariableName
|
|
1419
1482
|
});
|
|
1420
1483
|
}
|
|
1421
1484
|
catch (error) {
|
|
@@ -1428,7 +1491,8 @@ class ActionExecutor {
|
|
|
1428
1491
|
await (0, VerifyHexCodeForGivenXYCoordinates_js_1.verifyHexCodeForGivenXYCoordinates)({
|
|
1429
1492
|
driver: this.driver,
|
|
1430
1493
|
value,
|
|
1431
|
-
scriptDataAppender: this.scriptDataAppender
|
|
1494
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
1495
|
+
variableName: this.currentVariableName
|
|
1432
1496
|
});
|
|
1433
1497
|
}
|
|
1434
1498
|
catch (error) {
|
|
@@ -1458,6 +1522,7 @@ class ActionExecutor {
|
|
|
1458
1522
|
driver: this.driver,
|
|
1459
1523
|
value,
|
|
1460
1524
|
scriptDataAppender: this.scriptDataAppender,
|
|
1525
|
+
variableName: this.currentVariableName
|
|
1461
1526
|
});
|
|
1462
1527
|
}
|
|
1463
1528
|
catch (error) {
|
|
@@ -1471,6 +1536,7 @@ class ActionExecutor {
|
|
|
1471
1536
|
driver: this.driver,
|
|
1472
1537
|
value,
|
|
1473
1538
|
scriptDataAppender: this.scriptDataAppender,
|
|
1539
|
+
variableName: this.currentVariableName
|
|
1474
1540
|
});
|
|
1475
1541
|
}
|
|
1476
1542
|
catch (error) {
|
|
@@ -1484,6 +1550,9 @@ class ActionExecutor {
|
|
|
1484
1550
|
driver: this.driver,
|
|
1485
1551
|
value,
|
|
1486
1552
|
scriptDataAppender: this.scriptDataAppender,
|
|
1553
|
+
stepIndex: this.currentStepIndex,
|
|
1554
|
+
currentStep: this.currentStepText,
|
|
1555
|
+
stepsInputData: this.stepsInputData,
|
|
1487
1556
|
});
|
|
1488
1557
|
}
|
|
1489
1558
|
catch (error) {
|
|
@@ -1520,7 +1589,8 @@ class ActionExecutor {
|
|
|
1520
1589
|
await (0, verifyAlertPopupIsDisplayed_js_1.verifyAlertPopupIsDisplayed)({
|
|
1521
1590
|
driver: this.driver,
|
|
1522
1591
|
scriptDataAppender: this.scriptDataAppender,
|
|
1523
|
-
value
|
|
1592
|
+
value,
|
|
1593
|
+
variableName: this.currentVariableName
|
|
1524
1594
|
});
|
|
1525
1595
|
}
|
|
1526
1596
|
catch (error) {
|
|
@@ -1533,6 +1603,10 @@ class ActionExecutor {
|
|
|
1533
1603
|
await (0, getTextPresentOnAlertPopup_js_1.getTextPresentOnAlertPopup)({
|
|
1534
1604
|
driver: this.driver,
|
|
1535
1605
|
scriptDataAppender: this.scriptDataAppender,
|
|
1606
|
+
stepIndex: this.currentStepIndex,
|
|
1607
|
+
currentStep: this.currentStepText,
|
|
1608
|
+
stepsInputData: this.stepsInputData,
|
|
1609
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
1536
1610
|
});
|
|
1537
1611
|
}
|
|
1538
1612
|
catch (error) {
|
|
@@ -1555,8 +1629,12 @@ class ActionExecutor {
|
|
|
1555
1629
|
async getPageTitle() {
|
|
1556
1630
|
try {
|
|
1557
1631
|
await (0, getPageTitle_js_1.getPageTitle)({
|
|
1632
|
+
stepIndex: this.currentStepIndex,
|
|
1633
|
+
currentStep: this.currentStepText,
|
|
1634
|
+
stepsInputData: this.stepsInputData,
|
|
1558
1635
|
driver: this.driver,
|
|
1559
|
-
scriptDataAppender: this.scriptDataAppender
|
|
1636
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
1637
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
1560
1638
|
});
|
|
1561
1639
|
}
|
|
1562
1640
|
catch (error) {
|
|
@@ -1567,6 +1645,9 @@ class ActionExecutor {
|
|
|
1567
1645
|
async getAttribute(pageDOM, selector, value, attributeType, fireflinkIndex, elementName, elementType) {
|
|
1568
1646
|
try {
|
|
1569
1647
|
await (0, getAttribute_js_1.getAttribute)({
|
|
1648
|
+
stepIndex: this.currentStepIndex,
|
|
1649
|
+
currentStep: this.currentStepText,
|
|
1650
|
+
stepsInputData: this.stepsInputData,
|
|
1570
1651
|
driver: this.driver,
|
|
1571
1652
|
selector: selector,
|
|
1572
1653
|
value,
|
|
@@ -1577,7 +1658,8 @@ class ActionExecutor {
|
|
|
1577
1658
|
pageDOM,
|
|
1578
1659
|
elementName,
|
|
1579
1660
|
elementType,
|
|
1580
|
-
platform: this.platform
|
|
1661
|
+
platform: this.platform,
|
|
1662
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
1581
1663
|
});
|
|
1582
1664
|
}
|
|
1583
1665
|
catch (error) {
|
|
@@ -1588,6 +1670,9 @@ class ActionExecutor {
|
|
|
1588
1670
|
async getTagName(pageDOM, selector, fireflinkIndex, elementName, elementType) {
|
|
1589
1671
|
try {
|
|
1590
1672
|
await (0, getTagName_js_1.getTagName)({
|
|
1673
|
+
stepIndex: this.currentStepIndex,
|
|
1674
|
+
currentStep: this.currentStepText,
|
|
1675
|
+
stepsInputData: this.stepsInputData,
|
|
1591
1676
|
driver: this.driver,
|
|
1592
1677
|
selector: selector,
|
|
1593
1678
|
scriptDataAppender: this.scriptDataAppender,
|
|
@@ -1596,7 +1681,8 @@ class ActionExecutor {
|
|
|
1596
1681
|
pageDOM,
|
|
1597
1682
|
elementName,
|
|
1598
1683
|
elementType,
|
|
1599
|
-
platform: this.platform
|
|
1684
|
+
platform: this.platform,
|
|
1685
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
1600
1686
|
});
|
|
1601
1687
|
}
|
|
1602
1688
|
catch (error) {
|
|
@@ -1607,6 +1693,9 @@ class ActionExecutor {
|
|
|
1607
1693
|
async getListBoxSize(pageDOM, selector, fireflinkIndex, elementName, elementType) {
|
|
1608
1694
|
try {
|
|
1609
1695
|
await (0, getListBoxSize_js_1.getListBoxSize)({
|
|
1696
|
+
stepIndex: this.currentStepIndex,
|
|
1697
|
+
currentStep: this.currentStepText,
|
|
1698
|
+
stepsInputData: this.stepsInputData,
|
|
1610
1699
|
driver: this.driver,
|
|
1611
1700
|
selector: selector,
|
|
1612
1701
|
scriptDataAppender: this.scriptDataAppender,
|
|
@@ -1615,7 +1704,8 @@ class ActionExecutor {
|
|
|
1615
1704
|
pageDOM,
|
|
1616
1705
|
elementName,
|
|
1617
1706
|
elementType,
|
|
1618
|
-
platform: this.platform
|
|
1707
|
+
platform: this.platform,
|
|
1708
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
1619
1709
|
});
|
|
1620
1710
|
}
|
|
1621
1711
|
catch (error) {
|
|
@@ -1626,6 +1716,9 @@ class ActionExecutor {
|
|
|
1626
1716
|
async getWrappedOptionFromListBoxAsText(pageDOM, selector, fireflinkIndex, elementName, elementType) {
|
|
1627
1717
|
try {
|
|
1628
1718
|
await (0, getWrappedOptionFromListBoxAsText_js_1.getWrappedOptionFromListBoxAsText)({
|
|
1719
|
+
stepIndex: this.currentStepIndex,
|
|
1720
|
+
currentStep: this.currentStepText,
|
|
1721
|
+
stepsInputData: this.stepsInputData,
|
|
1629
1722
|
driver: this.driver,
|
|
1630
1723
|
selector: selector,
|
|
1631
1724
|
scriptDataAppender: this.scriptDataAppender,
|
|
@@ -1634,7 +1727,8 @@ class ActionExecutor {
|
|
|
1634
1727
|
pageDOM,
|
|
1635
1728
|
elementName,
|
|
1636
1729
|
elementType,
|
|
1637
|
-
platform: this.platform
|
|
1730
|
+
platform: this.platform,
|
|
1731
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
1638
1732
|
});
|
|
1639
1733
|
}
|
|
1640
1734
|
catch (error) {
|
|
@@ -1645,8 +1739,12 @@ class ActionExecutor {
|
|
|
1645
1739
|
async getBrowserVersion() {
|
|
1646
1740
|
try {
|
|
1647
1741
|
await (0, getBrowserVersion_js_1.getBrowserVersion)({
|
|
1742
|
+
stepIndex: this.currentStepIndex,
|
|
1743
|
+
currentStep: this.currentStepText,
|
|
1744
|
+
stepsInputData: this.stepsInputData,
|
|
1648
1745
|
driver: this.driver,
|
|
1649
|
-
scriptDataAppender: this.scriptDataAppender
|
|
1746
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
1747
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
1650
1748
|
});
|
|
1651
1749
|
}
|
|
1652
1750
|
catch (error) {
|
|
@@ -1657,8 +1755,12 @@ class ActionExecutor {
|
|
|
1657
1755
|
async getAllBrokenLinks() {
|
|
1658
1756
|
try {
|
|
1659
1757
|
await (0, getAllBrokenLinks_js_1.getAllBrokenLinks)({
|
|
1758
|
+
stepIndex: this.currentStepIndex,
|
|
1759
|
+
currentStep: this.currentStepText,
|
|
1760
|
+
stepsInputData: this.stepsInputData,
|
|
1660
1761
|
driver: this.driver,
|
|
1661
|
-
scriptDataAppender: this.scriptDataAppender
|
|
1762
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
1763
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
1662
1764
|
});
|
|
1663
1765
|
}
|
|
1664
1766
|
catch (error) {
|
|
@@ -1669,8 +1771,12 @@ class ActionExecutor {
|
|
|
1669
1771
|
async getHeightOfBrowserWindow() {
|
|
1670
1772
|
try {
|
|
1671
1773
|
await (0, getHeightOfBrowserWindow_js_1.getHeightOfBrowserWindow)({
|
|
1774
|
+
stepIndex: this.currentStepIndex,
|
|
1775
|
+
currentStep: this.currentStepText,
|
|
1776
|
+
stepsInputData: this.stepsInputData,
|
|
1672
1777
|
driver: this.driver,
|
|
1673
|
-
scriptDataAppender: this.scriptDataAppender
|
|
1778
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
1779
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
1674
1780
|
});
|
|
1675
1781
|
}
|
|
1676
1782
|
catch (error) {
|
|
@@ -1681,8 +1787,12 @@ class ActionExecutor {
|
|
|
1681
1787
|
async getWidthOfBrowser() {
|
|
1682
1788
|
try {
|
|
1683
1789
|
await (0, getWidthOfBrowser_js_1.getWidthOfBrowser)({
|
|
1790
|
+
stepIndex: this.currentStepIndex,
|
|
1791
|
+
currentStep: this.currentStepText,
|
|
1792
|
+
stepsInputData: this.stepsInputData,
|
|
1684
1793
|
driver: this.driver,
|
|
1685
|
-
scriptDataAppender: this.scriptDataAppender
|
|
1794
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
1795
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
1686
1796
|
});
|
|
1687
1797
|
}
|
|
1688
1798
|
catch (error) {
|
|
@@ -1693,8 +1803,12 @@ class ActionExecutor {
|
|
|
1693
1803
|
async getXLocationOfBrowserWindow() {
|
|
1694
1804
|
try {
|
|
1695
1805
|
await (0, getXLocationOfBrowserWindow_js_1.getXLocationOfBrowserWindow)({
|
|
1806
|
+
stepIndex: this.currentStepIndex,
|
|
1807
|
+
currentStep: this.currentStepText,
|
|
1808
|
+
stepsInputData: this.stepsInputData,
|
|
1696
1809
|
driver: this.driver,
|
|
1697
|
-
scriptDataAppender: this.scriptDataAppender
|
|
1810
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
1811
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
1698
1812
|
});
|
|
1699
1813
|
}
|
|
1700
1814
|
catch (error) {
|
|
@@ -1705,8 +1819,12 @@ class ActionExecutor {
|
|
|
1705
1819
|
async getYLocationOfBrowserWindow() {
|
|
1706
1820
|
try {
|
|
1707
1821
|
await (0, getYLocationOfBrowserWindow_js_1.getYLocationOfBrowserWindow)({
|
|
1822
|
+
stepIndex: this.currentStepIndex,
|
|
1823
|
+
currentStep: this.currentStepText,
|
|
1824
|
+
stepsInputData: this.stepsInputData,
|
|
1708
1825
|
driver: this.driver,
|
|
1709
|
-
scriptDataAppender: this.scriptDataAppender
|
|
1826
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
1827
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
1710
1828
|
});
|
|
1711
1829
|
}
|
|
1712
1830
|
catch (error) {
|
|
@@ -1717,8 +1835,12 @@ class ActionExecutor {
|
|
|
1717
1835
|
async getAllBrokenLinkCount() {
|
|
1718
1836
|
try {
|
|
1719
1837
|
await (0, getAllBrokenLinkCount_js_1.getAllBrokenLinkCount)({
|
|
1838
|
+
stepIndex: this.currentStepIndex,
|
|
1839
|
+
currentStep: this.currentStepText,
|
|
1840
|
+
stepsInputData: this.stepsInputData,
|
|
1720
1841
|
driver: this.driver,
|
|
1721
|
-
scriptDataAppender: this.scriptDataAppender
|
|
1842
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
1843
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
1722
1844
|
});
|
|
1723
1845
|
}
|
|
1724
1846
|
catch (error) {
|
|
@@ -1729,9 +1851,13 @@ class ActionExecutor {
|
|
|
1729
1851
|
async getCurrentWindowHandle() {
|
|
1730
1852
|
try {
|
|
1731
1853
|
await (0, getCurrentWindowHandle_js_1.getCurrentWindowHandle)({
|
|
1854
|
+
stepIndex: this.currentStepIndex,
|
|
1855
|
+
currentStep: this.currentStepText,
|
|
1856
|
+
stepsInputData: this.stepsInputData,
|
|
1732
1857
|
driver: this.driver,
|
|
1733
1858
|
scriptDataAppender: this.scriptDataAppender,
|
|
1734
|
-
platform: this.platform
|
|
1859
|
+
platform: this.platform,
|
|
1860
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
1735
1861
|
});
|
|
1736
1862
|
}
|
|
1737
1863
|
catch (error) {
|
|
@@ -1742,8 +1868,12 @@ class ActionExecutor {
|
|
|
1742
1868
|
async getAllWindowHandles() {
|
|
1743
1869
|
try {
|
|
1744
1870
|
await (0, getAllWindowHandles_js_1.getAllWindowHandles)({
|
|
1871
|
+
stepIndex: this.currentStepIndex,
|
|
1872
|
+
currentStep: this.currentStepText,
|
|
1873
|
+
stepsInputData: this.stepsInputData,
|
|
1745
1874
|
driver: this.driver,
|
|
1746
|
-
scriptDataAppender: this.scriptDataAppender
|
|
1875
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
1876
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
1747
1877
|
});
|
|
1748
1878
|
}
|
|
1749
1879
|
catch (error) {
|
|
@@ -1754,8 +1884,12 @@ class ActionExecutor {
|
|
|
1754
1884
|
async getURLPresentInAddressBar() {
|
|
1755
1885
|
try {
|
|
1756
1886
|
await (0, getURLPresentInAddressBar_js_1.getURLPresentInAddressBar)({
|
|
1887
|
+
stepIndex: this.currentStepIndex,
|
|
1888
|
+
currentStep: this.currentStepText,
|
|
1889
|
+
stepsInputData: this.stepsInputData,
|
|
1757
1890
|
driver: this.driver,
|
|
1758
|
-
scriptDataAppender: this.scriptDataAppender
|
|
1891
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
1892
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
1759
1893
|
});
|
|
1760
1894
|
}
|
|
1761
1895
|
catch (error) {
|
|
@@ -1766,8 +1900,12 @@ class ActionExecutor {
|
|
|
1766
1900
|
async getHTMLCodeOfPage() {
|
|
1767
1901
|
try {
|
|
1768
1902
|
await (0, getHTMLCodeOfPage_js_1.getHTMLCodeOfPage)({
|
|
1903
|
+
stepIndex: this.currentStepIndex,
|
|
1904
|
+
currentStep: this.currentStepText,
|
|
1905
|
+
stepsInputData: this.stepsInputData,
|
|
1769
1906
|
driver: this.driver,
|
|
1770
|
-
scriptDataAppender: this.scriptDataAppender
|
|
1907
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
1908
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
1771
1909
|
});
|
|
1772
1910
|
}
|
|
1773
1911
|
catch (error) {
|
|
@@ -1778,8 +1916,12 @@ class ActionExecutor {
|
|
|
1778
1916
|
async getBrowserCount() {
|
|
1779
1917
|
try {
|
|
1780
1918
|
await (0, getBrowserCount_js_1.getBrowserCount)({
|
|
1919
|
+
stepIndex: this.currentStepIndex,
|
|
1920
|
+
currentStep: this.currentStepText,
|
|
1921
|
+
stepsInputData: this.stepsInputData,
|
|
1781
1922
|
driver: this.driver,
|
|
1782
|
-
scriptDataAppender: this.scriptDataAppender
|
|
1923
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
1924
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
1783
1925
|
});
|
|
1784
1926
|
}
|
|
1785
1927
|
catch (error) {
|
|
@@ -1790,9 +1932,13 @@ class ActionExecutor {
|
|
|
1790
1932
|
async getImplicitTimeOut() {
|
|
1791
1933
|
try {
|
|
1792
1934
|
await (0, getImplicitTimeOut_js_1.getImplicitTimeOut)({
|
|
1935
|
+
stepIndex: this.currentStepIndex,
|
|
1936
|
+
currentStep: this.currentStepText,
|
|
1937
|
+
stepsInputData: this.stepsInputData,
|
|
1793
1938
|
driver: this.driver,
|
|
1794
1939
|
scriptDataAppender: this.scriptDataAppender,
|
|
1795
|
-
platform: this.platform
|
|
1940
|
+
platform: this.platform,
|
|
1941
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
1796
1942
|
});
|
|
1797
1943
|
}
|
|
1798
1944
|
catch (error) {
|
|
@@ -1803,8 +1949,12 @@ class ActionExecutor {
|
|
|
1803
1949
|
async getCapabilityNames() {
|
|
1804
1950
|
try {
|
|
1805
1951
|
await (0, getCapabilityNames_js_1.getCapabilityNames)({
|
|
1952
|
+
stepIndex: this.currentStepIndex,
|
|
1953
|
+
currentStep: this.currentStepText,
|
|
1954
|
+
stepsInputData: this.stepsInputData,
|
|
1806
1955
|
driver: this.driver,
|
|
1807
|
-
scriptDataAppender: this.scriptDataAppender
|
|
1956
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
1957
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
1808
1958
|
});
|
|
1809
1959
|
}
|
|
1810
1960
|
catch (error) {
|
|
@@ -1815,8 +1965,12 @@ class ActionExecutor {
|
|
|
1815
1965
|
async getCurrentSystemDate() {
|
|
1816
1966
|
try {
|
|
1817
1967
|
await (0, getCurrentSystemDate_js_1.getCurrentSystemDate)({
|
|
1968
|
+
stepIndex: this.currentStepIndex,
|
|
1969
|
+
currentStep: this.currentStepText,
|
|
1970
|
+
stepsInputData: this.stepsInputData,
|
|
1818
1971
|
driver: this.driver,
|
|
1819
|
-
scriptDataAppender: this.scriptDataAppender
|
|
1972
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
1973
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
1820
1974
|
});
|
|
1821
1975
|
}
|
|
1822
1976
|
catch (error) {
|
|
@@ -1827,8 +1981,12 @@ class ActionExecutor {
|
|
|
1827
1981
|
async getCurrentDayOfTheWeek() {
|
|
1828
1982
|
try {
|
|
1829
1983
|
await (0, getCurrentDayOfTheWeek_js_1.getCurrentDayOfTheWeek)({
|
|
1984
|
+
stepIndex: this.currentStepIndex,
|
|
1985
|
+
currentStep: this.currentStepText,
|
|
1986
|
+
stepsInputData: this.stepsInputData,
|
|
1830
1987
|
driver: this.driver,
|
|
1831
|
-
scriptDataAppender: this.scriptDataAppender
|
|
1988
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
1989
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
1832
1990
|
});
|
|
1833
1991
|
}
|
|
1834
1992
|
catch (error) {
|
|
@@ -1839,8 +1997,12 @@ class ActionExecutor {
|
|
|
1839
1997
|
async getCurrentSystemTime() {
|
|
1840
1998
|
try {
|
|
1841
1999
|
await (0, getCurrentSystemTime_js_1.getCurrentSystemTime)({
|
|
2000
|
+
stepIndex: this.currentStepIndex,
|
|
2001
|
+
currentStep: this.currentStepText,
|
|
2002
|
+
stepsInputData: this.stepsInputData,
|
|
1842
2003
|
driver: this.driver,
|
|
1843
|
-
scriptDataAppender: this.scriptDataAppender
|
|
2004
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
2005
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
1844
2006
|
});
|
|
1845
2007
|
}
|
|
1846
2008
|
catch (error) {
|
|
@@ -1851,8 +2013,12 @@ class ActionExecutor {
|
|
|
1851
2013
|
async getCurrentSecondsFromCurrentSystemTime() {
|
|
1852
2014
|
try {
|
|
1853
2015
|
await (0, getCurrentSecondsFromCurrentSystemTime_js_1.getCurrentSecondsFromCurrentSystemTime)({
|
|
2016
|
+
stepIndex: this.currentStepIndex,
|
|
2017
|
+
currentStep: this.currentStepText,
|
|
2018
|
+
stepsInputData: this.stepsInputData,
|
|
1854
2019
|
driver: this.driver,
|
|
1855
|
-
scriptDataAppender: this.scriptDataAppender
|
|
2020
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
2021
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
1856
2022
|
});
|
|
1857
2023
|
}
|
|
1858
2024
|
catch (error) {
|
|
@@ -1863,8 +2029,12 @@ class ActionExecutor {
|
|
|
1863
2029
|
async getCurrentSystemYear() {
|
|
1864
2030
|
try {
|
|
1865
2031
|
await (0, getCurrentSystemYear_js_1.getCurrentSystemYear)({
|
|
2032
|
+
stepIndex: this.currentStepIndex,
|
|
2033
|
+
currentStep: this.currentStepText,
|
|
2034
|
+
stepsInputData: this.stepsInputData,
|
|
1866
2035
|
driver: this.driver,
|
|
1867
|
-
scriptDataAppender: this.scriptDataAppender
|
|
2036
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
2037
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
1868
2038
|
});
|
|
1869
2039
|
}
|
|
1870
2040
|
catch (error) {
|
|
@@ -1875,8 +2045,12 @@ class ActionExecutor {
|
|
|
1875
2045
|
async getHourFromCurrentSystemTime() {
|
|
1876
2046
|
try {
|
|
1877
2047
|
await (0, getHourFromCurrentSystemTime_js_1.getHourFromCurrentSystemTime)({
|
|
2048
|
+
stepIndex: this.currentStepIndex,
|
|
2049
|
+
currentStep: this.currentStepText,
|
|
2050
|
+
stepsInputData: this.stepsInputData,
|
|
1878
2051
|
driver: this.driver,
|
|
1879
|
-
scriptDataAppender: this.scriptDataAppender
|
|
2052
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
2053
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
1880
2054
|
});
|
|
1881
2055
|
}
|
|
1882
2056
|
catch (error) {
|
|
@@ -1887,8 +2061,12 @@ class ActionExecutor {
|
|
|
1887
2061
|
async getMinuteFromCurrentSystemTime() {
|
|
1888
2062
|
try {
|
|
1889
2063
|
await (0, getMinuteFromCurrentSystemTime_js_1.getMinuteFromCurrentSystemTime)({
|
|
2064
|
+
stepIndex: this.currentStepIndex,
|
|
2065
|
+
currentStep: this.currentStepText,
|
|
2066
|
+
stepsInputData: this.stepsInputData,
|
|
1890
2067
|
driver: this.driver,
|
|
1891
|
-
scriptDataAppender: this.scriptDataAppender
|
|
2068
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
2069
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
1892
2070
|
});
|
|
1893
2071
|
}
|
|
1894
2072
|
catch (error) {
|
|
@@ -1899,8 +2077,12 @@ class ActionExecutor {
|
|
|
1899
2077
|
async getNumberOfLinksPresentInCurrentPage() {
|
|
1900
2078
|
try {
|
|
1901
2079
|
await (0, getNumberOfLinksPresentInCurrentPage_js_1.getNumberOfLinksPresentInCurrentPage)({
|
|
2080
|
+
stepIndex: this.currentStepIndex,
|
|
2081
|
+
currentStep: this.currentStepText,
|
|
2082
|
+
stepsInputData: this.stepsInputData,
|
|
1902
2083
|
driver: this.driver,
|
|
1903
|
-
scriptDataAppender: this.scriptDataAppender
|
|
2084
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
2085
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
1904
2086
|
});
|
|
1905
2087
|
}
|
|
1906
2088
|
catch (error) {
|
|
@@ -1911,8 +2093,12 @@ class ActionExecutor {
|
|
|
1911
2093
|
async getAllConsoleWarnings() {
|
|
1912
2094
|
try {
|
|
1913
2095
|
await (0, getAllConsoleWarnings_js_1.getAllConsoleWarnings)({
|
|
2096
|
+
stepIndex: this.currentStepIndex,
|
|
2097
|
+
currentStep: this.currentStepText,
|
|
2098
|
+
stepsInputData: this.stepsInputData,
|
|
1914
2099
|
driver: this.driver,
|
|
1915
|
-
scriptDataAppender: this.scriptDataAppender
|
|
2100
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
2101
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
1916
2102
|
});
|
|
1917
2103
|
}
|
|
1918
2104
|
catch (error) {
|
|
@@ -1923,8 +2109,12 @@ class ActionExecutor {
|
|
|
1923
2109
|
async getAllConsoleInformation() {
|
|
1924
2110
|
try {
|
|
1925
2111
|
await (0, getAllConsoleInformation_js_1.getAllConsoleInformation)({
|
|
2112
|
+
stepIndex: this.currentStepIndex,
|
|
2113
|
+
currentStep: this.currentStepText,
|
|
2114
|
+
stepsInputData: this.stepsInputData,
|
|
1926
2115
|
driver: this.driver,
|
|
1927
|
-
scriptDataAppender: this.scriptDataAppender
|
|
2116
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
2117
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
1928
2118
|
});
|
|
1929
2119
|
}
|
|
1930
2120
|
catch (error) {
|
|
@@ -1935,8 +2125,12 @@ class ActionExecutor {
|
|
|
1935
2125
|
async getAllConsoleErrors() {
|
|
1936
2126
|
try {
|
|
1937
2127
|
await (0, getAllConsoleErrors_js_1.getAllConsoleErrors)({
|
|
2128
|
+
stepIndex: this.currentStepIndex,
|
|
2129
|
+
currentStep: this.currentStepText,
|
|
2130
|
+
stepsInputData: this.stepsInputData,
|
|
1938
2131
|
driver: this.driver,
|
|
1939
|
-
scriptDataAppender: this.scriptDataAppender
|
|
2132
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
2133
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
1940
2134
|
});
|
|
1941
2135
|
}
|
|
1942
2136
|
catch (error) {
|
|
@@ -1947,8 +2141,12 @@ class ActionExecutor {
|
|
|
1947
2141
|
async getAllCookieValues() {
|
|
1948
2142
|
try {
|
|
1949
2143
|
await (0, getAllCookieValues_js_1.getAllCookieValues)({
|
|
2144
|
+
stepIndex: this.currentStepIndex,
|
|
2145
|
+
currentStep: this.currentStepText,
|
|
2146
|
+
stepsInputData: this.stepsInputData,
|
|
1950
2147
|
driver: this.driver,
|
|
1951
|
-
scriptDataAppender: this.scriptDataAppender
|
|
2148
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
2149
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
1952
2150
|
});
|
|
1953
2151
|
}
|
|
1954
2152
|
catch (error) {
|
|
@@ -1959,8 +2157,12 @@ class ActionExecutor {
|
|
|
1959
2157
|
async getSizeOfBrowserWindow() {
|
|
1960
2158
|
try {
|
|
1961
2159
|
await (0, getSizeOfBrowserWindow_js_1.getSizeOfBrowserWindow)({
|
|
2160
|
+
stepIndex: this.currentStepIndex,
|
|
2161
|
+
currentStep: this.currentStepText,
|
|
2162
|
+
stepsInputData: this.stepsInputData,
|
|
1962
2163
|
driver: this.driver,
|
|
1963
|
-
scriptDataAppender: this.scriptDataAppender
|
|
2164
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
2165
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
1964
2166
|
});
|
|
1965
2167
|
}
|
|
1966
2168
|
catch (error) {
|
|
@@ -1971,8 +2173,12 @@ class ActionExecutor {
|
|
|
1971
2173
|
async getCurrentSystemMonth() {
|
|
1972
2174
|
try {
|
|
1973
2175
|
await (0, getCurrentSystemMonth_js_1.getCurrentSystemMonth)({
|
|
2176
|
+
stepIndex: this.currentStepIndex,
|
|
2177
|
+
currentStep: this.currentStepText,
|
|
2178
|
+
stepsInputData: this.stepsInputData,
|
|
1974
2179
|
driver: this.driver,
|
|
1975
|
-
scriptDataAppender: this.scriptDataAppender
|
|
2180
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
2181
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
1976
2182
|
});
|
|
1977
2183
|
}
|
|
1978
2184
|
catch (error) {
|
|
@@ -1983,8 +2189,12 @@ class ActionExecutor {
|
|
|
1983
2189
|
async getCurrentSystemDay() {
|
|
1984
2190
|
try {
|
|
1985
2191
|
await (0, getCurrentSystemDay_js_1.getCurrentSystemDay)({
|
|
2192
|
+
stepIndex: this.currentStepIndex,
|
|
2193
|
+
currentStep: this.currentStepText,
|
|
2194
|
+
stepsInputData: this.stepsInputData,
|
|
1986
2195
|
driver: this.driver,
|
|
1987
|
-
scriptDataAppender: this.scriptDataAppender
|
|
2196
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
2197
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
1988
2198
|
});
|
|
1989
2199
|
}
|
|
1990
2200
|
catch (error) {
|
|
@@ -1995,8 +2205,12 @@ class ActionExecutor {
|
|
|
1995
2205
|
async getAllConsoleLogs() {
|
|
1996
2206
|
try {
|
|
1997
2207
|
await (0, getAllConsoleLogs_js_1.getAllConsoleLogs)({
|
|
2208
|
+
stepIndex: this.currentStepIndex,
|
|
2209
|
+
currentStep: this.currentStepText,
|
|
2210
|
+
stepsInputData: this.stepsInputData,
|
|
1998
2211
|
driver: this.driver,
|
|
1999
|
-
scriptDataAppender: this.scriptDataAppender
|
|
2212
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
2213
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2000
2214
|
});
|
|
2001
2215
|
}
|
|
2002
2216
|
catch (error) {
|
|
@@ -2007,8 +2221,12 @@ class ActionExecutor {
|
|
|
2007
2221
|
async getTotalNumberOfCookies() {
|
|
2008
2222
|
try {
|
|
2009
2223
|
await (0, getTotalNumberOfCookies_js_1.getTotalNumberOfCookies)({
|
|
2224
|
+
stepIndex: this.currentStepIndex,
|
|
2225
|
+
currentStep: this.currentStepText,
|
|
2226
|
+
stepsInputData: this.stepsInputData,
|
|
2010
2227
|
driver: this.driver,
|
|
2011
|
-
scriptDataAppender: this.scriptDataAppender
|
|
2228
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
2229
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2012
2230
|
});
|
|
2013
2231
|
}
|
|
2014
2232
|
catch (error) {
|
|
@@ -2019,8 +2237,12 @@ class ActionExecutor {
|
|
|
2019
2237
|
async getAllBrokenImages() {
|
|
2020
2238
|
try {
|
|
2021
2239
|
await (0, getAllBrokenImages_js_1.getAllBrokenImages)({
|
|
2240
|
+
stepIndex: this.currentStepIndex,
|
|
2241
|
+
currentStep: this.currentStepText,
|
|
2242
|
+
stepsInputData: this.stepsInputData,
|
|
2022
2243
|
driver: this.driver,
|
|
2023
|
-
scriptDataAppender: this.scriptDataAppender
|
|
2244
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
2245
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2024
2246
|
});
|
|
2025
2247
|
}
|
|
2026
2248
|
catch (error) {
|
|
@@ -2031,8 +2253,12 @@ class ActionExecutor {
|
|
|
2031
2253
|
async getAllCookieNames() {
|
|
2032
2254
|
try {
|
|
2033
2255
|
await (0, getAllCookieNames_js_1.getAllCookieNames)({
|
|
2256
|
+
stepIndex: this.currentStepIndex,
|
|
2257
|
+
currentStep: this.currentStepText,
|
|
2258
|
+
stepsInputData: this.stepsInputData,
|
|
2034
2259
|
driver: this.driver,
|
|
2035
|
-
scriptDataAppender: this.scriptDataAppender
|
|
2260
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
2261
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2036
2262
|
});
|
|
2037
2263
|
}
|
|
2038
2264
|
catch (error) {
|
|
@@ -2043,8 +2269,12 @@ class ActionExecutor {
|
|
|
2043
2269
|
async getNumberOfWorkingLinksFromCurrentPage() {
|
|
2044
2270
|
try {
|
|
2045
2271
|
await (0, getNumberOfWorkingLinksFromCurrentPage_js_1.getNumberOfWorkingLinksFromCurrentPage)({
|
|
2272
|
+
stepIndex: this.currentStepIndex,
|
|
2273
|
+
currentStep: this.currentStepText,
|
|
2274
|
+
stepsInputData: this.stepsInputData,
|
|
2046
2275
|
driver: this.driver,
|
|
2047
|
-
scriptDataAppender: this.scriptDataAppender
|
|
2276
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
2277
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2048
2278
|
});
|
|
2049
2279
|
}
|
|
2050
2280
|
catch (error) {
|
|
@@ -2055,8 +2285,12 @@ class ActionExecutor {
|
|
|
2055
2285
|
async getNumberOfBrokenImages() {
|
|
2056
2286
|
try {
|
|
2057
2287
|
await (0, getNumberOfBrokenImages_js_1.getNumberOfBrokenImages)({
|
|
2288
|
+
stepIndex: this.currentStepIndex,
|
|
2289
|
+
currentStep: this.currentStepText,
|
|
2290
|
+
stepsInputData: this.stepsInputData,
|
|
2058
2291
|
driver: this.driver,
|
|
2059
|
-
scriptDataAppender: this.scriptDataAppender
|
|
2292
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
2293
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2060
2294
|
});
|
|
2061
2295
|
}
|
|
2062
2296
|
catch (error) {
|
|
@@ -2067,8 +2301,12 @@ class ActionExecutor {
|
|
|
2067
2301
|
async getWorkingLinksFromCurrentPage() {
|
|
2068
2302
|
try {
|
|
2069
2303
|
await (0, getWorkingLinksFromCurrentPage_js_1.getWorkingLinksFromCurrentPage)({
|
|
2304
|
+
stepIndex: this.currentStepIndex,
|
|
2305
|
+
currentStep: this.currentStepText,
|
|
2306
|
+
stepsInputData: this.stepsInputData,
|
|
2070
2307
|
driver: this.driver,
|
|
2071
|
-
scriptDataAppender: this.scriptDataAppender
|
|
2308
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
2309
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2072
2310
|
});
|
|
2073
2311
|
}
|
|
2074
2312
|
catch (error) {
|
|
@@ -2079,8 +2317,12 @@ class ActionExecutor {
|
|
|
2079
2317
|
async browserWindowGetPosition() {
|
|
2080
2318
|
try {
|
|
2081
2319
|
await (0, browserWindowGetPosition_js_1.browserWindowGetPosition)({
|
|
2320
|
+
stepIndex: this.currentStepIndex,
|
|
2321
|
+
currentStep: this.currentStepText,
|
|
2322
|
+
stepsInputData: this.stepsInputData,
|
|
2082
2323
|
driver: this.driver,
|
|
2083
|
-
scriptDataAppender: this.scriptDataAppender
|
|
2324
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
2325
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2084
2326
|
});
|
|
2085
2327
|
}
|
|
2086
2328
|
catch (error) {
|
|
@@ -2091,8 +2333,12 @@ class ActionExecutor {
|
|
|
2091
2333
|
async getClipBoardText() {
|
|
2092
2334
|
try {
|
|
2093
2335
|
await (0, getClipBoardText_js_1.getClipBoardText)({
|
|
2336
|
+
stepIndex: this.currentStepIndex,
|
|
2337
|
+
currentStep: this.currentStepText,
|
|
2338
|
+
stepsInputData: this.stepsInputData,
|
|
2094
2339
|
driver: this.driver,
|
|
2095
|
-
scriptDataAppender: this.scriptDataAppender
|
|
2340
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
2341
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2096
2342
|
});
|
|
2097
2343
|
}
|
|
2098
2344
|
catch (error) {
|
|
@@ -2103,9 +2349,13 @@ class ActionExecutor {
|
|
|
2103
2349
|
async getDriverInstance() {
|
|
2104
2350
|
try {
|
|
2105
2351
|
await (0, getDriverInstance_js_1.getDriverInstance)({
|
|
2352
|
+
stepIndex: this.currentStepIndex,
|
|
2353
|
+
currentStep: this.currentStepText,
|
|
2354
|
+
stepsInputData: this.stepsInputData,
|
|
2106
2355
|
driver: this.driver,
|
|
2107
2356
|
scriptDataAppender: this.scriptDataAppender,
|
|
2108
|
-
platform: this.platform
|
|
2357
|
+
platform: this.platform,
|
|
2358
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2109
2359
|
});
|
|
2110
2360
|
}
|
|
2111
2361
|
catch (error) {
|
|
@@ -2116,8 +2366,12 @@ class ActionExecutor {
|
|
|
2116
2366
|
async getFullPaintTime() {
|
|
2117
2367
|
try {
|
|
2118
2368
|
await (0, getFullPaintTime_js_1.getFullPaintTime)({
|
|
2369
|
+
stepIndex: this.currentStepIndex,
|
|
2370
|
+
currentStep: this.currentStepText,
|
|
2371
|
+
stepsInputData: this.stepsInputData,
|
|
2119
2372
|
driver: this.driver,
|
|
2120
|
-
scriptDataAppender: this.scriptDataAppender
|
|
2373
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
2374
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2121
2375
|
});
|
|
2122
2376
|
}
|
|
2123
2377
|
catch (error) {
|
|
@@ -2128,8 +2382,12 @@ class ActionExecutor {
|
|
|
2128
2382
|
async getFirstContentfulPaint() {
|
|
2129
2383
|
try {
|
|
2130
2384
|
await (0, getFirstContentfulPaint_js_1.getFirstContentfulPaint)({
|
|
2385
|
+
stepIndex: this.currentStepIndex,
|
|
2386
|
+
currentStep: this.currentStepText,
|
|
2387
|
+
stepsInputData: this.stepsInputData,
|
|
2131
2388
|
driver: this.driver,
|
|
2132
|
-
scriptDataAppender: this.scriptDataAppender
|
|
2389
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
2390
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2133
2391
|
});
|
|
2134
2392
|
}
|
|
2135
2393
|
catch (error) {
|
|
@@ -2140,8 +2398,12 @@ class ActionExecutor {
|
|
|
2140
2398
|
async getLargestContentfulPaint() {
|
|
2141
2399
|
try {
|
|
2142
2400
|
await (0, getLargestContentfulPaint_js_1.getLargestContentfulPaint)({
|
|
2401
|
+
stepIndex: this.currentStepIndex,
|
|
2402
|
+
currentStep: this.currentStepText,
|
|
2403
|
+
stepsInputData: this.stepsInputData,
|
|
2143
2404
|
driver: this.driver,
|
|
2144
|
-
scriptDataAppender: this.scriptDataAppender
|
|
2405
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
2406
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2145
2407
|
});
|
|
2146
2408
|
}
|
|
2147
2409
|
catch (error) {
|
|
@@ -2152,8 +2414,12 @@ class ActionExecutor {
|
|
|
2152
2414
|
async getNetworkRouteTime() {
|
|
2153
2415
|
try {
|
|
2154
2416
|
await (0, getNetworkRouteTime_js_1.getNetworkRouteTime)({
|
|
2417
|
+
stepIndex: this.currentStepIndex,
|
|
2418
|
+
currentStep: this.currentStepText,
|
|
2419
|
+
stepsInputData: this.stepsInputData,
|
|
2155
2420
|
driver: this.driver,
|
|
2156
|
-
scriptDataAppender: this.scriptDataAppender
|
|
2421
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
2422
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2157
2423
|
});
|
|
2158
2424
|
}
|
|
2159
2425
|
catch (error) {
|
|
@@ -2164,8 +2430,12 @@ class ActionExecutor {
|
|
|
2164
2430
|
async getPerformanceMetrics() {
|
|
2165
2431
|
try {
|
|
2166
2432
|
await (0, getPerformanceMetrics_js_1.getPerformanceMetrics)({
|
|
2433
|
+
stepIndex: this.currentStepIndex,
|
|
2434
|
+
currentStep: this.currentStepText,
|
|
2435
|
+
stepsInputData: this.stepsInputData,
|
|
2167
2436
|
driver: this.driver,
|
|
2168
|
-
scriptDataAppender: this.scriptDataAppender
|
|
2437
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
2438
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2169
2439
|
});
|
|
2170
2440
|
}
|
|
2171
2441
|
catch (error) {
|
|
@@ -2176,8 +2446,12 @@ class ActionExecutor {
|
|
|
2176
2446
|
async getUserHomeDirectory() {
|
|
2177
2447
|
try {
|
|
2178
2448
|
await (0, getUserHomeDirectory_js_1.getUserHomeDirectory)({
|
|
2449
|
+
stepIndex: this.currentStepIndex,
|
|
2450
|
+
currentStep: this.currentStepText,
|
|
2451
|
+
stepsInputData: this.stepsInputData,
|
|
2179
2452
|
driver: this.driver,
|
|
2180
|
-
scriptDataAppender: this.scriptDataAppender
|
|
2453
|
+
scriptDataAppender: this.scriptDataAppender,
|
|
2454
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2181
2455
|
});
|
|
2182
2456
|
}
|
|
2183
2457
|
catch (error) {
|
|
@@ -2188,6 +2462,10 @@ class ActionExecutor {
|
|
|
2188
2462
|
async getText(pageDOM, selector, fireflinkIndex, elementName, elementType) {
|
|
2189
2463
|
try {
|
|
2190
2464
|
await (0, getText_js_1.getText)({
|
|
2465
|
+
stepIndex: this.currentStepIndex,
|
|
2466
|
+
currentStep: this.currentStepText,
|
|
2467
|
+
manualStep: this.manualStepText,
|
|
2468
|
+
stepsInputData: this.stepsInputData,
|
|
2191
2469
|
driver: this.driver,
|
|
2192
2470
|
selector: selector,
|
|
2193
2471
|
scriptDataAppender: this.scriptDataAppender,
|
|
@@ -2196,7 +2474,8 @@ class ActionExecutor {
|
|
|
2196
2474
|
pageDOM,
|
|
2197
2475
|
elementName,
|
|
2198
2476
|
elementType,
|
|
2199
|
-
platform: this.platform
|
|
2477
|
+
platform: this.platform,
|
|
2478
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2200
2479
|
});
|
|
2201
2480
|
}
|
|
2202
2481
|
catch (error) {
|
|
@@ -2207,6 +2486,9 @@ class ActionExecutor {
|
|
|
2207
2486
|
async getCssValue(pageDOM, selector, value, fireflinkIndex, elementName, elementType) {
|
|
2208
2487
|
try {
|
|
2209
2488
|
await (0, getCssValue_js_1.getCssValue)({
|
|
2489
|
+
stepIndex: this.currentStepIndex,
|
|
2490
|
+
currentStep: this.currentStepText,
|
|
2491
|
+
stepsInputData: this.stepsInputData,
|
|
2210
2492
|
driver: this.driver,
|
|
2211
2493
|
selector: selector,
|
|
2212
2494
|
scriptDataAppender: this.scriptDataAppender,
|
|
@@ -2216,7 +2498,8 @@ class ActionExecutor {
|
|
|
2216
2498
|
pageDOM,
|
|
2217
2499
|
elementName,
|
|
2218
2500
|
elementType,
|
|
2219
|
-
platform: this.platform
|
|
2501
|
+
platform: this.platform,
|
|
2502
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2220
2503
|
});
|
|
2221
2504
|
}
|
|
2222
2505
|
catch (error) {
|
|
@@ -2227,6 +2510,9 @@ class ActionExecutor {
|
|
|
2227
2510
|
async getSize(pageDOM, selector, fireflinkIndex, elementName, elementType) {
|
|
2228
2511
|
try {
|
|
2229
2512
|
await (0, getSize_js_1.getSize)({
|
|
2513
|
+
stepIndex: this.currentStepIndex,
|
|
2514
|
+
currentStep: this.currentStepText,
|
|
2515
|
+
stepsInputData: this.stepsInputData,
|
|
2230
2516
|
driver: this.driver,
|
|
2231
2517
|
selector: selector,
|
|
2232
2518
|
scriptDataAppender: this.scriptDataAppender,
|
|
@@ -2235,7 +2521,8 @@ class ActionExecutor {
|
|
|
2235
2521
|
pageDOM,
|
|
2236
2522
|
elementName,
|
|
2237
2523
|
elementType,
|
|
2238
|
-
platform: this.platform
|
|
2524
|
+
platform: this.platform,
|
|
2525
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2239
2526
|
});
|
|
2240
2527
|
}
|
|
2241
2528
|
catch (error) {
|
|
@@ -2246,6 +2533,9 @@ class ActionExecutor {
|
|
|
2246
2533
|
async getRect(pageDOM, selector, fireflinkIndex, elementName, elementType) {
|
|
2247
2534
|
try {
|
|
2248
2535
|
await (0, getRect_js_1.getRect)({
|
|
2536
|
+
stepIndex: this.currentStepIndex,
|
|
2537
|
+
currentStep: this.currentStepText,
|
|
2538
|
+
stepsInputData: this.stepsInputData,
|
|
2249
2539
|
driver: this.driver,
|
|
2250
2540
|
selector: selector,
|
|
2251
2541
|
scriptDataAppender: this.scriptDataAppender,
|
|
@@ -2254,7 +2544,8 @@ class ActionExecutor {
|
|
|
2254
2544
|
pageDOM,
|
|
2255
2545
|
elementName,
|
|
2256
2546
|
elementType,
|
|
2257
|
-
platform: this.platform
|
|
2547
|
+
platform: this.platform,
|
|
2548
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2258
2549
|
});
|
|
2259
2550
|
}
|
|
2260
2551
|
catch (error) {
|
|
@@ -2265,6 +2556,9 @@ class ActionExecutor {
|
|
|
2265
2556
|
async getLocation(pageDOM, selector, fireflinkIndex, elementName, elementType) {
|
|
2266
2557
|
try {
|
|
2267
2558
|
await (0, getLocation_js_1.getLocation)({
|
|
2559
|
+
stepIndex: this.currentStepIndex,
|
|
2560
|
+
currentStep: this.currentStepText,
|
|
2561
|
+
stepsInputData: this.stepsInputData,
|
|
2268
2562
|
driver: this.driver,
|
|
2269
2563
|
selector: selector,
|
|
2270
2564
|
scriptDataAppender: this.scriptDataAppender,
|
|
@@ -2273,7 +2567,8 @@ class ActionExecutor {
|
|
|
2273
2567
|
pageDOM,
|
|
2274
2568
|
elementName,
|
|
2275
2569
|
elementType,
|
|
2276
|
-
platform: this.platform
|
|
2570
|
+
platform: this.platform,
|
|
2571
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2277
2572
|
});
|
|
2278
2573
|
}
|
|
2279
2574
|
catch (error) {
|
|
@@ -2284,6 +2579,9 @@ class ActionExecutor {
|
|
|
2284
2579
|
async getXLocationOfWebElement(pageDOM, selector, fireflinkIndex, elementName, elementType) {
|
|
2285
2580
|
try {
|
|
2286
2581
|
await (0, getXLocationOfWebElement_js_1.getXLocationOfWebElement)({
|
|
2582
|
+
stepIndex: this.currentStepIndex,
|
|
2583
|
+
currentStep: this.currentStepText,
|
|
2584
|
+
stepsInputData: this.stepsInputData,
|
|
2287
2585
|
driver: this.driver,
|
|
2288
2586
|
selector: selector,
|
|
2289
2587
|
scriptDataAppender: this.scriptDataAppender,
|
|
@@ -2292,7 +2590,8 @@ class ActionExecutor {
|
|
|
2292
2590
|
pageDOM,
|
|
2293
2591
|
elementName,
|
|
2294
2592
|
elementType,
|
|
2295
|
-
platform: this.platform
|
|
2593
|
+
platform: this.platform,
|
|
2594
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2296
2595
|
});
|
|
2297
2596
|
}
|
|
2298
2597
|
catch (error) {
|
|
@@ -2303,6 +2602,9 @@ class ActionExecutor {
|
|
|
2303
2602
|
async getYLocationOfWebElement(pageDOM, selector, fireflinkIndex, elementName, elementType) {
|
|
2304
2603
|
try {
|
|
2305
2604
|
await (0, getYLocationOfWebElement_js_1.getYLocationOfWebElement)({
|
|
2605
|
+
stepIndex: this.currentStepIndex,
|
|
2606
|
+
currentStep: this.currentStepText,
|
|
2607
|
+
stepsInputData: this.stepsInputData,
|
|
2306
2608
|
driver: this.driver,
|
|
2307
2609
|
selector: selector,
|
|
2308
2610
|
scriptDataAppender: this.scriptDataAppender,
|
|
@@ -2311,7 +2613,8 @@ class ActionExecutor {
|
|
|
2311
2613
|
pageDOM,
|
|
2312
2614
|
elementName,
|
|
2313
2615
|
elementType,
|
|
2314
|
-
platform: this.platform
|
|
2616
|
+
platform: this.platform,
|
|
2617
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2315
2618
|
});
|
|
2316
2619
|
}
|
|
2317
2620
|
catch (error) {
|
|
@@ -2322,6 +2625,9 @@ class ActionExecutor {
|
|
|
2322
2625
|
async getWidthOfWebElement(pageDOM, selector, fireflinkIndex, elementName, elementType) {
|
|
2323
2626
|
try {
|
|
2324
2627
|
await (0, getWidthOfWebElement_js_1.getWidthOfWebElement)({
|
|
2628
|
+
stepIndex: this.currentStepIndex,
|
|
2629
|
+
currentStep: this.currentStepText,
|
|
2630
|
+
stepsInputData: this.stepsInputData,
|
|
2325
2631
|
driver: this.driver,
|
|
2326
2632
|
selector: selector,
|
|
2327
2633
|
scriptDataAppender: this.scriptDataAppender,
|
|
@@ -2330,7 +2636,8 @@ class ActionExecutor {
|
|
|
2330
2636
|
pageDOM,
|
|
2331
2637
|
elementName,
|
|
2332
2638
|
elementType,
|
|
2333
|
-
platform: this.platform
|
|
2639
|
+
platform: this.platform,
|
|
2640
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2334
2641
|
});
|
|
2335
2642
|
}
|
|
2336
2643
|
catch (error) {
|
|
@@ -2341,6 +2648,9 @@ class ActionExecutor {
|
|
|
2341
2648
|
async getHeightOfWebElement(pageDOM, selector, fireflinkIndex, elementName, elementType) {
|
|
2342
2649
|
try {
|
|
2343
2650
|
await (0, getHeightOfWebElement_js_1.getHeightOfWebElement)({
|
|
2651
|
+
stepIndex: this.currentStepIndex,
|
|
2652
|
+
currentStep: this.currentStepText,
|
|
2653
|
+
stepsInputData: this.stepsInputData,
|
|
2344
2654
|
driver: this.driver,
|
|
2345
2655
|
selector: selector,
|
|
2346
2656
|
scriptDataAppender: this.scriptDataAppender,
|
|
@@ -2349,7 +2659,8 @@ class ActionExecutor {
|
|
|
2349
2659
|
pageDOM,
|
|
2350
2660
|
elementName,
|
|
2351
2661
|
elementType,
|
|
2352
|
-
platform: this.platform
|
|
2662
|
+
platform: this.platform,
|
|
2663
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2353
2664
|
});
|
|
2354
2665
|
}
|
|
2355
2666
|
catch (error) {
|
|
@@ -2360,6 +2671,9 @@ class ActionExecutor {
|
|
|
2360
2671
|
async getWrappedElement(pageDOM, selector, fireflinkIndex, elementName, elementType) {
|
|
2361
2672
|
try {
|
|
2362
2673
|
await (0, getWrappedElement_js_1.getWrappedElement)({
|
|
2674
|
+
stepIndex: this.currentStepIndex,
|
|
2675
|
+
currentStep: this.currentStepText,
|
|
2676
|
+
stepsInputData: this.stepsInputData,
|
|
2363
2677
|
driver: this.driver,
|
|
2364
2678
|
selector: selector,
|
|
2365
2679
|
scriptDataAppender: this.scriptDataAppender,
|
|
@@ -2368,7 +2682,8 @@ class ActionExecutor {
|
|
|
2368
2682
|
pageDOM,
|
|
2369
2683
|
elementName,
|
|
2370
2684
|
elementType,
|
|
2371
|
-
platform: this.platform
|
|
2685
|
+
platform: this.platform,
|
|
2686
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2372
2687
|
});
|
|
2373
2688
|
}
|
|
2374
2689
|
catch (error) {
|
|
@@ -2379,6 +2694,9 @@ class ActionExecutor {
|
|
|
2379
2694
|
async getOptions(pageDOM, selector, fireflinkIndex, elementName, elementType) {
|
|
2380
2695
|
try {
|
|
2381
2696
|
await (0, getOptions_js_1.getOptions)({
|
|
2697
|
+
stepIndex: this.currentStepIndex,
|
|
2698
|
+
currentStep: this.currentStepText,
|
|
2699
|
+
stepsInputData: this.stepsInputData,
|
|
2382
2700
|
driver: this.driver,
|
|
2383
2701
|
selector: selector,
|
|
2384
2702
|
scriptDataAppender: this.scriptDataAppender,
|
|
@@ -2387,7 +2705,8 @@ class ActionExecutor {
|
|
|
2387
2705
|
pageDOM,
|
|
2388
2706
|
elementName,
|
|
2389
2707
|
elementType,
|
|
2390
|
-
platform: this.platform
|
|
2708
|
+
platform: this.platform,
|
|
2709
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2391
2710
|
});
|
|
2392
2711
|
}
|
|
2393
2712
|
catch (error) {
|
|
@@ -2398,6 +2717,9 @@ class ActionExecutor {
|
|
|
2398
2717
|
async getFirstSelectedOption(pageDOM, selector, fireflinkIndex, elementName, elementType) {
|
|
2399
2718
|
try {
|
|
2400
2719
|
await (0, getFirstSelectedOption_js_1.getFirstSelectedOption)({
|
|
2720
|
+
stepIndex: this.currentStepIndex,
|
|
2721
|
+
currentStep: this.currentStepText,
|
|
2722
|
+
stepsInputData: this.stepsInputData,
|
|
2401
2723
|
driver: this.driver,
|
|
2402
2724
|
selector: selector,
|
|
2403
2725
|
scriptDataAppender: this.scriptDataAppender,
|
|
@@ -2406,7 +2728,8 @@ class ActionExecutor {
|
|
|
2406
2728
|
pageDOM,
|
|
2407
2729
|
elementName,
|
|
2408
2730
|
elementType,
|
|
2409
|
-
platform: this.platform
|
|
2731
|
+
platform: this.platform,
|
|
2732
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2410
2733
|
});
|
|
2411
2734
|
}
|
|
2412
2735
|
catch (error) {
|
|
@@ -2417,6 +2740,9 @@ class ActionExecutor {
|
|
|
2417
2740
|
async getAllSelectedOptions(pageDOM, selector, fireflinkIndex, elementName, elementType) {
|
|
2418
2741
|
try {
|
|
2419
2742
|
await (0, getAllSelectedOptions_js_1.getAllSelectedOptions)({
|
|
2743
|
+
stepIndex: this.currentStepIndex,
|
|
2744
|
+
currentStep: this.currentStepText,
|
|
2745
|
+
stepsInputData: this.stepsInputData,
|
|
2420
2746
|
driver: this.driver,
|
|
2421
2747
|
selector: selector,
|
|
2422
2748
|
scriptDataAppender: this.scriptDataAppender,
|
|
@@ -2425,7 +2751,8 @@ class ActionExecutor {
|
|
|
2425
2751
|
pageDOM,
|
|
2426
2752
|
elementName,
|
|
2427
2753
|
elementType,
|
|
2428
|
-
platform: this.platform
|
|
2754
|
+
platform: this.platform,
|
|
2755
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2429
2756
|
});
|
|
2430
2757
|
}
|
|
2431
2758
|
catch (error) {
|
|
@@ -2436,6 +2763,9 @@ class ActionExecutor {
|
|
|
2436
2763
|
async getAllTheOptionsFromListBoxAsText(pageDOM, selector, fireflinkIndex, elementName, elementType) {
|
|
2437
2764
|
try {
|
|
2438
2765
|
await (0, getAllTheOptionsFromListBoxAsText_js_1.getAllTheOptionsFromListBoxAsText)({
|
|
2766
|
+
stepIndex: this.currentStepIndex,
|
|
2767
|
+
currentStep: this.currentStepText,
|
|
2768
|
+
stepsInputData: this.stepsInputData,
|
|
2439
2769
|
driver: this.driver,
|
|
2440
2770
|
selector: selector,
|
|
2441
2771
|
scriptDataAppender: this.scriptDataAppender,
|
|
@@ -2444,7 +2774,8 @@ class ActionExecutor {
|
|
|
2444
2774
|
pageDOM,
|
|
2445
2775
|
elementName,
|
|
2446
2776
|
elementType,
|
|
2447
|
-
platform: this.platform
|
|
2777
|
+
platform: this.platform,
|
|
2778
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2448
2779
|
});
|
|
2449
2780
|
}
|
|
2450
2781
|
catch (error) {
|
|
@@ -2455,6 +2786,9 @@ class ActionExecutor {
|
|
|
2455
2786
|
async getAllTheOptionsFromListBoxAsTextInSortedOrder(pageDOM, selector, value, fireflinkIndex, elementName, elementType) {
|
|
2456
2787
|
try {
|
|
2457
2788
|
await (0, getAllTheOptionsFromListBoxAsTextInSortedOrder_js_1.getAllTheOptionsFromListBoxAsTextInSortedOrder)({
|
|
2789
|
+
stepIndex: this.currentStepIndex,
|
|
2790
|
+
currentStep: this.currentStepText,
|
|
2791
|
+
stepsInputData: this.stepsInputData,
|
|
2458
2792
|
driver: this.driver,
|
|
2459
2793
|
selector: selector,
|
|
2460
2794
|
value,
|
|
@@ -2464,7 +2798,8 @@ class ActionExecutor {
|
|
|
2464
2798
|
pageDOM,
|
|
2465
2799
|
elementName,
|
|
2466
2800
|
elementType,
|
|
2467
|
-
platform: this.platform
|
|
2801
|
+
platform: this.platform,
|
|
2802
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2468
2803
|
});
|
|
2469
2804
|
}
|
|
2470
2805
|
catch (error) {
|
|
@@ -2475,6 +2810,9 @@ class ActionExecutor {
|
|
|
2475
2810
|
async getTheFirstSelectedOptionFromListBoxAsText(pageDOM, selector, fireflinkIndex, elementName, elementType) {
|
|
2476
2811
|
try {
|
|
2477
2812
|
await (0, getTheFirstSelectedOptionFromListBoxAsText_js_1.getTheFirstSelectedOptionFromListBoxAsText)({
|
|
2813
|
+
stepIndex: this.currentStepIndex,
|
|
2814
|
+
currentStep: this.currentStepText,
|
|
2815
|
+
stepsInputData: this.stepsInputData,
|
|
2478
2816
|
driver: this.driver,
|
|
2479
2817
|
selector: selector,
|
|
2480
2818
|
scriptDataAppender: this.scriptDataAppender,
|
|
@@ -2483,7 +2821,8 @@ class ActionExecutor {
|
|
|
2483
2821
|
pageDOM,
|
|
2484
2822
|
elementName,
|
|
2485
2823
|
elementType,
|
|
2486
|
-
platform: this.platform
|
|
2824
|
+
platform: this.platform,
|
|
2825
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2487
2826
|
});
|
|
2488
2827
|
}
|
|
2489
2828
|
catch (error) {
|
|
@@ -2494,6 +2833,9 @@ class ActionExecutor {
|
|
|
2494
2833
|
async getAllTheSelectedOptionsFromListBoxAsText(pageDOM, selector, fireflinkIndex, elementName, elementType) {
|
|
2495
2834
|
try {
|
|
2496
2835
|
await (0, getAllTheSelectedOptionsFromListBoxAsText_js_1.getAllTheSelectedOptionsFromListBoxAsText)({
|
|
2836
|
+
stepIndex: this.currentStepIndex,
|
|
2837
|
+
currentStep: this.currentStepText,
|
|
2838
|
+
stepsInputData: this.stepsInputData,
|
|
2497
2839
|
driver: this.driver,
|
|
2498
2840
|
selector: selector,
|
|
2499
2841
|
scriptDataAppender: this.scriptDataAppender,
|
|
@@ -2502,7 +2844,8 @@ class ActionExecutor {
|
|
|
2502
2844
|
pageDOM,
|
|
2503
2845
|
elementName,
|
|
2504
2846
|
elementType,
|
|
2505
|
-
platform: this.platform
|
|
2847
|
+
platform: this.platform,
|
|
2848
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2506
2849
|
});
|
|
2507
2850
|
}
|
|
2508
2851
|
catch (error) {
|
|
@@ -2513,10 +2856,14 @@ class ActionExecutor {
|
|
|
2513
2856
|
async getScreenshot(value) {
|
|
2514
2857
|
try {
|
|
2515
2858
|
await (0, getScreenshot_js_1.getScreenshot)({
|
|
2859
|
+
stepIndex: this.currentStepIndex,
|
|
2860
|
+
currentStep: this.currentStepText,
|
|
2861
|
+
stepsInputData: this.stepsInputData,
|
|
2516
2862
|
driver: this.driver,
|
|
2517
2863
|
scriptDataAppender: this.scriptDataAppender,
|
|
2518
2864
|
platform: this.platform,
|
|
2519
2865
|
value,
|
|
2866
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2520
2867
|
});
|
|
2521
2868
|
}
|
|
2522
2869
|
catch (error) {
|
|
@@ -2527,6 +2874,9 @@ class ActionExecutor {
|
|
|
2527
2874
|
async getScreenshotAs(pageDOM, selector, value, fireflinkIndex, elementName, elementType) {
|
|
2528
2875
|
try {
|
|
2529
2876
|
await (0, getScreenshotAs_js_1.getScreenshotAs)({
|
|
2877
|
+
stepIndex: this.currentStepIndex,
|
|
2878
|
+
currentStep: this.currentStepText,
|
|
2879
|
+
stepsInputData: this.stepsInputData,
|
|
2530
2880
|
driver: this.driver,
|
|
2531
2881
|
selector: selector,
|
|
2532
2882
|
value,
|
|
@@ -2536,7 +2886,8 @@ class ActionExecutor {
|
|
|
2536
2886
|
pageDOM,
|
|
2537
2887
|
elementName,
|
|
2538
2888
|
elementType,
|
|
2539
|
-
platform: this.platform
|
|
2889
|
+
platform: this.platform,
|
|
2890
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2540
2891
|
});
|
|
2541
2892
|
}
|
|
2542
2893
|
catch (error) {
|
|
@@ -2547,6 +2898,9 @@ class ActionExecutor {
|
|
|
2547
2898
|
async getListOfElementsFromLocatorTypeLocatorValue(pageDOM, selector, value, fireflinkIndex, elementName, elementType) {
|
|
2548
2899
|
try {
|
|
2549
2900
|
await (0, getListOfElementsFromLocatorTypeLocatorValue_js_1.getListOfElementsFromLocatorTypeLocatorValue)({
|
|
2901
|
+
stepIndex: this.currentStepIndex,
|
|
2902
|
+
currentStep: this.currentStepText,
|
|
2903
|
+
stepsInputData: this.stepsInputData,
|
|
2550
2904
|
driver: this.driver,
|
|
2551
2905
|
selector: selector,
|
|
2552
2906
|
value,
|
|
@@ -2556,7 +2910,8 @@ class ActionExecutor {
|
|
|
2556
2910
|
pageDOM,
|
|
2557
2911
|
elementName,
|
|
2558
2912
|
elementType,
|
|
2559
|
-
platform: this.platform
|
|
2913
|
+
platform: this.platform,
|
|
2914
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2560
2915
|
});
|
|
2561
2916
|
}
|
|
2562
2917
|
catch (error) {
|
|
@@ -2567,6 +2922,9 @@ class ActionExecutor {
|
|
|
2567
2922
|
async getVideoMediaSource(pageDOM, selector, fireflinkIndex, elementName, elementType) {
|
|
2568
2923
|
try {
|
|
2569
2924
|
await (0, getVideoMediaSource_js_1.getVideoMediaSource)({
|
|
2925
|
+
stepIndex: this.currentStepIndex,
|
|
2926
|
+
currentStep: this.currentStepText,
|
|
2927
|
+
stepsInputData: this.stepsInputData,
|
|
2570
2928
|
driver: this.driver,
|
|
2571
2929
|
selector: selector,
|
|
2572
2930
|
scriptDataAppender: this.scriptDataAppender,
|
|
@@ -2575,7 +2933,8 @@ class ActionExecutor {
|
|
|
2575
2933
|
pageDOM,
|
|
2576
2934
|
elementName,
|
|
2577
2935
|
elementType,
|
|
2578
|
-
platform: this.platform
|
|
2936
|
+
platform: this.platform,
|
|
2937
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2579
2938
|
});
|
|
2580
2939
|
}
|
|
2581
2940
|
catch (error) {
|
|
@@ -2586,6 +2945,9 @@ class ActionExecutor {
|
|
|
2586
2945
|
async getVideoMediaLength(pageDOM, selector, fireflinkIndex, elementName, elementType) {
|
|
2587
2946
|
try {
|
|
2588
2947
|
await (0, getVideoMediaLength_js_1.getVideoMediaLength)({
|
|
2948
|
+
stepIndex: this.currentStepIndex,
|
|
2949
|
+
currentStep: this.currentStepText,
|
|
2950
|
+
stepsInputData: this.stepsInputData,
|
|
2589
2951
|
driver: this.driver,
|
|
2590
2952
|
selector: selector,
|
|
2591
2953
|
scriptDataAppender: this.scriptDataAppender,
|
|
@@ -2594,7 +2956,8 @@ class ActionExecutor {
|
|
|
2594
2956
|
pageDOM,
|
|
2595
2957
|
elementName,
|
|
2596
2958
|
elementType,
|
|
2597
|
-
platform: this.platform
|
|
2959
|
+
platform: this.platform,
|
|
2960
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2598
2961
|
});
|
|
2599
2962
|
}
|
|
2600
2963
|
catch (error) {
|
|
@@ -2605,6 +2968,9 @@ class ActionExecutor {
|
|
|
2605
2968
|
async getVideoCurrentSeekTime(pageDOM, selector, fireflinkIndex, elementName, elementType) {
|
|
2606
2969
|
try {
|
|
2607
2970
|
await (0, getVideoCurrentSeekTime_js_1.getVideoCurrentSeekTime)({
|
|
2971
|
+
stepIndex: this.currentStepIndex,
|
|
2972
|
+
currentStep: this.currentStepText,
|
|
2973
|
+
stepsInputData: this.stepsInputData,
|
|
2608
2974
|
driver: this.driver,
|
|
2609
2975
|
selector: selector,
|
|
2610
2976
|
scriptDataAppender: this.scriptDataAppender,
|
|
@@ -2613,7 +2979,8 @@ class ActionExecutor {
|
|
|
2613
2979
|
pageDOM,
|
|
2614
2980
|
elementName,
|
|
2615
2981
|
elementType,
|
|
2616
|
-
platform: this.platform
|
|
2982
|
+
platform: this.platform,
|
|
2983
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2617
2984
|
});
|
|
2618
2985
|
}
|
|
2619
2986
|
catch (error) {
|
|
@@ -2624,6 +2991,9 @@ class ActionExecutor {
|
|
|
2624
2991
|
async getVideoCurrentPlaybackRate(pageDOM, selector, fireflinkIndex, elementName, elementType) {
|
|
2625
2992
|
try {
|
|
2626
2993
|
await (0, getVideoCurrentPlaybackRate_js_1.getVideoCurrentPlaybackRate)({
|
|
2994
|
+
stepIndex: this.currentStepIndex,
|
|
2995
|
+
currentStep: this.currentStepText,
|
|
2996
|
+
stepsInputData: this.stepsInputData,
|
|
2627
2997
|
driver: this.driver,
|
|
2628
2998
|
selector: selector,
|
|
2629
2999
|
scriptDataAppender: this.scriptDataAppender,
|
|
@@ -2632,7 +3002,8 @@ class ActionExecutor {
|
|
|
2632
3002
|
pageDOM,
|
|
2633
3003
|
elementName,
|
|
2634
3004
|
elementType,
|
|
2635
|
-
platform: this.platform
|
|
3005
|
+
platform: this.platform,
|
|
3006
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2636
3007
|
});
|
|
2637
3008
|
}
|
|
2638
3009
|
catch (error) {
|
|
@@ -2643,6 +3014,9 @@ class ActionExecutor {
|
|
|
2643
3014
|
async getVideoDefaultPlaybackRate(pageDOM, selector, fireflinkIndex, elementName, elementType) {
|
|
2644
3015
|
try {
|
|
2645
3016
|
await (0, getVideoDefaultPlaybackRate_js_1.getVideoDefaultPlaybackRate)({
|
|
3017
|
+
stepIndex: this.currentStepIndex,
|
|
3018
|
+
currentStep: this.currentStepText,
|
|
3019
|
+
stepsInputData: this.stepsInputData,
|
|
2646
3020
|
driver: this.driver,
|
|
2647
3021
|
selector: selector,
|
|
2648
3022
|
scriptDataAppender: this.scriptDataAppender,
|
|
@@ -2651,7 +3025,8 @@ class ActionExecutor {
|
|
|
2651
3025
|
pageDOM,
|
|
2652
3026
|
elementName,
|
|
2653
3027
|
elementType,
|
|
2654
|
-
platform: this.platform
|
|
3028
|
+
platform: this.platform,
|
|
3029
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2655
3030
|
});
|
|
2656
3031
|
}
|
|
2657
3032
|
catch (error) {
|
|
@@ -2662,6 +3037,9 @@ class ActionExecutor {
|
|
|
2662
3037
|
async getVideoCurrentVolume(pageDOM, selector, fireflinkIndex, elementName, elementType) {
|
|
2663
3038
|
try {
|
|
2664
3039
|
await (0, getVideoCurrentVolume_js_1.getVideoCurrentVolume)({
|
|
3040
|
+
stepIndex: this.currentStepIndex,
|
|
3041
|
+
currentStep: this.currentStepText,
|
|
3042
|
+
stepsInputData: this.stepsInputData,
|
|
2665
3043
|
driver: this.driver,
|
|
2666
3044
|
selector: selector,
|
|
2667
3045
|
scriptDataAppender: this.scriptDataAppender,
|
|
@@ -2670,7 +3048,8 @@ class ActionExecutor {
|
|
|
2670
3048
|
pageDOM,
|
|
2671
3049
|
elementName,
|
|
2672
3050
|
elementType,
|
|
2673
|
-
platform: this.platform
|
|
3051
|
+
platform: this.platform,
|
|
3052
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2674
3053
|
});
|
|
2675
3054
|
}
|
|
2676
3055
|
catch (error) {
|
|
@@ -2681,6 +3060,9 @@ class ActionExecutor {
|
|
|
2681
3060
|
async getVideoDecodedByte(pageDOM, selector, fireflinkIndex, elementName, elementType) {
|
|
2682
3061
|
try {
|
|
2683
3062
|
await (0, getVideoDecodedByte_js_1.getVideoDecodedByte)({
|
|
3063
|
+
stepIndex: this.currentStepIndex,
|
|
3064
|
+
currentStep: this.currentStepText,
|
|
3065
|
+
stepsInputData: this.stepsInputData,
|
|
2684
3066
|
driver: this.driver,
|
|
2685
3067
|
selector: selector,
|
|
2686
3068
|
scriptDataAppender: this.scriptDataAppender,
|
|
@@ -2689,7 +3071,8 @@ class ActionExecutor {
|
|
|
2689
3071
|
pageDOM,
|
|
2690
3072
|
elementName,
|
|
2691
3073
|
elementType,
|
|
2692
|
-
platform: this.platform
|
|
3074
|
+
platform: this.platform,
|
|
3075
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2693
3076
|
});
|
|
2694
3077
|
}
|
|
2695
3078
|
catch (error) {
|
|
@@ -2700,6 +3083,9 @@ class ActionExecutor {
|
|
|
2700
3083
|
async getAudioMediaSource(pageDOM, selector, fireflinkIndex, elementName, elementType) {
|
|
2701
3084
|
try {
|
|
2702
3085
|
await (0, getAudioMediaSource_js_1.getAudioMediaSource)({
|
|
3086
|
+
stepIndex: this.currentStepIndex,
|
|
3087
|
+
currentStep: this.currentStepText,
|
|
3088
|
+
stepsInputData: this.stepsInputData,
|
|
2703
3089
|
driver: this.driver,
|
|
2704
3090
|
selector: selector,
|
|
2705
3091
|
scriptDataAppender: this.scriptDataAppender,
|
|
@@ -2708,7 +3094,8 @@ class ActionExecutor {
|
|
|
2708
3094
|
pageDOM,
|
|
2709
3095
|
elementName,
|
|
2710
3096
|
elementType,
|
|
2711
|
-
platform: this.platform
|
|
3097
|
+
platform: this.platform,
|
|
3098
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2712
3099
|
});
|
|
2713
3100
|
}
|
|
2714
3101
|
catch (error) {
|
|
@@ -2719,6 +3106,9 @@ class ActionExecutor {
|
|
|
2719
3106
|
async getAudioMediaLength(pageDOM, selector, fireflinkIndex, elementName, elementType) {
|
|
2720
3107
|
try {
|
|
2721
3108
|
await (0, getAudioMediaLength_js_1.getAudioMediaLength)({
|
|
3109
|
+
stepIndex: this.currentStepIndex,
|
|
3110
|
+
currentStep: this.currentStepText,
|
|
3111
|
+
stepsInputData: this.stepsInputData,
|
|
2722
3112
|
driver: this.driver,
|
|
2723
3113
|
selector: selector,
|
|
2724
3114
|
scriptDataAppender: this.scriptDataAppender,
|
|
@@ -2727,7 +3117,8 @@ class ActionExecutor {
|
|
|
2727
3117
|
pageDOM,
|
|
2728
3118
|
elementName,
|
|
2729
3119
|
elementType,
|
|
2730
|
-
platform: this.platform
|
|
3120
|
+
platform: this.platform,
|
|
3121
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2731
3122
|
});
|
|
2732
3123
|
}
|
|
2733
3124
|
catch (error) {
|
|
@@ -2738,6 +3129,9 @@ class ActionExecutor {
|
|
|
2738
3129
|
async getAudioCurrentSeekTime(pageDOM, selector, fireflinkIndex, elementName, elementType) {
|
|
2739
3130
|
try {
|
|
2740
3131
|
await (0, getAudioCurrentSeekTime_js_1.getAudioCurrentSeekTime)({
|
|
3132
|
+
stepIndex: this.currentStepIndex,
|
|
3133
|
+
currentStep: this.currentStepText,
|
|
3134
|
+
stepsInputData: this.stepsInputData,
|
|
2741
3135
|
driver: this.driver,
|
|
2742
3136
|
selector: selector,
|
|
2743
3137
|
scriptDataAppender: this.scriptDataAppender,
|
|
@@ -2746,7 +3140,8 @@ class ActionExecutor {
|
|
|
2746
3140
|
pageDOM,
|
|
2747
3141
|
elementName,
|
|
2748
3142
|
elementType,
|
|
2749
|
-
platform: this.platform
|
|
3143
|
+
platform: this.platform,
|
|
3144
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2750
3145
|
});
|
|
2751
3146
|
}
|
|
2752
3147
|
catch (error) {
|
|
@@ -2757,6 +3152,9 @@ class ActionExecutor {
|
|
|
2757
3152
|
async getAudioCurrentPlaybackRate(pageDOM, selector, fireflinkIndex, elementName, elementType) {
|
|
2758
3153
|
try {
|
|
2759
3154
|
await (0, getAudioCurrentPlaybackRate_js_1.getAudioCurrentPlaybackRate)({
|
|
3155
|
+
stepIndex: this.currentStepIndex,
|
|
3156
|
+
currentStep: this.currentStepText,
|
|
3157
|
+
stepsInputData: this.stepsInputData,
|
|
2760
3158
|
driver: this.driver,
|
|
2761
3159
|
selector: selector,
|
|
2762
3160
|
scriptDataAppender: this.scriptDataAppender,
|
|
@@ -2765,7 +3163,8 @@ class ActionExecutor {
|
|
|
2765
3163
|
pageDOM,
|
|
2766
3164
|
elementName,
|
|
2767
3165
|
elementType,
|
|
2768
|
-
platform: this.platform
|
|
3166
|
+
platform: this.platform,
|
|
3167
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2769
3168
|
});
|
|
2770
3169
|
}
|
|
2771
3170
|
catch (error) {
|
|
@@ -2776,6 +3175,9 @@ class ActionExecutor {
|
|
|
2776
3175
|
async getAudioDefaultPlaybackRate(pageDOM, selector, fireflinkIndex, elementName, elementType) {
|
|
2777
3176
|
try {
|
|
2778
3177
|
await (0, getAudioDefaultPlaybackRate_js_1.getAudioDefaultPlaybackRate)({
|
|
3178
|
+
stepIndex: this.currentStepIndex,
|
|
3179
|
+
currentStep: this.currentStepText,
|
|
3180
|
+
stepsInputData: this.stepsInputData,
|
|
2779
3181
|
driver: this.driver,
|
|
2780
3182
|
selector: selector,
|
|
2781
3183
|
scriptDataAppender: this.scriptDataAppender,
|
|
@@ -2784,7 +3186,8 @@ class ActionExecutor {
|
|
|
2784
3186
|
pageDOM,
|
|
2785
3187
|
elementName,
|
|
2786
3188
|
elementType,
|
|
2787
|
-
platform: this.platform
|
|
3189
|
+
platform: this.platform,
|
|
3190
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2788
3191
|
});
|
|
2789
3192
|
}
|
|
2790
3193
|
catch (error) {
|
|
@@ -2795,6 +3198,9 @@ class ActionExecutor {
|
|
|
2795
3198
|
async getAudioCurrentVolume(pageDOM, selector, fireflinkIndex, elementName, elementType) {
|
|
2796
3199
|
try {
|
|
2797
3200
|
await (0, getAudioCurrentVolume_js_1.getAudioCurrentVolume)({
|
|
3201
|
+
stepIndex: this.currentStepIndex,
|
|
3202
|
+
currentStep: this.currentStepText,
|
|
3203
|
+
stepsInputData: this.stepsInputData,
|
|
2798
3204
|
driver: this.driver,
|
|
2799
3205
|
selector: selector,
|
|
2800
3206
|
scriptDataAppender: this.scriptDataAppender,
|
|
@@ -2803,7 +3209,8 @@ class ActionExecutor {
|
|
|
2803
3209
|
pageDOM,
|
|
2804
3210
|
elementName,
|
|
2805
3211
|
elementType,
|
|
2806
|
-
platform: this.platform
|
|
3212
|
+
platform: this.platform,
|
|
3213
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2807
3214
|
});
|
|
2808
3215
|
}
|
|
2809
3216
|
catch (error) {
|
|
@@ -2814,6 +3221,9 @@ class ActionExecutor {
|
|
|
2814
3221
|
async getAudioDecodedByte(pageDOM, selector, fireflinkIndex, elementName, elementType) {
|
|
2815
3222
|
try {
|
|
2816
3223
|
await (0, getAudioDecodedByte_js_1.getAudioDecodedByte)({
|
|
3224
|
+
stepIndex: this.currentStepIndex,
|
|
3225
|
+
currentStep: this.currentStepText,
|
|
3226
|
+
stepsInputData: this.stepsInputData,
|
|
2817
3227
|
driver: this.driver,
|
|
2818
3228
|
selector: selector,
|
|
2819
3229
|
scriptDataAppender: this.scriptDataAppender,
|
|
@@ -2822,7 +3232,8 @@ class ActionExecutor {
|
|
|
2822
3232
|
pageDOM,
|
|
2823
3233
|
elementName,
|
|
2824
3234
|
elementType,
|
|
2825
|
-
platform: this.platform
|
|
3235
|
+
platform: this.platform,
|
|
3236
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2826
3237
|
});
|
|
2827
3238
|
}
|
|
2828
3239
|
catch (error) {
|
|
@@ -2833,9 +3244,13 @@ class ActionExecutor {
|
|
|
2833
3244
|
async getSingleApiStatusCode(value) {
|
|
2834
3245
|
try {
|
|
2835
3246
|
await (0, getSingleApiStatusCode_js_1.getSingleApiStatusCode)({
|
|
3247
|
+
stepIndex: this.currentStepIndex,
|
|
3248
|
+
currentStep: this.currentStepText,
|
|
3249
|
+
stepsInputData: this.stepsInputData,
|
|
2836
3250
|
driver: this.driver,
|
|
2837
3251
|
scriptDataAppender: this.scriptDataAppender,
|
|
2838
|
-
value
|
|
3252
|
+
value,
|
|
3253
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2839
3254
|
});
|
|
2840
3255
|
}
|
|
2841
3256
|
catch (error) {
|
|
@@ -2845,9 +3260,13 @@ class ActionExecutor {
|
|
|
2845
3260
|
async getSingleApiResponse(value) {
|
|
2846
3261
|
try {
|
|
2847
3262
|
await (0, getSingleApiResponse_js_1.getSingleApiResponse)({
|
|
3263
|
+
stepIndex: this.currentStepIndex,
|
|
3264
|
+
currentStep: this.currentStepText,
|
|
3265
|
+
stepsInputData: this.stepsInputData,
|
|
2848
3266
|
driver: this.driver,
|
|
2849
3267
|
scriptDataAppender: this.scriptDataAppender,
|
|
2850
|
-
value
|
|
3268
|
+
value,
|
|
3269
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2851
3270
|
});
|
|
2852
3271
|
}
|
|
2853
3272
|
catch (error) {
|
|
@@ -2857,9 +3276,13 @@ class ActionExecutor {
|
|
|
2857
3276
|
async getSingleApiResponseTime(value) {
|
|
2858
3277
|
try {
|
|
2859
3278
|
await (0, getSingleApiResponseTime_js_1.getSingleApiResponseTime)({
|
|
3279
|
+
stepIndex: this.currentStepIndex,
|
|
3280
|
+
currentStep: this.currentStepText,
|
|
3281
|
+
stepsInputData: this.stepsInputData,
|
|
2860
3282
|
driver: this.driver,
|
|
2861
3283
|
scriptDataAppender: this.scriptDataAppender,
|
|
2862
|
-
value
|
|
3284
|
+
value,
|
|
3285
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2863
3286
|
});
|
|
2864
3287
|
}
|
|
2865
3288
|
catch (error) {
|
|
@@ -2869,9 +3292,13 @@ class ActionExecutor {
|
|
|
2869
3292
|
async getCollectiveApiStatusCode(value) {
|
|
2870
3293
|
try {
|
|
2871
3294
|
await (0, getCollectiveApiStatusCode_js_1.getCollectiveApiStatusCode)({
|
|
3295
|
+
stepIndex: this.currentStepIndex,
|
|
3296
|
+
currentStep: this.currentStepText,
|
|
3297
|
+
stepsInputData: this.stepsInputData,
|
|
2872
3298
|
driver: this.driver,
|
|
2873
3299
|
scriptDataAppender: this.scriptDataAppender,
|
|
2874
|
-
value
|
|
3300
|
+
value,
|
|
3301
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2875
3302
|
});
|
|
2876
3303
|
}
|
|
2877
3304
|
catch (error) {
|
|
@@ -2881,9 +3308,13 @@ class ActionExecutor {
|
|
|
2881
3308
|
async getCollectiveApiResponseTime(value) {
|
|
2882
3309
|
try {
|
|
2883
3310
|
await (0, getCollectiveApiResponseTime_js_1.getCollectiveApiResponseTime)({
|
|
3311
|
+
stepIndex: this.currentStepIndex,
|
|
3312
|
+
currentStep: this.currentStepText,
|
|
3313
|
+
stepsInputData: this.stepsInputData,
|
|
2884
3314
|
driver: this.driver,
|
|
2885
3315
|
scriptDataAppender: this.scriptDataAppender,
|
|
2886
|
-
value
|
|
3316
|
+
value,
|
|
3317
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2887
3318
|
});
|
|
2888
3319
|
}
|
|
2889
3320
|
catch (error) {
|
|
@@ -2893,9 +3324,13 @@ class ActionExecutor {
|
|
|
2893
3324
|
async getDataFromApiResponseForJsonPath(value) {
|
|
2894
3325
|
try {
|
|
2895
3326
|
await (0, getDataFromApiResponseForJsonPath_js_1.getDataFromApiResponseForJsonPath)({
|
|
3327
|
+
stepIndex: this.currentStepIndex,
|
|
3328
|
+
currentStep: this.currentStepText,
|
|
3329
|
+
stepsInputData: this.stepsInputData,
|
|
2896
3330
|
driver: this.driver,
|
|
2897
3331
|
scriptDataAppender: this.scriptDataAppender,
|
|
2898
|
-
value
|
|
3332
|
+
value,
|
|
3333
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2899
3334
|
});
|
|
2900
3335
|
}
|
|
2901
3336
|
catch (error) {
|
|
@@ -2905,9 +3340,13 @@ class ActionExecutor {
|
|
|
2905
3340
|
async getSingleApiRequestPayload(value) {
|
|
2906
3341
|
try {
|
|
2907
3342
|
await (0, getSingleApiRequestPayload_js_1.getSingleApiRequestPayload)({
|
|
3343
|
+
stepIndex: this.currentStepIndex,
|
|
3344
|
+
currentStep: this.currentStepText,
|
|
3345
|
+
stepsInputData: this.stepsInputData,
|
|
2908
3346
|
driver: this.driver,
|
|
2909
3347
|
scriptDataAppender: this.scriptDataAppender,
|
|
2910
|
-
value
|
|
3348
|
+
value,
|
|
3349
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2911
3350
|
});
|
|
2912
3351
|
}
|
|
2913
3352
|
catch (error) {
|
|
@@ -2917,9 +3356,13 @@ class ActionExecutor {
|
|
|
2917
3356
|
async getValueFromLocalStorage(value) {
|
|
2918
3357
|
try {
|
|
2919
3358
|
await (0, getValueFromLocalStorage_js_1.getValueFromLocalStorage)({
|
|
3359
|
+
stepIndex: this.currentStepIndex,
|
|
3360
|
+
currentStep: this.currentStepText,
|
|
3361
|
+
stepsInputData: this.stepsInputData,
|
|
2920
3362
|
driver: this.driver,
|
|
2921
3363
|
scriptDataAppender: this.scriptDataAppender,
|
|
2922
|
-
value
|
|
3364
|
+
value,
|
|
3365
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2923
3366
|
});
|
|
2924
3367
|
}
|
|
2925
3368
|
catch (error) {
|
|
@@ -2929,9 +3372,13 @@ class ActionExecutor {
|
|
|
2929
3372
|
async getValueByCookieName(value) {
|
|
2930
3373
|
try {
|
|
2931
3374
|
await (0, getValueByCookieName_js_1.getValueByCookieName)({
|
|
3375
|
+
stepIndex: this.currentStepIndex,
|
|
3376
|
+
currentStep: this.currentStepText,
|
|
3377
|
+
stepsInputData: this.stepsInputData,
|
|
2932
3378
|
driver: this.driver,
|
|
2933
3379
|
scriptDataAppender: this.scriptDataAppender,
|
|
2934
|
-
value
|
|
3380
|
+
value,
|
|
3381
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2935
3382
|
});
|
|
2936
3383
|
}
|
|
2937
3384
|
catch (error) {
|
|
@@ -2941,9 +3388,13 @@ class ActionExecutor {
|
|
|
2941
3388
|
async getValueOfSystemVariable(value) {
|
|
2942
3389
|
try {
|
|
2943
3390
|
await (0, getValueOfSystemVariable_js_1.getValueOfSystemVariable)({
|
|
3391
|
+
stepIndex: this.currentStepIndex,
|
|
3392
|
+
currentStep: this.currentStepText,
|
|
3393
|
+
stepsInputData: this.stepsInputData,
|
|
2944
3394
|
driver: this.driver,
|
|
2945
3395
|
scriptDataAppender: this.scriptDataAppender,
|
|
2946
|
-
value
|
|
3396
|
+
value,
|
|
3397
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2947
3398
|
});
|
|
2948
3399
|
}
|
|
2949
3400
|
catch (error) {
|
|
@@ -2953,9 +3404,13 @@ class ActionExecutor {
|
|
|
2953
3404
|
async getSystemProperty(value) {
|
|
2954
3405
|
try {
|
|
2955
3406
|
await (0, getSystemProperty_js_1.getSystemProperty)({
|
|
3407
|
+
stepIndex: this.currentStepIndex,
|
|
3408
|
+
currentStep: this.currentStepText,
|
|
3409
|
+
stepsInputData: this.stepsInputData,
|
|
2956
3410
|
driver: this.driver,
|
|
2957
3411
|
scriptDataAppender: this.scriptDataAppender,
|
|
2958
|
-
value
|
|
3412
|
+
value,
|
|
3413
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2959
3414
|
});
|
|
2960
3415
|
}
|
|
2961
3416
|
catch (error) {
|
|
@@ -2965,9 +3420,13 @@ class ActionExecutor {
|
|
|
2965
3420
|
async getStringDataFromLocalFile(value) {
|
|
2966
3421
|
try {
|
|
2967
3422
|
await (0, getStringDataFromLocalFile_js_1.getStringDataFromLocalFile)({
|
|
3423
|
+
stepIndex: this.currentStepIndex,
|
|
3424
|
+
currentStep: this.currentStepText,
|
|
3425
|
+
stepsInputData: this.stepsInputData,
|
|
2968
3426
|
driver: this.driver,
|
|
2969
3427
|
scriptDataAppender: this.scriptDataAppender,
|
|
2970
|
-
value
|
|
3428
|
+
value,
|
|
3429
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2971
3430
|
});
|
|
2972
3431
|
}
|
|
2973
3432
|
catch (error) {
|
|
@@ -2989,9 +3448,13 @@ class ActionExecutor {
|
|
|
2989
3448
|
async getDateWithGivenFormat(value) {
|
|
2990
3449
|
try {
|
|
2991
3450
|
await (0, getDateWithGivenFormat_js_1.getDateWithGivenFormat)({
|
|
3451
|
+
stepIndex: this.currentStepIndex,
|
|
3452
|
+
currentStep: this.currentStepText,
|
|
3453
|
+
stepsInputData: this.stepsInputData,
|
|
2992
3454
|
driver: this.driver,
|
|
2993
3455
|
scriptDataAppender: this.scriptDataAppender,
|
|
2994
|
-
value
|
|
3456
|
+
value,
|
|
3457
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
2995
3458
|
});
|
|
2996
3459
|
}
|
|
2997
3460
|
catch (error) {
|
|
@@ -3001,9 +3464,13 @@ class ActionExecutor {
|
|
|
3001
3464
|
async getTunnelIdentifier(value) {
|
|
3002
3465
|
try {
|
|
3003
3466
|
await (0, getTunnelIdentifier_js_1.getTunnelIdentifier)({
|
|
3467
|
+
stepIndex: this.currentStepIndex,
|
|
3468
|
+
currentStep: this.currentStepText,
|
|
3469
|
+
stepsInputData: this.stepsInputData,
|
|
3004
3470
|
driver: this.driver,
|
|
3005
3471
|
scriptDataAppender: this.scriptDataAppender,
|
|
3006
|
-
value
|
|
3472
|
+
value,
|
|
3473
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
3007
3474
|
});
|
|
3008
3475
|
}
|
|
3009
3476
|
catch (error) {
|
|
@@ -3013,9 +3480,13 @@ class ActionExecutor {
|
|
|
3013
3480
|
async getBestPracticesScore(value) {
|
|
3014
3481
|
try {
|
|
3015
3482
|
await (0, getBestPracticesScore_js_1.getBestPracticesScore)({
|
|
3483
|
+
stepIndex: this.currentStepIndex,
|
|
3484
|
+
currentStep: this.currentStepText,
|
|
3485
|
+
stepsInputData: this.stepsInputData,
|
|
3016
3486
|
driver: this.driver,
|
|
3017
3487
|
scriptDataAppender: this.scriptDataAppender,
|
|
3018
|
-
value
|
|
3488
|
+
value,
|
|
3489
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
3019
3490
|
});
|
|
3020
3491
|
}
|
|
3021
3492
|
catch (error) {
|
|
@@ -3025,9 +3496,13 @@ class ActionExecutor {
|
|
|
3025
3496
|
async getPwaScore(value) {
|
|
3026
3497
|
try {
|
|
3027
3498
|
await (0, getPwaScore_js_1.getPwaScore)({
|
|
3499
|
+
stepIndex: this.currentStepIndex,
|
|
3500
|
+
currentStep: this.currentStepText,
|
|
3501
|
+
stepsInputData: this.stepsInputData,
|
|
3028
3502
|
driver: this.driver,
|
|
3029
3503
|
scriptDataAppender: this.scriptDataAppender,
|
|
3030
|
-
value
|
|
3504
|
+
value,
|
|
3505
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
3031
3506
|
});
|
|
3032
3507
|
}
|
|
3033
3508
|
catch (error) {
|
|
@@ -3037,9 +3512,13 @@ class ActionExecutor {
|
|
|
3037
3512
|
async getDataFromApiRequestHeaderForJsonPath(value) {
|
|
3038
3513
|
try {
|
|
3039
3514
|
await (0, getDataFromApiRequestHeaderForJsonPath_js_1.getDataFromApiRequestHeaderForJsonPath)({
|
|
3515
|
+
stepIndex: this.currentStepIndex,
|
|
3516
|
+
currentStep: this.currentStepText,
|
|
3517
|
+
stepsInputData: this.stepsInputData,
|
|
3040
3518
|
driver: this.driver,
|
|
3041
3519
|
scriptDataAppender: this.scriptDataAppender,
|
|
3042
|
-
value
|
|
3520
|
+
value,
|
|
3521
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
3043
3522
|
});
|
|
3044
3523
|
}
|
|
3045
3524
|
catch (error) {
|
|
@@ -3049,9 +3528,13 @@ class ActionExecutor {
|
|
|
3049
3528
|
async getSeoScore(value) {
|
|
3050
3529
|
try {
|
|
3051
3530
|
await (0, getSeoScore_js_1.getSeoScore)({
|
|
3531
|
+
stepIndex: this.currentStepIndex,
|
|
3532
|
+
currentStep: this.currentStepText,
|
|
3533
|
+
stepsInputData: this.stepsInputData,
|
|
3052
3534
|
driver: this.driver,
|
|
3053
3535
|
scriptDataAppender: this.scriptDataAppender,
|
|
3054
|
-
value
|
|
3536
|
+
value,
|
|
3537
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
3055
3538
|
});
|
|
3056
3539
|
}
|
|
3057
3540
|
catch (error) {
|
|
@@ -3070,7 +3553,8 @@ class ActionExecutor {
|
|
|
3070
3553
|
pageDOM,
|
|
3071
3554
|
elementName,
|
|
3072
3555
|
elementType,
|
|
3073
|
-
platform: this.platform
|
|
3556
|
+
platform: this.platform,
|
|
3557
|
+
variableName: this.currentVariableName
|
|
3074
3558
|
});
|
|
3075
3559
|
}
|
|
3076
3560
|
catch (error) {
|
|
@@ -3090,7 +3574,8 @@ class ActionExecutor {
|
|
|
3090
3574
|
pageDOM,
|
|
3091
3575
|
elementName,
|
|
3092
3576
|
elementType,
|
|
3093
|
-
platform: this.platform
|
|
3577
|
+
platform: this.platform,
|
|
3578
|
+
variableName: this.currentVariableName
|
|
3094
3579
|
});
|
|
3095
3580
|
}
|
|
3096
3581
|
catch (error) {
|
|
@@ -3110,7 +3595,8 @@ class ActionExecutor {
|
|
|
3110
3595
|
pageDOM,
|
|
3111
3596
|
elementName,
|
|
3112
3597
|
elementType,
|
|
3113
|
-
platform: this.platform
|
|
3598
|
+
platform: this.platform,
|
|
3599
|
+
variableName: this.currentVariableName
|
|
3114
3600
|
});
|
|
3115
3601
|
}
|
|
3116
3602
|
catch (error) {
|
|
@@ -3124,7 +3610,8 @@ class ActionExecutor {
|
|
|
3124
3610
|
driver: this.driver,
|
|
3125
3611
|
value,
|
|
3126
3612
|
scriptDataAppender: this.scriptDataAppender,
|
|
3127
|
-
platform: this.platform
|
|
3613
|
+
platform: this.platform,
|
|
3614
|
+
variableName: this.currentVariableName
|
|
3128
3615
|
});
|
|
3129
3616
|
}
|
|
3130
3617
|
catch (error) {
|
|
@@ -3138,7 +3625,8 @@ class ActionExecutor {
|
|
|
3138
3625
|
driver: this.driver,
|
|
3139
3626
|
value,
|
|
3140
3627
|
scriptDataAppender: this.scriptDataAppender,
|
|
3141
|
-
platform: this.platform
|
|
3628
|
+
platform: this.platform,
|
|
3629
|
+
variableName: this.currentVariableName
|
|
3142
3630
|
});
|
|
3143
3631
|
}
|
|
3144
3632
|
catch (error) {
|
|
@@ -3158,7 +3646,8 @@ class ActionExecutor {
|
|
|
3158
3646
|
pageDOM,
|
|
3159
3647
|
elementName,
|
|
3160
3648
|
elementType,
|
|
3161
|
-
platform: this.platform
|
|
3649
|
+
platform: this.platform,
|
|
3650
|
+
variableName: this.currentVariableName
|
|
3162
3651
|
});
|
|
3163
3652
|
}
|
|
3164
3653
|
catch (error) {
|
|
@@ -3178,7 +3667,8 @@ class ActionExecutor {
|
|
|
3178
3667
|
pageDOM,
|
|
3179
3668
|
elementName,
|
|
3180
3669
|
elementType,
|
|
3181
|
-
platform: this.platform
|
|
3670
|
+
platform: this.platform,
|
|
3671
|
+
variableName: this.currentVariableName
|
|
3182
3672
|
});
|
|
3183
3673
|
}
|
|
3184
3674
|
catch (error) {
|
|
@@ -3192,7 +3682,8 @@ class ActionExecutor {
|
|
|
3192
3682
|
driver: this.driver,
|
|
3193
3683
|
value,
|
|
3194
3684
|
scriptDataAppender: this.scriptDataAppender,
|
|
3195
|
-
platform: this.platform
|
|
3685
|
+
platform: this.platform,
|
|
3686
|
+
variableName: this.currentVariableName
|
|
3196
3687
|
});
|
|
3197
3688
|
}
|
|
3198
3689
|
catch (error) {
|
|
@@ -3211,7 +3702,8 @@ class ActionExecutor {
|
|
|
3211
3702
|
pageDOM,
|
|
3212
3703
|
elementName,
|
|
3213
3704
|
elementType,
|
|
3214
|
-
platform: this.platform
|
|
3705
|
+
platform: this.platform,
|
|
3706
|
+
variableName: this.currentVariableName
|
|
3215
3707
|
});
|
|
3216
3708
|
}
|
|
3217
3709
|
catch (error) {
|
|
@@ -3231,7 +3723,8 @@ class ActionExecutor {
|
|
|
3231
3723
|
pageDOM,
|
|
3232
3724
|
elementName,
|
|
3233
3725
|
elementType,
|
|
3234
|
-
platform: this.platform
|
|
3726
|
+
platform: this.platform,
|
|
3727
|
+
variableName: this.currentVariableName
|
|
3235
3728
|
});
|
|
3236
3729
|
}
|
|
3237
3730
|
catch (error) {
|
|
@@ -3251,7 +3744,8 @@ class ActionExecutor {
|
|
|
3251
3744
|
pageDOM,
|
|
3252
3745
|
elementName,
|
|
3253
3746
|
elementType,
|
|
3254
|
-
platform: this.platform
|
|
3747
|
+
platform: this.platform,
|
|
3748
|
+
variableName: this.currentVariableName
|
|
3255
3749
|
});
|
|
3256
3750
|
}
|
|
3257
3751
|
catch (error) {
|
|
@@ -3271,7 +3765,8 @@ class ActionExecutor {
|
|
|
3271
3765
|
pageDOM,
|
|
3272
3766
|
elementName,
|
|
3273
3767
|
elementType,
|
|
3274
|
-
platform: this.platform
|
|
3768
|
+
platform: this.platform,
|
|
3769
|
+
variableName: this.currentVariableName
|
|
3275
3770
|
});
|
|
3276
3771
|
}
|
|
3277
3772
|
catch (error) {
|
|
@@ -3291,7 +3786,8 @@ class ActionExecutor {
|
|
|
3291
3786
|
pageDOM,
|
|
3292
3787
|
elementName,
|
|
3293
3788
|
elementType,
|
|
3294
|
-
platform: this.platform
|
|
3789
|
+
platform: this.platform,
|
|
3790
|
+
variableName: this.currentVariableName
|
|
3295
3791
|
});
|
|
3296
3792
|
}
|
|
3297
3793
|
catch (error) {
|
|
@@ -3310,7 +3806,8 @@ class ActionExecutor {
|
|
|
3310
3806
|
pageDOM,
|
|
3311
3807
|
elementName,
|
|
3312
3808
|
elementType,
|
|
3313
|
-
platform: this.platform
|
|
3809
|
+
platform: this.platform,
|
|
3810
|
+
variableName: this.currentVariableName
|
|
3314
3811
|
});
|
|
3315
3812
|
}
|
|
3316
3813
|
catch (error) {
|
|
@@ -3329,7 +3826,8 @@ class ActionExecutor {
|
|
|
3329
3826
|
pageDOM,
|
|
3330
3827
|
elementName,
|
|
3331
3828
|
elementType,
|
|
3332
|
-
platform: this.platform
|
|
3829
|
+
platform: this.platform,
|
|
3830
|
+
variableName: this.currentVariableName
|
|
3333
3831
|
});
|
|
3334
3832
|
}
|
|
3335
3833
|
catch (error) {
|
|
@@ -3343,7 +3841,8 @@ class ActionExecutor {
|
|
|
3343
3841
|
driver: this.driver,
|
|
3344
3842
|
value,
|
|
3345
3843
|
scriptDataAppender: this.scriptDataAppender,
|
|
3346
|
-
platform: this.platform
|
|
3844
|
+
platform: this.platform,
|
|
3845
|
+
variableName: this.currentVariableName
|
|
3347
3846
|
});
|
|
3348
3847
|
}
|
|
3349
3848
|
catch (error) {
|
|
@@ -3357,7 +3856,8 @@ class ActionExecutor {
|
|
|
3357
3856
|
driver: this.driver,
|
|
3358
3857
|
value,
|
|
3359
3858
|
scriptDataAppender: this.scriptDataAppender,
|
|
3360
|
-
platform: this.platform
|
|
3859
|
+
platform: this.platform,
|
|
3860
|
+
variableName: this.currentVariableName
|
|
3361
3861
|
});
|
|
3362
3862
|
}
|
|
3363
3863
|
catch (error) {
|
|
@@ -3371,7 +3871,8 @@ class ActionExecutor {
|
|
|
3371
3871
|
driver: this.driver,
|
|
3372
3872
|
value,
|
|
3373
3873
|
scriptDataAppender: this.scriptDataAppender,
|
|
3374
|
-
platform: this.platform
|
|
3874
|
+
platform: this.platform,
|
|
3875
|
+
variableName: this.currentVariableName
|
|
3375
3876
|
});
|
|
3376
3877
|
}
|
|
3377
3878
|
catch (error) {
|
|
@@ -3385,7 +3886,8 @@ class ActionExecutor {
|
|
|
3385
3886
|
driver: this.driver,
|
|
3386
3887
|
value,
|
|
3387
3888
|
scriptDataAppender: this.scriptDataAppender,
|
|
3388
|
-
platform: this.platform
|
|
3889
|
+
platform: this.platform,
|
|
3890
|
+
variableName: this.currentVariableName
|
|
3389
3891
|
});
|
|
3390
3892
|
}
|
|
3391
3893
|
catch (error) {
|
|
@@ -3399,7 +3901,8 @@ class ActionExecutor {
|
|
|
3399
3901
|
driver: this.driver,
|
|
3400
3902
|
value,
|
|
3401
3903
|
scriptDataAppender: this.scriptDataAppender,
|
|
3402
|
-
platform: this.platform
|
|
3904
|
+
platform: this.platform,
|
|
3905
|
+
variableName: this.currentVariableName
|
|
3403
3906
|
});
|
|
3404
3907
|
}
|
|
3405
3908
|
catch (error) {
|
|
@@ -3413,7 +3916,8 @@ class ActionExecutor {
|
|
|
3413
3916
|
driver: this.driver,
|
|
3414
3917
|
value,
|
|
3415
3918
|
scriptDataAppender: this.scriptDataAppender,
|
|
3416
|
-
platform: this.platform
|
|
3919
|
+
platform: this.platform,
|
|
3920
|
+
variableName: this.currentVariableName
|
|
3417
3921
|
});
|
|
3418
3922
|
}
|
|
3419
3923
|
catch (error) {
|
|
@@ -3427,7 +3931,8 @@ class ActionExecutor {
|
|
|
3427
3931
|
driver: this.driver,
|
|
3428
3932
|
value,
|
|
3429
3933
|
scriptDataAppender: this.scriptDataAppender,
|
|
3430
|
-
platform: this.platform
|
|
3934
|
+
platform: this.platform,
|
|
3935
|
+
variableName: this.currentVariableName
|
|
3431
3936
|
});
|
|
3432
3937
|
}
|
|
3433
3938
|
catch (error) {
|
|
@@ -3441,7 +3946,8 @@ class ActionExecutor {
|
|
|
3441
3946
|
driver: this.driver,
|
|
3442
3947
|
value,
|
|
3443
3948
|
scriptDataAppender: this.scriptDataAppender,
|
|
3444
|
-
platform: this.platform
|
|
3949
|
+
platform: this.platform,
|
|
3950
|
+
variableName: this.currentVariableName
|
|
3445
3951
|
});
|
|
3446
3952
|
}
|
|
3447
3953
|
catch (error) {
|
|
@@ -3461,7 +3967,8 @@ class ActionExecutor {
|
|
|
3461
3967
|
pageDOM,
|
|
3462
3968
|
elementName,
|
|
3463
3969
|
elementType,
|
|
3464
|
-
platform: this.platform
|
|
3970
|
+
platform: this.platform,
|
|
3971
|
+
variableName: this.currentVariableName
|
|
3465
3972
|
});
|
|
3466
3973
|
}
|
|
3467
3974
|
catch (error) {
|
|
@@ -3480,7 +3987,8 @@ class ActionExecutor {
|
|
|
3480
3987
|
pageDOM,
|
|
3481
3988
|
elementName,
|
|
3482
3989
|
elementType,
|
|
3483
|
-
platform: this.platform
|
|
3990
|
+
platform: this.platform,
|
|
3991
|
+
variableName: this.currentVariableName
|
|
3484
3992
|
});
|
|
3485
3993
|
}
|
|
3486
3994
|
catch (error) {
|
|
@@ -3494,7 +4002,8 @@ class ActionExecutor {
|
|
|
3494
4002
|
driver: this.driver,
|
|
3495
4003
|
value,
|
|
3496
4004
|
scriptDataAppender: this.scriptDataAppender,
|
|
3497
|
-
platform: this.platform
|
|
4005
|
+
platform: this.platform,
|
|
4006
|
+
variableName: this.currentVariableName
|
|
3498
4007
|
});
|
|
3499
4008
|
}
|
|
3500
4009
|
catch (error) {
|
|
@@ -3508,7 +4017,8 @@ class ActionExecutor {
|
|
|
3508
4017
|
driver: this.driver,
|
|
3509
4018
|
value,
|
|
3510
4019
|
scriptDataAppender: this.scriptDataAppender,
|
|
3511
|
-
platform: this.platform
|
|
4020
|
+
platform: this.platform,
|
|
4021
|
+
variableName: this.currentVariableName
|
|
3512
4022
|
});
|
|
3513
4023
|
}
|
|
3514
4024
|
catch (error) {
|
|
@@ -3527,7 +4037,8 @@ class ActionExecutor {
|
|
|
3527
4037
|
pageDOM,
|
|
3528
4038
|
elementName,
|
|
3529
4039
|
elementType,
|
|
3530
|
-
platform: this.platform
|
|
4040
|
+
platform: this.platform,
|
|
4041
|
+
variableName: this.currentVariableName
|
|
3531
4042
|
});
|
|
3532
4043
|
}
|
|
3533
4044
|
catch (error) {
|
|
@@ -3547,7 +4058,8 @@ class ActionExecutor {
|
|
|
3547
4058
|
pageDOM,
|
|
3548
4059
|
elementName,
|
|
3549
4060
|
elementType,
|
|
3550
|
-
platform: this.platform
|
|
4061
|
+
platform: this.platform,
|
|
4062
|
+
variableName: this.currentVariableName
|
|
3551
4063
|
});
|
|
3552
4064
|
}
|
|
3553
4065
|
catch (error) {
|
|
@@ -3567,7 +4079,8 @@ class ActionExecutor {
|
|
|
3567
4079
|
pageDOM,
|
|
3568
4080
|
elementName,
|
|
3569
4081
|
elementType,
|
|
3570
|
-
platform: this.platform
|
|
4082
|
+
platform: this.platform,
|
|
4083
|
+
variableName: this.currentVariableName
|
|
3571
4084
|
});
|
|
3572
4085
|
}
|
|
3573
4086
|
catch (error) {
|
|
@@ -3586,7 +4099,8 @@ class ActionExecutor {
|
|
|
3586
4099
|
pageDOM,
|
|
3587
4100
|
elementName,
|
|
3588
4101
|
elementType,
|
|
3589
|
-
platform: this.platform
|
|
4102
|
+
platform: this.platform,
|
|
4103
|
+
variableName: this.currentVariableName
|
|
3590
4104
|
});
|
|
3591
4105
|
}
|
|
3592
4106
|
catch (error) {
|
|
@@ -3605,7 +4119,8 @@ class ActionExecutor {
|
|
|
3605
4119
|
pageDOM,
|
|
3606
4120
|
elementName,
|
|
3607
4121
|
elementType,
|
|
3608
|
-
platform: this.platform
|
|
4122
|
+
platform: this.platform,
|
|
4123
|
+
variableName: this.currentVariableName
|
|
3609
4124
|
});
|
|
3610
4125
|
}
|
|
3611
4126
|
catch (error) {
|
|
@@ -3625,7 +4140,8 @@ class ActionExecutor {
|
|
|
3625
4140
|
pageDOM,
|
|
3626
4141
|
elementName,
|
|
3627
4142
|
elementType,
|
|
3628
|
-
platform: this.platform
|
|
4143
|
+
platform: this.platform,
|
|
4144
|
+
variableName: this.currentVariableName
|
|
3629
4145
|
});
|
|
3630
4146
|
}
|
|
3631
4147
|
catch (error) {
|
|
@@ -3645,7 +4161,8 @@ class ActionExecutor {
|
|
|
3645
4161
|
pageDOM,
|
|
3646
4162
|
elementName,
|
|
3647
4163
|
elementType,
|
|
3648
|
-
platform: this.platform
|
|
4164
|
+
platform: this.platform,
|
|
4165
|
+
variableName: this.currentVariableName
|
|
3649
4166
|
});
|
|
3650
4167
|
}
|
|
3651
4168
|
catch (error) {
|
|
@@ -3665,7 +4182,8 @@ class ActionExecutor {
|
|
|
3665
4182
|
pageDOM,
|
|
3666
4183
|
elementName,
|
|
3667
4184
|
elementType,
|
|
3668
|
-
platform: this.platform
|
|
4185
|
+
platform: this.platform,
|
|
4186
|
+
variableName: this.currentVariableName
|
|
3669
4187
|
});
|
|
3670
4188
|
}
|
|
3671
4189
|
catch (error) {
|
|
@@ -3685,7 +4203,8 @@ class ActionExecutor {
|
|
|
3685
4203
|
pageDOM,
|
|
3686
4204
|
elementName,
|
|
3687
4205
|
elementType,
|
|
3688
|
-
platform: this.platform
|
|
4206
|
+
platform: this.platform,
|
|
4207
|
+
variableName: this.currentVariableName
|
|
3689
4208
|
});
|
|
3690
4209
|
}
|
|
3691
4210
|
catch (error) {
|
|
@@ -3705,7 +4224,8 @@ class ActionExecutor {
|
|
|
3705
4224
|
pageDOM,
|
|
3706
4225
|
elementName,
|
|
3707
4226
|
elementType,
|
|
3708
|
-
platform: this.platform
|
|
4227
|
+
platform: this.platform,
|
|
4228
|
+
variableName: this.currentVariableName
|
|
3709
4229
|
});
|
|
3710
4230
|
}
|
|
3711
4231
|
catch (error) {
|
|
@@ -3719,7 +4239,8 @@ class ActionExecutor {
|
|
|
3719
4239
|
driver: this.driver,
|
|
3720
4240
|
value,
|
|
3721
4241
|
scriptDataAppender: this.scriptDataAppender,
|
|
3722
|
-
platform: this.platform
|
|
4242
|
+
platform: this.platform,
|
|
4243
|
+
variableName: this.currentVariableName
|
|
3723
4244
|
});
|
|
3724
4245
|
}
|
|
3725
4246
|
catch (error) {
|
|
@@ -3733,7 +4254,8 @@ class ActionExecutor {
|
|
|
3733
4254
|
driver: this.driver,
|
|
3734
4255
|
value,
|
|
3735
4256
|
scriptDataAppender: this.scriptDataAppender,
|
|
3736
|
-
platform: this.platform
|
|
4257
|
+
platform: this.platform,
|
|
4258
|
+
variableName: this.currentVariableName
|
|
3737
4259
|
});
|
|
3738
4260
|
}
|
|
3739
4261
|
catch (error) {
|
|
@@ -3747,7 +4269,8 @@ class ActionExecutor {
|
|
|
3747
4269
|
driver: this.driver,
|
|
3748
4270
|
value,
|
|
3749
4271
|
scriptDataAppender: this.scriptDataAppender,
|
|
3750
|
-
platform: this.platform
|
|
4272
|
+
platform: this.platform,
|
|
4273
|
+
variableName: this.currentVariableName
|
|
3751
4274
|
});
|
|
3752
4275
|
}
|
|
3753
4276
|
catch (error) {
|
|
@@ -3761,7 +4284,8 @@ class ActionExecutor {
|
|
|
3761
4284
|
driver: this.driver,
|
|
3762
4285
|
value,
|
|
3763
4286
|
scriptDataAppender: this.scriptDataAppender,
|
|
3764
|
-
platform: this.platform
|
|
4287
|
+
platform: this.platform,
|
|
4288
|
+
variableName: this.currentVariableName
|
|
3765
4289
|
});
|
|
3766
4290
|
}
|
|
3767
4291
|
catch (error) {
|
|
@@ -3775,7 +4299,8 @@ class ActionExecutor {
|
|
|
3775
4299
|
driver: this.driver,
|
|
3776
4300
|
value,
|
|
3777
4301
|
scriptDataAppender: this.scriptDataAppender,
|
|
3778
|
-
platform: this.platform
|
|
4302
|
+
platform: this.platform,
|
|
4303
|
+
variableName: this.currentVariableName
|
|
3779
4304
|
});
|
|
3780
4305
|
}
|
|
3781
4306
|
catch (error) {
|
|
@@ -3795,7 +4320,8 @@ class ActionExecutor {
|
|
|
3795
4320
|
pageDOM,
|
|
3796
4321
|
elementName,
|
|
3797
4322
|
elementType,
|
|
3798
|
-
platform: this.platform
|
|
4323
|
+
platform: this.platform,
|
|
4324
|
+
variableName: this.currentVariableName
|
|
3799
4325
|
});
|
|
3800
4326
|
}
|
|
3801
4327
|
catch (error) {
|
|
@@ -3814,7 +4340,8 @@ class ActionExecutor {
|
|
|
3814
4340
|
pageDOM,
|
|
3815
4341
|
elementName,
|
|
3816
4342
|
elementType,
|
|
3817
|
-
platform: this.platform
|
|
4343
|
+
platform: this.platform,
|
|
4344
|
+
variableName: this.currentVariableName
|
|
3818
4345
|
});
|
|
3819
4346
|
}
|
|
3820
4347
|
catch (error) {
|
|
@@ -3828,7 +4355,8 @@ class ActionExecutor {
|
|
|
3828
4355
|
driver: this.driver,
|
|
3829
4356
|
value,
|
|
3830
4357
|
scriptDataAppender: this.scriptDataAppender,
|
|
3831
|
-
platform: this.platform
|
|
4358
|
+
platform: this.platform,
|
|
4359
|
+
variableName: this.currentVariableName
|
|
3832
4360
|
});
|
|
3833
4361
|
}
|
|
3834
4362
|
catch (error) {
|
|
@@ -3841,7 +4369,8 @@ class ActionExecutor {
|
|
|
3841
4369
|
await (0, VerifyIfBrowserWindowIsClosed_js_1.verifyIfBrowserWindowIsClosed)({
|
|
3842
4370
|
driver: this.driver,
|
|
3843
4371
|
scriptDataAppender: this.scriptDataAppender,
|
|
3844
|
-
platform: this.platform
|
|
4372
|
+
platform: this.platform,
|
|
4373
|
+
variableName: this.currentVariableName
|
|
3845
4374
|
});
|
|
3846
4375
|
}
|
|
3847
4376
|
catch (error) {
|
|
@@ -3854,7 +4383,8 @@ class ActionExecutor {
|
|
|
3854
4383
|
await (0, VerifyAllBrowserWindowsClosed_js_1.verifyAllBrowserWindowsClosed)({
|
|
3855
4384
|
driver: this.driver,
|
|
3856
4385
|
scriptDataAppender: this.scriptDataAppender,
|
|
3857
|
-
platform: this.platform
|
|
4386
|
+
platform: this.platform,
|
|
4387
|
+
variableName: this.currentVariableName
|
|
3858
4388
|
});
|
|
3859
4389
|
}
|
|
3860
4390
|
catch (error) {
|
|
@@ -3867,7 +4397,8 @@ class ActionExecutor {
|
|
|
3867
4397
|
await (0, VerifyIfAllCookiesAreDeleted_js_1.verifyIfAllCookiesAreDeleted)({
|
|
3868
4398
|
driver: this.driver,
|
|
3869
4399
|
scriptDataAppender: this.scriptDataAppender,
|
|
3870
|
-
platform: this.platform
|
|
4400
|
+
platform: this.platform,
|
|
4401
|
+
variableName: this.currentVariableName
|
|
3871
4402
|
});
|
|
3872
4403
|
}
|
|
3873
4404
|
catch (error) {
|
|
@@ -3881,7 +4412,8 @@ class ActionExecutor {
|
|
|
3881
4412
|
driver: this.driver,
|
|
3882
4413
|
value,
|
|
3883
4414
|
scriptDataAppender: this.scriptDataAppender,
|
|
3884
|
-
platform: this.platform
|
|
4415
|
+
platform: this.platform,
|
|
4416
|
+
variableName: this.currentVariableName
|
|
3885
4417
|
});
|
|
3886
4418
|
}
|
|
3887
4419
|
catch (error) {
|
|
@@ -3901,7 +4433,8 @@ class ActionExecutor {
|
|
|
3901
4433
|
pageDOM,
|
|
3902
4434
|
elementName,
|
|
3903
4435
|
elementType,
|
|
3904
|
-
platform: this.platform
|
|
4436
|
+
platform: this.platform,
|
|
4437
|
+
variableName: this.currentVariableName
|
|
3905
4438
|
});
|
|
3906
4439
|
}
|
|
3907
4440
|
catch (error) {
|
|
@@ -3920,7 +4453,8 @@ class ActionExecutor {
|
|
|
3920
4453
|
pageDOM,
|
|
3921
4454
|
elementName,
|
|
3922
4455
|
elementType,
|
|
3923
|
-
platform: this.platform
|
|
4456
|
+
platform: this.platform,
|
|
4457
|
+
variableName: this.currentVariableName
|
|
3924
4458
|
});
|
|
3925
4459
|
}
|
|
3926
4460
|
catch (error) {
|
|
@@ -3939,7 +4473,8 @@ class ActionExecutor {
|
|
|
3939
4473
|
pageDOM,
|
|
3940
4474
|
elementName,
|
|
3941
4475
|
elementType,
|
|
3942
|
-
platform: this.platform
|
|
4476
|
+
platform: this.platform,
|
|
4477
|
+
variableName: this.currentVariableName
|
|
3943
4478
|
});
|
|
3944
4479
|
}
|
|
3945
4480
|
catch (error) {
|
|
@@ -3958,7 +4493,8 @@ class ActionExecutor {
|
|
|
3958
4493
|
pageDOM,
|
|
3959
4494
|
elementName,
|
|
3960
4495
|
elementType,
|
|
3961
|
-
platform: this.platform
|
|
4496
|
+
platform: this.platform,
|
|
4497
|
+
variableName: this.currentVariableName
|
|
3962
4498
|
});
|
|
3963
4499
|
}
|
|
3964
4500
|
catch (error) {
|
|
@@ -3977,7 +4513,8 @@ class ActionExecutor {
|
|
|
3977
4513
|
pageDOM,
|
|
3978
4514
|
elementName,
|
|
3979
4515
|
elementType,
|
|
3980
|
-
platform: this.platform
|
|
4516
|
+
platform: this.platform,
|
|
4517
|
+
variableName: this.currentVariableName
|
|
3981
4518
|
});
|
|
3982
4519
|
}
|
|
3983
4520
|
catch (error) {
|
|
@@ -3996,7 +4533,8 @@ class ActionExecutor {
|
|
|
3996
4533
|
pageDOM,
|
|
3997
4534
|
elementName,
|
|
3998
4535
|
elementType,
|
|
3999
|
-
platform: this.platform
|
|
4536
|
+
platform: this.platform,
|
|
4537
|
+
variableName: this.currentVariableName
|
|
4000
4538
|
});
|
|
4001
4539
|
}
|
|
4002
4540
|
catch (error) {
|
|
@@ -4015,7 +4553,8 @@ class ActionExecutor {
|
|
|
4015
4553
|
pageDOM,
|
|
4016
4554
|
elementName,
|
|
4017
4555
|
elementType,
|
|
4018
|
-
platform: this.platform
|
|
4556
|
+
platform: this.platform,
|
|
4557
|
+
variableName: this.currentVariableName
|
|
4019
4558
|
});
|
|
4020
4559
|
}
|
|
4021
4560
|
catch (error) {
|
|
@@ -4034,7 +4573,8 @@ class ActionExecutor {
|
|
|
4034
4573
|
pageDOM,
|
|
4035
4574
|
elementName,
|
|
4036
4575
|
elementType,
|
|
4037
|
-
platform: this.platform
|
|
4576
|
+
platform: this.platform,
|
|
4577
|
+
variableName: this.currentVariableName
|
|
4038
4578
|
});
|
|
4039
4579
|
}
|
|
4040
4580
|
catch (error) {
|
|
@@ -4053,7 +4593,8 @@ class ActionExecutor {
|
|
|
4053
4593
|
pageDOM,
|
|
4054
4594
|
elementName,
|
|
4055
4595
|
elementType,
|
|
4056
|
-
platform: this.platform
|
|
4596
|
+
platform: this.platform,
|
|
4597
|
+
variableName: this.currentVariableName
|
|
4057
4598
|
});
|
|
4058
4599
|
}
|
|
4059
4600
|
catch (error) {
|
|
@@ -4072,7 +4613,8 @@ class ActionExecutor {
|
|
|
4072
4613
|
pageDOM,
|
|
4073
4614
|
elementName,
|
|
4074
4615
|
elementType,
|
|
4075
|
-
platform: this.platform
|
|
4616
|
+
platform: this.platform,
|
|
4617
|
+
variableName: this.currentVariableName
|
|
4076
4618
|
});
|
|
4077
4619
|
}
|
|
4078
4620
|
catch (error) {
|
|
@@ -4086,7 +4628,8 @@ class ActionExecutor {
|
|
|
4086
4628
|
driver: this.driver,
|
|
4087
4629
|
value,
|
|
4088
4630
|
scriptDataAppender: this.scriptDataAppender,
|
|
4089
|
-
platform: this.platform
|
|
4631
|
+
platform: this.platform,
|
|
4632
|
+
variableName: this.currentVariableName
|
|
4090
4633
|
});
|
|
4091
4634
|
}
|
|
4092
4635
|
catch (error) {
|
|
@@ -4100,7 +4643,8 @@ class ActionExecutor {
|
|
|
4100
4643
|
driver: this.driver,
|
|
4101
4644
|
value,
|
|
4102
4645
|
scriptDataAppender: this.scriptDataAppender,
|
|
4103
|
-
platform: this.platform
|
|
4646
|
+
platform: this.platform,
|
|
4647
|
+
variableName: this.currentVariableName
|
|
4104
4648
|
});
|
|
4105
4649
|
}
|
|
4106
4650
|
catch (error) {
|
|
@@ -4114,7 +4658,8 @@ class ActionExecutor {
|
|
|
4114
4658
|
driver: this.driver,
|
|
4115
4659
|
value,
|
|
4116
4660
|
scriptDataAppender: this.scriptDataAppender,
|
|
4117
|
-
platform: this.platform
|
|
4661
|
+
platform: this.platform,
|
|
4662
|
+
variableName: this.currentVariableName
|
|
4118
4663
|
});
|
|
4119
4664
|
}
|
|
4120
4665
|
catch (error) {
|
|
@@ -4128,7 +4673,8 @@ class ActionExecutor {
|
|
|
4128
4673
|
driver: this.driver,
|
|
4129
4674
|
value,
|
|
4130
4675
|
scriptDataAppender: this.scriptDataAppender,
|
|
4131
|
-
platform: this.platform
|
|
4676
|
+
platform: this.platform,
|
|
4677
|
+
variableName: this.currentVariableName
|
|
4132
4678
|
});
|
|
4133
4679
|
}
|
|
4134
4680
|
catch (error) {
|
|
@@ -4141,7 +4687,8 @@ class ActionExecutor {
|
|
|
4141
4687
|
await (0, VerifyAllBrokenImages_js_1.verifyAllBrokenImages)({
|
|
4142
4688
|
driver: this.driver,
|
|
4143
4689
|
scriptDataAppender: this.scriptDataAppender,
|
|
4144
|
-
platform: this.platform
|
|
4690
|
+
platform: this.platform,
|
|
4691
|
+
variableName: this.currentVariableName
|
|
4145
4692
|
});
|
|
4146
4693
|
}
|
|
4147
4694
|
catch (error) {
|
|
@@ -4254,7 +4801,10 @@ class ActionExecutor {
|
|
|
4254
4801
|
driver: this.driver,
|
|
4255
4802
|
value,
|
|
4256
4803
|
scriptDataAppender: this.scriptDataAppender,
|
|
4257
|
-
platform: this.platform
|
|
4804
|
+
platform: this.platform,
|
|
4805
|
+
stepIndex: this.currentStepIndex,
|
|
4806
|
+
currentStep: this.currentStepText,
|
|
4807
|
+
stepsInputData: this.stepsInputData,
|
|
4258
4808
|
});
|
|
4259
4809
|
}
|
|
4260
4810
|
catch (error) {
|
|
@@ -4360,7 +4910,8 @@ class ActionExecutor {
|
|
|
4360
4910
|
elementType,
|
|
4361
4911
|
scriptDataAppender: this.scriptDataAppender,
|
|
4362
4912
|
platform: this.platform,
|
|
4363
|
-
elementGetter: this.elementGetter
|
|
4913
|
+
elementGetter: this.elementGetter,
|
|
4914
|
+
variableName: this.currentVariableName
|
|
4364
4915
|
});
|
|
4365
4916
|
}
|
|
4366
4917
|
catch (error) {
|
|
@@ -4840,9 +5391,13 @@ class ActionExecutor {
|
|
|
4840
5391
|
async MOB_GetDeviceLocation() {
|
|
4841
5392
|
try {
|
|
4842
5393
|
await (0, MOB_GetDeviceLocation_js_1.MOB_GetDeviceLocation)({
|
|
5394
|
+
stepIndex: this.currentStepIndex,
|
|
5395
|
+
currentStep: this.currentStepText,
|
|
5396
|
+
stepsInputData: this.stepsInputData,
|
|
4843
5397
|
driver: this.driver,
|
|
4844
5398
|
scriptDataAppender: this.scriptDataAppender,
|
|
4845
|
-
platform: this.platform
|
|
5399
|
+
platform: this.platform,
|
|
5400
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
4846
5401
|
});
|
|
4847
5402
|
}
|
|
4848
5403
|
catch (error) {
|
|
@@ -4853,9 +5408,13 @@ class ActionExecutor {
|
|
|
4853
5408
|
async MOB_GetBatteryPercentage() {
|
|
4854
5409
|
try {
|
|
4855
5410
|
await (0, MOB_GetBatteryPercentage_js_1.MOB_GetBatteryPercentage)({
|
|
5411
|
+
stepIndex: this.currentStepIndex,
|
|
5412
|
+
currentStep: this.currentStepText,
|
|
5413
|
+
stepsInputData: this.stepsInputData,
|
|
4856
5414
|
driver: this.driver,
|
|
4857
5415
|
scriptDataAppender: this.scriptDataAppender,
|
|
4858
|
-
platform: this.platform
|
|
5416
|
+
platform: this.platform,
|
|
5417
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
4859
5418
|
});
|
|
4860
5419
|
}
|
|
4861
5420
|
catch (error) {
|
|
@@ -4866,9 +5425,13 @@ class ActionExecutor {
|
|
|
4866
5425
|
async MOB_GetLongitude() {
|
|
4867
5426
|
try {
|
|
4868
5427
|
await (0, MOB_GetLongitude_js_1.MOB_GetLongitude)({
|
|
5428
|
+
stepIndex: this.currentStepIndex,
|
|
5429
|
+
currentStep: this.currentStepText,
|
|
5430
|
+
stepsInputData: this.stepsInputData,
|
|
4869
5431
|
driver: this.driver,
|
|
4870
5432
|
scriptDataAppender: this.scriptDataAppender,
|
|
4871
|
-
platform: this.platform
|
|
5433
|
+
platform: this.platform,
|
|
5434
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
4872
5435
|
});
|
|
4873
5436
|
}
|
|
4874
5437
|
catch (error) {
|
|
@@ -4879,9 +5442,13 @@ class ActionExecutor {
|
|
|
4879
5442
|
async MOB_GetLatitude() {
|
|
4880
5443
|
try {
|
|
4881
5444
|
await (0, MOB_GetLatitude_js_1.MOB_GetLatitude)({
|
|
5445
|
+
stepIndex: this.currentStepIndex,
|
|
5446
|
+
currentStep: this.currentStepText,
|
|
5447
|
+
stepsInputData: this.stepsInputData,
|
|
4882
5448
|
driver: this.driver,
|
|
4883
5449
|
scriptDataAppender: this.scriptDataAppender,
|
|
4884
|
-
platform: this.platform
|
|
5450
|
+
platform: this.platform,
|
|
5451
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
4885
5452
|
});
|
|
4886
5453
|
}
|
|
4887
5454
|
catch (error) {
|
|
@@ -4892,9 +5459,13 @@ class ActionExecutor {
|
|
|
4892
5459
|
async MOB_GetAltitude() {
|
|
4893
5460
|
try {
|
|
4894
5461
|
await (0, MOB_GetAltitude_js_1.MOB_GetAltitude)({
|
|
5462
|
+
stepIndex: this.currentStepIndex,
|
|
5463
|
+
currentStep: this.currentStepText,
|
|
5464
|
+
stepsInputData: this.stepsInputData,
|
|
4895
5465
|
driver: this.driver,
|
|
4896
5466
|
scriptDataAppender: this.scriptDataAppender,
|
|
4897
|
-
platform: this.platform
|
|
5467
|
+
platform: this.platform,
|
|
5468
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
4898
5469
|
});
|
|
4899
5470
|
}
|
|
4900
5471
|
catch (error) {
|
|
@@ -4905,9 +5476,13 @@ class ActionExecutor {
|
|
|
4905
5476
|
async MOB_GetCurrentDeviceDate() {
|
|
4906
5477
|
try {
|
|
4907
5478
|
await (0, MOB_GetCurrentDeviceDate_js_1.MOB_GetCurrentDeviceDate)({
|
|
5479
|
+
stepIndex: this.currentStepIndex,
|
|
5480
|
+
currentStep: this.currentStepText,
|
|
5481
|
+
stepsInputData: this.stepsInputData,
|
|
4908
5482
|
driver: this.driver,
|
|
4909
5483
|
scriptDataAppender: this.scriptDataAppender,
|
|
4910
|
-
platform: this.platform
|
|
5484
|
+
platform: this.platform,
|
|
5485
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
4911
5486
|
});
|
|
4912
5487
|
}
|
|
4913
5488
|
catch (error) {
|
|
@@ -4918,9 +5493,13 @@ class ActionExecutor {
|
|
|
4918
5493
|
async MOB_GetMinuteFromCurrentDeviceTime() {
|
|
4919
5494
|
try {
|
|
4920
5495
|
await (0, MOB_GetMinuteFromCurrentDeviceTime_js_1.MOB_GetMinuteFromCurrentDeviceTime)({
|
|
5496
|
+
stepIndex: this.currentStepIndex,
|
|
5497
|
+
currentStep: this.currentStepText,
|
|
5498
|
+
stepsInputData: this.stepsInputData,
|
|
4921
5499
|
driver: this.driver,
|
|
4922
5500
|
scriptDataAppender: this.scriptDataAppender,
|
|
4923
|
-
platform: this.platform
|
|
5501
|
+
platform: this.platform,
|
|
5502
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
4924
5503
|
});
|
|
4925
5504
|
}
|
|
4926
5505
|
catch (error) {
|
|
@@ -4931,9 +5510,13 @@ class ActionExecutor {
|
|
|
4931
5510
|
async MOB_GetCurrentAppPackage() {
|
|
4932
5511
|
try {
|
|
4933
5512
|
await (0, MOB_GetCurrentAppPackage_js_1.MOB_GetCurrentAppPackage)({
|
|
5513
|
+
stepIndex: this.currentStepIndex,
|
|
5514
|
+
currentStep: this.currentStepText,
|
|
5515
|
+
stepsInputData: this.stepsInputData,
|
|
4934
5516
|
driver: this.driver,
|
|
4935
5517
|
scriptDataAppender: this.scriptDataAppender,
|
|
4936
|
-
platform: this.platform
|
|
5518
|
+
platform: this.platform,
|
|
5519
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
4937
5520
|
});
|
|
4938
5521
|
}
|
|
4939
5522
|
catch (error) {
|
|
@@ -4944,9 +5527,13 @@ class ActionExecutor {
|
|
|
4944
5527
|
async MOB_GetAllContexts() {
|
|
4945
5528
|
try {
|
|
4946
5529
|
await (0, MOB_GetAllContexts_js_1.MOB_GetAllContexts)({
|
|
5530
|
+
stepIndex: this.currentStepIndex,
|
|
5531
|
+
currentStep: this.currentStepText,
|
|
5532
|
+
stepsInputData: this.stepsInputData,
|
|
4947
5533
|
driver: this.driver,
|
|
4948
5534
|
scriptDataAppender: this.scriptDataAppender,
|
|
4949
|
-
platform: this.platform
|
|
5535
|
+
platform: this.platform,
|
|
5536
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
4950
5537
|
});
|
|
4951
5538
|
}
|
|
4952
5539
|
catch (error) {
|
|
@@ -4957,9 +5544,13 @@ class ActionExecutor {
|
|
|
4957
5544
|
async MOB_GetHourFromCurrentDeviceTime() {
|
|
4958
5545
|
try {
|
|
4959
5546
|
await (0, MOB_GetHourFromCurrentDeviceTime_js_1.MOB_GetHourFromCurrentDeviceTime)({
|
|
5547
|
+
stepIndex: this.currentStepIndex,
|
|
5548
|
+
currentStep: this.currentStepText,
|
|
5549
|
+
stepsInputData: this.stepsInputData,
|
|
4960
5550
|
driver: this.driver,
|
|
4961
5551
|
scriptDataAppender: this.scriptDataAppender,
|
|
4962
|
-
platform: this.platform
|
|
5552
|
+
platform: this.platform,
|
|
5553
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
4963
5554
|
});
|
|
4964
5555
|
}
|
|
4965
5556
|
catch (error) {
|
|
@@ -4970,9 +5561,13 @@ class ActionExecutor {
|
|
|
4970
5561
|
async MOB_GetSecondFromCurrentDeviceTime() {
|
|
4971
5562
|
try {
|
|
4972
5563
|
await (0, MOB_GetSecondFromCurrentDeviceTime_js_1.MOB_GetSecondFromCurrentDeviceTime)({
|
|
5564
|
+
stepIndex: this.currentStepIndex,
|
|
5565
|
+
currentStep: this.currentStepText,
|
|
5566
|
+
stepsInputData: this.stepsInputData,
|
|
4973
5567
|
driver: this.driver,
|
|
4974
5568
|
scriptDataAppender: this.scriptDataAppender,
|
|
4975
|
-
platform: this.platform
|
|
5569
|
+
platform: this.platform,
|
|
5570
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
4976
5571
|
});
|
|
4977
5572
|
}
|
|
4978
5573
|
catch (error) {
|
|
@@ -4983,9 +5578,13 @@ class ActionExecutor {
|
|
|
4983
5578
|
async MOB_GetSupportedPerformanceDataTypes() {
|
|
4984
5579
|
try {
|
|
4985
5580
|
await (0, MOB_GetSupportedPerformanceDataTypes_js_1.MOB_GetSupportedPerformanceDataTypes)({
|
|
5581
|
+
stepIndex: this.currentStepIndex,
|
|
5582
|
+
currentStep: this.currentStepText,
|
|
5583
|
+
stepsInputData: this.stepsInputData,
|
|
4986
5584
|
driver: this.driver,
|
|
4987
5585
|
scriptDataAppender: this.scriptDataAppender,
|
|
4988
|
-
platform: this.platform
|
|
5586
|
+
platform: this.platform,
|
|
5587
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
4989
5588
|
});
|
|
4990
5589
|
}
|
|
4991
5590
|
catch (error) {
|
|
@@ -4996,9 +5595,13 @@ class ActionExecutor {
|
|
|
4996
5595
|
async MOB_GetCurrentOrientation() {
|
|
4997
5596
|
try {
|
|
4998
5597
|
await (0, MOB_GetCurrentOrientation_js_1.MOB_GetCurrentOrientation)({
|
|
5598
|
+
stepIndex: this.currentStepIndex,
|
|
5599
|
+
currentStep: this.currentStepText,
|
|
5600
|
+
stepsInputData: this.stepsInputData,
|
|
4999
5601
|
driver: this.driver,
|
|
5000
5602
|
scriptDataAppender: this.scriptDataAppender,
|
|
5001
|
-
platform: this.platform
|
|
5603
|
+
platform: this.platform,
|
|
5604
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
5002
5605
|
});
|
|
5003
5606
|
}
|
|
5004
5607
|
catch (error) {
|
|
@@ -5009,9 +5612,13 @@ class ActionExecutor {
|
|
|
5009
5612
|
async MOB_GetCurrentDeviceTime() {
|
|
5010
5613
|
try {
|
|
5011
5614
|
await (0, MOB_GetCurrentDeviceTime_js_1.MOB_GetCurrentDeviceTime)({
|
|
5615
|
+
stepIndex: this.currentStepIndex,
|
|
5616
|
+
currentStep: this.currentStepText,
|
|
5617
|
+
stepsInputData: this.stepsInputData,
|
|
5012
5618
|
driver: this.driver,
|
|
5013
5619
|
scriptDataAppender: this.scriptDataAppender,
|
|
5014
|
-
platform: this.platform
|
|
5620
|
+
platform: this.platform,
|
|
5621
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
5015
5622
|
});
|
|
5016
5623
|
}
|
|
5017
5624
|
catch (error) {
|
|
@@ -5022,9 +5629,13 @@ class ActionExecutor {
|
|
|
5022
5629
|
async MOB_GetCurrentContext() {
|
|
5023
5630
|
try {
|
|
5024
5631
|
await (0, MOB_GetCurrentContext_js_1.MOB_GetCurrentContext)({
|
|
5632
|
+
stepIndex: this.currentStepIndex,
|
|
5633
|
+
currentStep: this.currentStepText,
|
|
5634
|
+
stepsInputData: this.stepsInputData,
|
|
5025
5635
|
driver: this.driver,
|
|
5026
5636
|
scriptDataAppender: this.scriptDataAppender,
|
|
5027
|
-
platform: this.platform
|
|
5637
|
+
platform: this.platform,
|
|
5638
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
5028
5639
|
});
|
|
5029
5640
|
}
|
|
5030
5641
|
catch (error) {
|
|
@@ -5035,9 +5646,13 @@ class ActionExecutor {
|
|
|
5035
5646
|
async MOB_GetCurrentDeviceSettings() {
|
|
5036
5647
|
try {
|
|
5037
5648
|
await (0, MOB_GetCurrentDeviceSettings_js_1.MOB_GetCurrentDeviceSettings)({
|
|
5649
|
+
stepIndex: this.currentStepIndex,
|
|
5650
|
+
currentStep: this.currentStepText,
|
|
5651
|
+
stepsInputData: this.stepsInputData,
|
|
5038
5652
|
driver: this.driver,
|
|
5039
5653
|
scriptDataAppender: this.scriptDataAppender,
|
|
5040
|
-
platform: this.platform
|
|
5654
|
+
platform: this.platform,
|
|
5655
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
5041
5656
|
});
|
|
5042
5657
|
}
|
|
5043
5658
|
catch (error) {
|
|
@@ -5048,9 +5663,13 @@ class ActionExecutor {
|
|
|
5048
5663
|
async MOB_GetClipBoardText() {
|
|
5049
5664
|
try {
|
|
5050
5665
|
await (0, MOB_GetClipBoardText_js_1.MOB_GetClipBoardText)({
|
|
5666
|
+
stepIndex: this.currentStepIndex,
|
|
5667
|
+
currentStep: this.currentStepText,
|
|
5668
|
+
stepsInputData: this.stepsInputData,
|
|
5051
5669
|
driver: this.driver,
|
|
5052
5670
|
scriptDataAppender: this.scriptDataAppender,
|
|
5053
|
-
platform: this.platform
|
|
5671
|
+
platform: this.platform,
|
|
5672
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
5054
5673
|
});
|
|
5055
5674
|
}
|
|
5056
5675
|
catch (error) {
|
|
@@ -5061,9 +5680,13 @@ class ActionExecutor {
|
|
|
5061
5680
|
async MOB_GetCurrentDeviceStatus() {
|
|
5062
5681
|
try {
|
|
5063
5682
|
await (0, MOB_GetCurrentDeviceStatus_js_1.MOB_GetCurrentDeviceStatus)({
|
|
5683
|
+
stepIndex: this.currentStepIndex,
|
|
5684
|
+
currentStep: this.currentStepText,
|
|
5685
|
+
stepsInputData: this.stepsInputData,
|
|
5064
5686
|
driver: this.driver,
|
|
5065
5687
|
scriptDataAppender: this.scriptDataAppender,
|
|
5066
|
-
platform: this.platform
|
|
5688
|
+
platform: this.platform,
|
|
5689
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
5067
5690
|
});
|
|
5068
5691
|
}
|
|
5069
5692
|
catch (error) {
|
|
@@ -5074,9 +5697,13 @@ class ActionExecutor {
|
|
|
5074
5697
|
async MOB_GetSizeOfScreen() {
|
|
5075
5698
|
try {
|
|
5076
5699
|
await (0, MOB_GetSizeOfScreen_js_1.MOB_GetSizeOfScreen)({
|
|
5700
|
+
stepIndex: this.currentStepIndex,
|
|
5701
|
+
currentStep: this.currentStepText,
|
|
5702
|
+
stepsInputData: this.stepsInputData,
|
|
5077
5703
|
driver: this.driver,
|
|
5078
5704
|
scriptDataAppender: this.scriptDataAppender,
|
|
5079
|
-
platform: this.platform
|
|
5705
|
+
platform: this.platform,
|
|
5706
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
5080
5707
|
});
|
|
5081
5708
|
}
|
|
5082
5709
|
catch (error) {
|
|
@@ -5087,9 +5714,13 @@ class ActionExecutor {
|
|
|
5087
5714
|
async MOB_GetAllWindowHandles() {
|
|
5088
5715
|
try {
|
|
5089
5716
|
await (0, MOB_GetAllWindowHandles_js_1.MOB_GetAllWindowHandles)({
|
|
5717
|
+
stepIndex: this.currentStepIndex,
|
|
5718
|
+
currentStep: this.currentStepText,
|
|
5719
|
+
stepsInputData: this.stepsInputData,
|
|
5090
5720
|
driver: this.driver,
|
|
5091
5721
|
scriptDataAppender: this.scriptDataAppender,
|
|
5092
|
-
platform: this.platform
|
|
5722
|
+
platform: this.platform,
|
|
5723
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
5093
5724
|
});
|
|
5094
5725
|
}
|
|
5095
5726
|
catch (error) {
|
|
@@ -5100,9 +5731,13 @@ class ActionExecutor {
|
|
|
5100
5731
|
async MOB_GetWidthOfScreen() {
|
|
5101
5732
|
try {
|
|
5102
5733
|
await (0, MOB_GetWidthOfScreen_js_1.MOB_GetWidthOfScreen)({
|
|
5734
|
+
stepIndex: this.currentStepIndex,
|
|
5735
|
+
currentStep: this.currentStepText,
|
|
5736
|
+
stepsInputData: this.stepsInputData,
|
|
5103
5737
|
driver: this.driver,
|
|
5104
5738
|
scriptDataAppender: this.scriptDataAppender,
|
|
5105
|
-
platform: this.platform
|
|
5739
|
+
platform: this.platform,
|
|
5740
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
5106
5741
|
});
|
|
5107
5742
|
}
|
|
5108
5743
|
catch (error) {
|
|
@@ -5113,9 +5748,13 @@ class ActionExecutor {
|
|
|
5113
5748
|
async MOB_GetBatteryStatus() {
|
|
5114
5749
|
try {
|
|
5115
5750
|
await (0, MOB_GetBatteryStatus_js_1.MOB_GetBatteryStatus)({
|
|
5751
|
+
stepIndex: this.currentStepIndex,
|
|
5752
|
+
currentStep: this.currentStepText,
|
|
5753
|
+
stepsInputData: this.stepsInputData,
|
|
5116
5754
|
driver: this.driver,
|
|
5117
5755
|
scriptDataAppender: this.scriptDataAppender,
|
|
5118
|
-
platform: this.platform
|
|
5756
|
+
platform: this.platform,
|
|
5757
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
5119
5758
|
});
|
|
5120
5759
|
}
|
|
5121
5760
|
catch (error) {
|
|
@@ -5126,9 +5765,13 @@ class ActionExecutor {
|
|
|
5126
5765
|
async MOB_GetCurrentActivity() {
|
|
5127
5766
|
try {
|
|
5128
5767
|
await (0, MOB_GetCurrentActivity_js_1.MOB_GetCurrentActivity)({
|
|
5768
|
+
stepIndex: this.currentStepIndex,
|
|
5769
|
+
currentStep: this.currentStepText,
|
|
5770
|
+
stepsInputData: this.stepsInputData,
|
|
5129
5771
|
driver: this.driver,
|
|
5130
5772
|
scriptDataAppender: this.scriptDataAppender,
|
|
5131
|
-
platform: this.platform
|
|
5773
|
+
platform: this.platform,
|
|
5774
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
5132
5775
|
});
|
|
5133
5776
|
}
|
|
5134
5777
|
catch (error) {
|
|
@@ -5139,9 +5782,13 @@ class ActionExecutor {
|
|
|
5139
5782
|
async MOB_GetDeviceOsVersion() {
|
|
5140
5783
|
try {
|
|
5141
5784
|
await (0, MOB_GetDeviceOsVersion_js_1.MOB_GetDeviceOsVersion)({
|
|
5785
|
+
stepIndex: this.currentStepIndex,
|
|
5786
|
+
currentStep: this.currentStepText,
|
|
5787
|
+
stepsInputData: this.stepsInputData,
|
|
5142
5788
|
driver: this.driver,
|
|
5143
5789
|
scriptDataAppender: this.scriptDataAppender,
|
|
5144
|
-
platform: this.platform
|
|
5790
|
+
platform: this.platform,
|
|
5791
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
5145
5792
|
});
|
|
5146
5793
|
}
|
|
5147
5794
|
catch (error) {
|
|
@@ -5152,9 +5799,13 @@ class ActionExecutor {
|
|
|
5152
5799
|
async MOB_GetDeviceUdid() {
|
|
5153
5800
|
try {
|
|
5154
5801
|
await (0, MOB_GetDeviceUdid_js_1.MOB_GetDeviceUdid)({
|
|
5802
|
+
stepIndex: this.currentStepIndex,
|
|
5803
|
+
currentStep: this.currentStepText,
|
|
5804
|
+
stepsInputData: this.stepsInputData,
|
|
5155
5805
|
driver: this.driver,
|
|
5156
5806
|
scriptDataAppender: this.scriptDataAppender,
|
|
5157
|
-
platform: this.platform
|
|
5807
|
+
platform: this.platform,
|
|
5808
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
5158
5809
|
});
|
|
5159
5810
|
}
|
|
5160
5811
|
catch (error) {
|
|
@@ -5165,9 +5816,13 @@ class ActionExecutor {
|
|
|
5165
5816
|
async MOB_GetDeviceName() {
|
|
5166
5817
|
try {
|
|
5167
5818
|
await (0, MOB_GetDeviceName_js_1.MOB_GetDeviceName)({
|
|
5819
|
+
stepIndex: this.currentStepIndex,
|
|
5820
|
+
currentStep: this.currentStepText,
|
|
5821
|
+
stepsInputData: this.stepsInputData,
|
|
5168
5822
|
driver: this.driver,
|
|
5169
5823
|
scriptDataAppender: this.scriptDataAppender,
|
|
5170
|
-
platform: this.platform
|
|
5824
|
+
platform: this.platform,
|
|
5825
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
5171
5826
|
});
|
|
5172
5827
|
}
|
|
5173
5828
|
catch (error) {
|
|
@@ -5178,9 +5833,13 @@ class ActionExecutor {
|
|
|
5178
5833
|
async MOB_GetCurrentSessionId() {
|
|
5179
5834
|
try {
|
|
5180
5835
|
await (0, MOB_GetCurrentSessionId_js_1.MOB_GetCurrentSessionId)({
|
|
5836
|
+
stepIndex: this.currentStepIndex,
|
|
5837
|
+
currentStep: this.currentStepText,
|
|
5838
|
+
stepsInputData: this.stepsInputData,
|
|
5181
5839
|
driver: this.driver,
|
|
5182
5840
|
scriptDataAppender: this.scriptDataAppender,
|
|
5183
|
-
platform: this.platform
|
|
5841
|
+
platform: this.platform,
|
|
5842
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
5184
5843
|
});
|
|
5185
5844
|
}
|
|
5186
5845
|
catch (error) {
|
|
@@ -5191,9 +5850,13 @@ class ActionExecutor {
|
|
|
5191
5850
|
async MOB_GetHeightOfScreen() {
|
|
5192
5851
|
try {
|
|
5193
5852
|
await (0, MOB_GetHeightOfScreen_js_1.MOB_GetHeightOfScreen)({
|
|
5853
|
+
stepIndex: this.currentStepIndex,
|
|
5854
|
+
currentStep: this.currentStepText,
|
|
5855
|
+
stepsInputData: this.stepsInputData,
|
|
5194
5856
|
driver: this.driver,
|
|
5195
5857
|
scriptDataAppender: this.scriptDataAppender,
|
|
5196
|
-
platform: this.platform
|
|
5858
|
+
platform: this.platform,
|
|
5859
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
5197
5860
|
});
|
|
5198
5861
|
}
|
|
5199
5862
|
catch (error) {
|
|
@@ -5204,9 +5867,13 @@ class ActionExecutor {
|
|
|
5204
5867
|
async MOB_GetCurrentDeviceSystemBars() {
|
|
5205
5868
|
try {
|
|
5206
5869
|
await (0, MOB_GetCurrentDeviceSystemBars_js_1.MOB_GetCurrentDeviceSystemBars)({
|
|
5870
|
+
stepIndex: this.currentStepIndex,
|
|
5871
|
+
currentStep: this.currentStepText,
|
|
5872
|
+
stepsInputData: this.stepsInputData,
|
|
5207
5873
|
driver: this.driver,
|
|
5208
5874
|
scriptDataAppender: this.scriptDataAppender,
|
|
5209
|
-
platform: this.platform
|
|
5875
|
+
platform: this.platform,
|
|
5876
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
5210
5877
|
});
|
|
5211
5878
|
}
|
|
5212
5879
|
catch (error) {
|
|
@@ -5217,6 +5884,9 @@ class ActionExecutor {
|
|
|
5217
5884
|
async MOB_GetWidthOfElement(selector, elementName, elementType, pageDOM, fireflinkIndex) {
|
|
5218
5885
|
try {
|
|
5219
5886
|
await (0, MOB_GetWidthOfElement_js_1.MOB_GetWidthOfElement)({
|
|
5887
|
+
stepIndex: this.currentStepIndex,
|
|
5888
|
+
currentStep: this.currentStepText,
|
|
5889
|
+
stepsInputData: this.stepsInputData,
|
|
5220
5890
|
driver: this.driver,
|
|
5221
5891
|
selector: selector,
|
|
5222
5892
|
scriptDataAppender: this.scriptDataAppender,
|
|
@@ -5225,7 +5895,8 @@ class ActionExecutor {
|
|
|
5225
5895
|
pageDOM,
|
|
5226
5896
|
fireflinkIndex,
|
|
5227
5897
|
elementGetter: this.elementGetter,
|
|
5228
|
-
platform: this.platform
|
|
5898
|
+
platform: this.platform,
|
|
5899
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
5229
5900
|
});
|
|
5230
5901
|
}
|
|
5231
5902
|
catch (error) {
|
|
@@ -5236,6 +5907,9 @@ class ActionExecutor {
|
|
|
5236
5907
|
async MOB_GetHeightOfElement(selector, elementName, elementType, pageDOM, fireflinkIndex) {
|
|
5237
5908
|
try {
|
|
5238
5909
|
await (0, MOB_GetHeightOfElement_js_1.MOB_GetHeightOfElement)({
|
|
5910
|
+
stepIndex: this.currentStepIndex,
|
|
5911
|
+
currentStep: this.currentStepText,
|
|
5912
|
+
stepsInputData: this.stepsInputData,
|
|
5239
5913
|
driver: this.driver,
|
|
5240
5914
|
selector: selector,
|
|
5241
5915
|
scriptDataAppender: this.scriptDataAppender,
|
|
@@ -5244,7 +5918,8 @@ class ActionExecutor {
|
|
|
5244
5918
|
pageDOM,
|
|
5245
5919
|
fireflinkIndex,
|
|
5246
5920
|
elementGetter: this.elementGetter,
|
|
5247
|
-
platform: this.platform
|
|
5921
|
+
platform: this.platform,
|
|
5922
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
5248
5923
|
});
|
|
5249
5924
|
}
|
|
5250
5925
|
catch (error) {
|
|
@@ -5255,6 +5930,9 @@ class ActionExecutor {
|
|
|
5255
5930
|
async MOB_GetTextFromElementAndSetToClipBoard(selector, elementName, elementType, pageDOM, fireflinkIndex) {
|
|
5256
5931
|
try {
|
|
5257
5932
|
await (0, MOB_GetTextFromElementAndSetToClipBoard_js_1.MOB_GetTextFromElementAndSetToClipBoard)({
|
|
5933
|
+
stepIndex: this.currentStepIndex,
|
|
5934
|
+
currentStep: this.currentStepText,
|
|
5935
|
+
stepsInputData: this.stepsInputData,
|
|
5258
5936
|
driver: this.driver,
|
|
5259
5937
|
selector: selector,
|
|
5260
5938
|
scriptDataAppender: this.scriptDataAppender,
|
|
@@ -5263,7 +5941,8 @@ class ActionExecutor {
|
|
|
5263
5941
|
pageDOM,
|
|
5264
5942
|
fireflinkIndex,
|
|
5265
5943
|
elementGetter: this.elementGetter,
|
|
5266
|
-
platform: this.platform
|
|
5944
|
+
platform: this.platform,
|
|
5945
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
5267
5946
|
});
|
|
5268
5947
|
}
|
|
5269
5948
|
catch (error) {
|
|
@@ -5274,9 +5953,13 @@ class ActionExecutor {
|
|
|
5274
5953
|
async MOB_GetADBLogsForGivenAppPackage(value) {
|
|
5275
5954
|
try {
|
|
5276
5955
|
await (0, MOB_GetADBLogsForGivenAppPackage_js_1.MOB_GetADBLogsForGivenAppPackage)({
|
|
5956
|
+
stepIndex: this.currentStepIndex,
|
|
5957
|
+
currentStep: this.currentStepText,
|
|
5958
|
+
stepsInputData: this.stepsInputData,
|
|
5277
5959
|
driver: this.driver,
|
|
5278
5960
|
value,
|
|
5279
5961
|
scriptDataAppender: this.scriptDataAppender,
|
|
5962
|
+
returnTypeVariableName: this.currentReturnTypeVariableName || this.currentVariableName
|
|
5280
5963
|
});
|
|
5281
5964
|
}
|
|
5282
5965
|
catch (error) {
|
|
@@ -5290,7 +5973,8 @@ class ActionExecutor {
|
|
|
5290
5973
|
driver: this.driver,
|
|
5291
5974
|
value,
|
|
5292
5975
|
scriptDataAppender: this.scriptDataAppender,
|
|
5293
|
-
platform: this.platform
|
|
5976
|
+
platform: this.platform,
|
|
5977
|
+
variableName: this.currentVariableName
|
|
5294
5978
|
});
|
|
5295
5979
|
}
|
|
5296
5980
|
catch (error) {
|
|
@@ -5303,7 +5987,8 @@ class ActionExecutor {
|
|
|
5303
5987
|
await (0, MOB_VerifyIfAirplaneModeOn_js_1.MOB_VerifyIfAirplaneModeOn)({
|
|
5304
5988
|
driver: this.driver,
|
|
5305
5989
|
scriptDataAppender: this.scriptDataAppender,
|
|
5306
|
-
platform: this.platform
|
|
5990
|
+
platform: this.platform,
|
|
5991
|
+
variableName: this.currentVariableName
|
|
5307
5992
|
});
|
|
5308
5993
|
}
|
|
5309
5994
|
catch (error) {
|
|
@@ -5316,7 +6001,8 @@ class ActionExecutor {
|
|
|
5316
6001
|
await (0, MOB_VerifyIfGpsOn_js_1.MOB_VerifyIfGpsOn)({
|
|
5317
6002
|
driver: this.driver,
|
|
5318
6003
|
scriptDataAppender: this.scriptDataAppender,
|
|
5319
|
-
platform: this.platform
|
|
6004
|
+
platform: this.platform,
|
|
6005
|
+
variableName: this.currentVariableName
|
|
5320
6006
|
});
|
|
5321
6007
|
}
|
|
5322
6008
|
catch (error) {
|
|
@@ -5329,7 +6015,8 @@ class ActionExecutor {
|
|
|
5329
6015
|
await (0, MOB_VerifyIfGpsOff_js_1.MOB_VerifyIfGpsOff)({
|
|
5330
6016
|
driver: this.driver,
|
|
5331
6017
|
scriptDataAppender: this.scriptDataAppender,
|
|
5332
|
-
platform: this.platform
|
|
6018
|
+
platform: this.platform,
|
|
6019
|
+
variableName: this.currentVariableName
|
|
5333
6020
|
});
|
|
5334
6021
|
}
|
|
5335
6022
|
catch (error) {
|
|
@@ -5342,7 +6029,8 @@ class ActionExecutor {
|
|
|
5342
6029
|
await (0, MOB_VerifyIfAirplaneModeOff_js_1.MOB_VerifyIfAirplaneModeOff)({
|
|
5343
6030
|
driver: this.driver,
|
|
5344
6031
|
scriptDataAppender: this.scriptDataAppender,
|
|
5345
|
-
platform: this.platform
|
|
6032
|
+
platform: this.platform,
|
|
6033
|
+
variableName: this.currentVariableName
|
|
5346
6034
|
});
|
|
5347
6035
|
}
|
|
5348
6036
|
catch (error) {
|
|
@@ -5355,7 +6043,8 @@ class ActionExecutor {
|
|
|
5355
6043
|
await (0, MOB_VerifyIfDeviceIsLocked_js_1.MOB_VerifyIfDeviceIsLocked)({
|
|
5356
6044
|
driver: this.driver,
|
|
5357
6045
|
scriptDataAppender: this.scriptDataAppender,
|
|
5358
|
-
platform: this.platform
|
|
6046
|
+
platform: this.platform,
|
|
6047
|
+
variableName: this.currentVariableName
|
|
5359
6048
|
});
|
|
5360
6049
|
}
|
|
5361
6050
|
catch (error) {
|
|
@@ -5368,7 +6057,8 @@ class ActionExecutor {
|
|
|
5368
6057
|
await (0, MOB_VerifyIfWifiOn_js_1.MOB_VerifyIfWifiOn)({
|
|
5369
6058
|
driver: this.driver,
|
|
5370
6059
|
scriptDataAppender: this.scriptDataAppender,
|
|
5371
|
-
platform: this.platform
|
|
6060
|
+
platform: this.platform,
|
|
6061
|
+
variableName: this.currentVariableName
|
|
5372
6062
|
});
|
|
5373
6063
|
}
|
|
5374
6064
|
catch (error) {
|
|
@@ -5381,7 +6071,8 @@ class ActionExecutor {
|
|
|
5381
6071
|
await (0, MOB_VerifyIfDeviceIsUnlocked_js_1.MOB_VerifyIfDeviceIsUnlocked)({
|
|
5382
6072
|
driver: this.driver,
|
|
5383
6073
|
scriptDataAppender: this.scriptDataAppender,
|
|
5384
|
-
platform: this.platform
|
|
6074
|
+
platform: this.platform,
|
|
6075
|
+
variableName: this.currentVariableName
|
|
5385
6076
|
});
|
|
5386
6077
|
}
|
|
5387
6078
|
catch (error) {
|
|
@@ -5394,7 +6085,8 @@ class ActionExecutor {
|
|
|
5394
6085
|
await (0, MOB_VerifyIfWifiOff_js_1.MOB_VerifyIfWifiOff)({
|
|
5395
6086
|
driver: this.driver,
|
|
5396
6087
|
scriptDataAppender: this.scriptDataAppender,
|
|
5397
|
-
platform: this.platform
|
|
6088
|
+
platform: this.platform,
|
|
6089
|
+
variableName: this.currentVariableName
|
|
5398
6090
|
});
|
|
5399
6091
|
}
|
|
5400
6092
|
catch (error) {
|
|
@@ -5407,7 +6099,8 @@ class ActionExecutor {
|
|
|
5407
6099
|
await (0, MOB_VerifyIfKeyboardIsShown_js_1.MOB_VerifyIfKeyboardIsShown)({
|
|
5408
6100
|
driver: this.driver,
|
|
5409
6101
|
scriptDataAppender: this.scriptDataAppender,
|
|
5410
|
-
platform: this.platform
|
|
6102
|
+
platform: this.platform,
|
|
6103
|
+
variableName: this.currentVariableName
|
|
5411
6104
|
});
|
|
5412
6105
|
}
|
|
5413
6106
|
catch (error) {
|
|
@@ -5420,7 +6113,8 @@ class ActionExecutor {
|
|
|
5420
6113
|
await (0, MOB_VerifyIfKeyboardIsHidden_js_1.MOB_VerifyIfKeyboardIsHidden)({
|
|
5421
6114
|
driver: this.driver,
|
|
5422
6115
|
scriptDataAppender: this.scriptDataAppender,
|
|
5423
|
-
platform: this.platform
|
|
6116
|
+
platform: this.platform,
|
|
6117
|
+
variableName: this.currentVariableName
|
|
5424
6118
|
});
|
|
5425
6119
|
}
|
|
5426
6120
|
catch (error) {
|
|
@@ -5434,7 +6128,8 @@ class ActionExecutor {
|
|
|
5434
6128
|
driver: this.driver,
|
|
5435
6129
|
value,
|
|
5436
6130
|
scriptDataAppender: this.scriptDataAppender,
|
|
5437
|
-
platform: this.platform
|
|
6131
|
+
platform: this.platform,
|
|
6132
|
+
variableName: this.currentVariableName
|
|
5438
6133
|
});
|
|
5439
6134
|
}
|
|
5440
6135
|
catch (error) {
|
|
@@ -5782,7 +6477,10 @@ class ActionExecutor {
|
|
|
5782
6477
|
platform: this.platform,
|
|
5783
6478
|
pageDOM,
|
|
5784
6479
|
fireflinkIndex,
|
|
5785
|
-
elementGetter: this.elementGetter
|
|
6480
|
+
elementGetter: this.elementGetter,
|
|
6481
|
+
stepIndex: this.currentStepIndex,
|
|
6482
|
+
currentStep: this.currentStepText,
|
|
6483
|
+
stepsInputData: this.stepsInputData,
|
|
5786
6484
|
});
|
|
5787
6485
|
}
|
|
5788
6486
|
catch (error) {
|
|
@@ -5970,7 +6668,7 @@ class ActionExecutor {
|
|
|
5970
6668
|
throw error;
|
|
5971
6669
|
}
|
|
5972
6670
|
}
|
|
5973
|
-
async getOtp(selector, timeFrom, waitTime, activity, otpExtractor) {
|
|
6671
|
+
async getOtp(selector, timeFrom, waitTime, activity, isTerminated, otpExtractor, returnTypeVariableName) {
|
|
5974
6672
|
try {
|
|
5975
6673
|
await (0, getOtp_js_1.GetOtpAction)({
|
|
5976
6674
|
driver: this.driver,
|
|
@@ -5979,9 +6677,30 @@ class ActionExecutor {
|
|
|
5979
6677
|
timeFrom,
|
|
5980
6678
|
waitTime,
|
|
5981
6679
|
activity,
|
|
6680
|
+
isTerminated,
|
|
5982
6681
|
scriptDataAppender: this.scriptDataAppender,
|
|
5983
6682
|
platform: this.platform,
|
|
5984
|
-
otpExtractor
|
|
6683
|
+
otpExtractor,
|
|
6684
|
+
stepIndex: this.currentStepIndex,
|
|
6685
|
+
currentStep: this.currentStepText,
|
|
6686
|
+
stepsInputData: this.stepsInputData,
|
|
6687
|
+
returnTypeVariableName: returnTypeVariableName ?? this.currentReturnTypeVariableName,
|
|
6688
|
+
});
|
|
6689
|
+
}
|
|
6690
|
+
catch (error) {
|
|
6691
|
+
logData_js_1.logger.error("Error in [ActionExecutor]", error);
|
|
6692
|
+
throw error;
|
|
6693
|
+
}
|
|
6694
|
+
}
|
|
6695
|
+
async verifyPDF(value, isDownload = true, filePath = null) {
|
|
6696
|
+
try {
|
|
6697
|
+
await (0, VerifyPDF_js_1.verifyPDF)({
|
|
6698
|
+
driver: this.driver,
|
|
6699
|
+
value,
|
|
6700
|
+
isDownload,
|
|
6701
|
+
filePath,
|
|
6702
|
+
platform: this.platform,
|
|
6703
|
+
scriptDataAppender: this.scriptDataAppender
|
|
5985
6704
|
});
|
|
5986
6705
|
}
|
|
5987
6706
|
catch (error) {
|