ff-automationv2 2.2.23 → 2.2.25
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/llmcalls/decodeApiKey.js +4 -1
- package/dist/ai/llmcalls/llmAction.js +27 -20
- package/dist/ai/llmcalls/parseLlmOputput.js +5 -1
- package/dist/ai/llmprompts/llmPromptTypes/systemPromptTypes.js +2 -1
- package/dist/ai/llmprompts/promptRegistry.js +38 -35
- package/dist/ai/llmprompts/systemPrompts/actionExtractorPrompt.js +6 -3
- package/dist/ai/llmprompts/systemPrompts/combinedActionExtractorPrompt.js +4 -1
- package/dist/ai/llmprompts/systemPrompts/combinedActionExtractorPromptMob.js +4 -1
- package/dist/ai/llmprompts/systemPrompts/errorDescriptionPrompt.js +5 -2
- package/dist/ai/llmprompts/systemPrompts/fireflinkElementIndexExtactors.js +5 -2
- package/dist/ai/llmprompts/systemPrompts/fireflinkElementIndexExtractor_Mob.js +5 -2
- package/dist/ai/llmprompts/systemPrompts/getActionExtractorPrompt.js +7 -4
- package/dist/ai/llmprompts/systemPrompts/getActionExtractorPromptMob.js +4 -1
- package/dist/ai/llmprompts/systemPrompts/mobileKeywordExtractor.js +4 -1
- package/dist/ai/llmprompts/systemPrompts/userStoryToListPrompt.js +6 -2
- package/dist/ai/llmprompts/systemPrompts/verifyActionExtractorPrompt.js +8 -3
- package/dist/ai/llmprompts/systemPrompts/verifyActionExtractorPromptMob.js +4 -1
- package/dist/ai/llmprompts/systemPrompts/visionPrompt.js +5 -1
- package/dist/ai/llmprompts/systemPrompts/visionPromptMobile.js +4 -1
- package/dist/ai/llmprompts/systemPrompts/waitActionExtractorPrompt.js +4 -1
- package/dist/ai/llmprompts/systemPrompts/waitActionExtractorPromptMob.js +4 -1
- package/dist/ai/llmprompts/userPrompts/userPrompt.js +16 -13
- package/dist/automation/actions/executor.d.ts +1 -1
- package/dist/automation/actions/executor.js +1066 -1061
- package/dist/automation/actions/interaction/alert/clickCancelOnAlertPopup.js +4 -1
- package/dist/automation/actions/interaction/alert/clickOkOnAlertPopup.js +4 -1
- package/dist/automation/actions/interaction/alert/enterDataToAlert.js +4 -1
- package/dist/automation/actions/interaction/alert/getTextPresentOnAlertPopup.js +4 -1
- package/dist/automation/actions/interaction/alert/verifyAlertPopUpMessageContainsString.js +4 -1
- package/dist/automation/actions/interaction/alert/verifyAlertPopupIsDisplayed.js +4 -1
- package/dist/automation/actions/interaction/alert/verifyTextPresentOnAlertPopup.js +4 -1
- package/dist/automation/actions/interaction/alert/waitTillAlertIsPresent.js +4 -1
- package/dist/automation/actions/interaction/clear/clear.js +5 -2
- package/dist/automation/actions/interaction/clear/clearAndEnter.js +5 -2
- package/dist/automation/actions/interaction/click/MOB_DoubleTapAtSpecifiedLocation.js +4 -1
- package/dist/automation/actions/interaction/click/click.js +5 -2
- package/dist/automation/actions/interaction/click/clickNtimes.js +5 -2
- package/dist/automation/actions/interaction/click/clickUsingJs.js +4 -1
- package/dist/automation/actions/interaction/click/doubleClick.js +5 -2
- package/dist/automation/actions/interaction/click/rightClick.js +4 -1
- package/dist/automation/actions/interaction/click/tapOnSpecifiedLocation.js +5 -1
- package/dist/automation/actions/interaction/click/waitAndClick.js +8 -5
- package/dist/automation/actions/interaction/dragAndDrop/dragAndDrop.js +5 -2
- package/dist/automation/actions/interaction/elementLessAction/MobCheckIfAppIsClosed.js +4 -1
- package/dist/automation/actions/interaction/elementLessAction/MobRunAppInBackgroundInterface.js +4 -1
- package/dist/automation/actions/interaction/elementlessActions/activateAppUsingAppPackage.js +4 -1
- package/dist/automation/actions/interaction/elementlessActions/installAPK.js +14 -8
- package/dist/automation/actions/interaction/elementlessActions/isAppInstalled.js +8 -5
- package/dist/automation/actions/interaction/elementlessActions/openAppWithApkFilePath.js +18 -12
- package/dist/automation/actions/interaction/elementlessActions/openMobileApplication.js +4 -1
- package/dist/automation/actions/interaction/elementlessActions/receiveMessageOnEmulator.js +6 -3
- package/dist/automation/actions/interaction/elementlessActions/terminateAppUsingAppPackage.js +6 -3
- package/dist/automation/actions/interaction/elementlessActions/uninstallAPK.js +9 -6
- package/dist/automation/actions/interaction/enterActions/EnterInputIntoElementFromClipBoardInterface_mob.js +7 -4
- package/dist/automation/actions/interaction/enterActions/enterInput.js +42 -6
- package/dist/automation/actions/interaction/enterActions/enterInputAndPress.js +8 -5
- package/dist/automation/actions/interaction/enterActions/enterUrl.js +4 -1
- package/dist/automation/actions/interaction/enterActions/enterusingJs.js +8 -5
- package/dist/automation/actions/interaction/enterActions/waitAndEnter.js +7 -4
- package/dist/automation/actions/interaction/find/MOB_FindElement.js +6 -3
- package/dist/automation/actions/interaction/find/findElements.js +7 -5
- package/dist/automation/actions/interaction/get/MOB_GetADBLogsForGivenAppPackage.js +5 -1
- package/dist/automation/actions/interaction/get/MOB_GetAllContexts.js +5 -1
- package/dist/automation/actions/interaction/get/MOB_GetAllWindowHandles.js +5 -1
- 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.js +5 -1
- 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 -1
- 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 +6 -2
- package/dist/automation/actions/interaction/get/MOB_GetHeightOfScreen.js +5 -1
- 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 +6 -2
- package/dist/automation/actions/interaction/get/MOB_GetWidthOfElement.js +6 -2
- package/dist/automation/actions/interaction/get/MOB_GetWidthOfScreen.js +5 -1
- package/dist/automation/actions/interaction/get/browserWindowGetPosition.js +5 -1
- package/dist/automation/actions/interaction/get/getAllBrokenImages.js +5 -1
- package/dist/automation/actions/interaction/get/getAllBrokenLinkCount.js +5 -1
- package/dist/automation/actions/interaction/get/getAllBrokenLinks.js +5 -1
- package/dist/automation/actions/interaction/get/getAllConsoleErrors.js +5 -1
- package/dist/automation/actions/interaction/get/getAllConsoleInformation.js +5 -1
- package/dist/automation/actions/interaction/get/getAllConsoleLogs.js +5 -1
- package/dist/automation/actions/interaction/get/getAllConsoleWarnings.js +5 -1
- package/dist/automation/actions/interaction/get/getAllCookieNames.js +5 -1
- package/dist/automation/actions/interaction/get/getAllCookieValues.js +5 -1
- package/dist/automation/actions/interaction/get/getAllSelectedOptions.js +5 -1
- package/dist/automation/actions/interaction/get/getAllTheOptionsFromListBoxAsText.js +5 -1
- package/dist/automation/actions/interaction/get/getAllTheOptionsFromListBoxAsTextInSortedOrder.js +5 -1
- package/dist/automation/actions/interaction/get/getAllTheSelectedOptionsFromListBoxAsText.js +5 -1
- package/dist/automation/actions/interaction/get/getAllWindowHandles.js +5 -1
- package/dist/automation/actions/interaction/get/getAttribute.js +8 -5
- package/dist/automation/actions/interaction/get/getAudioCurrentPlaybackRate.js +5 -1
- package/dist/automation/actions/interaction/get/getAudioCurrentSeekTime.js +5 -1
- package/dist/automation/actions/interaction/get/getAudioCurrentVolume.js +5 -1
- package/dist/automation/actions/interaction/get/getAudioDecodedByte.js +5 -1
- package/dist/automation/actions/interaction/get/getAudioDefaultPlaybackRate.js +5 -1
- package/dist/automation/actions/interaction/get/getAudioDimension.js +5 -1
- package/dist/automation/actions/interaction/get/getAudioHeight.js +5 -1
- package/dist/automation/actions/interaction/get/getAudioMediaLength.js +5 -1
- package/dist/automation/actions/interaction/get/getAudioMediaSource.js +5 -1
- package/dist/automation/actions/interaction/get/getAudioWidth.js +5 -1
- package/dist/automation/actions/interaction/get/getBestPracticesScore.js +5 -1
- package/dist/automation/actions/interaction/get/getBrowserCount.js +5 -1
- package/dist/automation/actions/interaction/get/getBrowserVersion.js +5 -1
- package/dist/automation/actions/interaction/get/getCapabilityNames.js +5 -1
- package/dist/automation/actions/interaction/get/getClipBoardText.js +5 -1
- package/dist/automation/actions/interaction/get/getCollectiveApiResponseTime.js +5 -1
- package/dist/automation/actions/interaction/get/getCollectiveApiStatusCode.js +5 -1
- package/dist/automation/actions/interaction/get/getCssValue.js +5 -1
- package/dist/automation/actions/interaction/get/getCurrentDayOfTheWeek.js +5 -1
- package/dist/automation/actions/interaction/get/getCurrentSecondsFromCurrentSystemTime.js +5 -1
- package/dist/automation/actions/interaction/get/getCurrentSystemDate.js +5 -1
- 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 +5 -1
- package/dist/automation/actions/interaction/get/getDataFromApiRequestHeaderForJsonPath.js +5 -1
- package/dist/automation/actions/interaction/get/getDataFromApiResponseForJsonPath.js +5 -1
- package/dist/automation/actions/interaction/get/getDateWithGivenFormat.js +5 -1
- package/dist/automation/actions/interaction/get/getDriverInstance.js +5 -1
- package/dist/automation/actions/interaction/get/getFirstContentfulPaint.js +5 -1
- package/dist/automation/actions/interaction/get/getFirstSelectedOption.js +5 -1
- package/dist/automation/actions/interaction/get/getFullPaintTime.js +5 -1
- package/dist/automation/actions/interaction/get/getHTMLCodeOfPage.js +5 -1
- package/dist/automation/actions/interaction/get/getHeightOfBrowserWindow.js +5 -1
- package/dist/automation/actions/interaction/get/getHeightOfWebElement.js +5 -1
- package/dist/automation/actions/interaction/get/getHourFromCurrentSystemTime.js +5 -1
- package/dist/automation/actions/interaction/get/getImplicitTimeOut.js +5 -1
- package/dist/automation/actions/interaction/get/getLargestContentfulPaint.js +5 -1
- package/dist/automation/actions/interaction/get/getListBoxSize.js +6 -3
- package/dist/automation/actions/interaction/get/getListOfElementsFromLocatorTypeLocatorValue.js +8 -4
- package/dist/automation/actions/interaction/get/getLocation.js +9 -5
- package/dist/automation/actions/interaction/get/getMinuteFromCurrentSystemTime.js +5 -1
- package/dist/automation/actions/interaction/get/getNetworkRouteTime.js +5 -1
- package/dist/automation/actions/interaction/get/getNumberOfBrokenImages.js +5 -1
- package/dist/automation/actions/interaction/get/getNumberOfLinksPresentInCurrentPage.js +5 -1
- package/dist/automation/actions/interaction/get/getNumberOfWorkingLinksFromCurrentPage.js +5 -1
- package/dist/automation/actions/interaction/get/getOptions.js +5 -1
- package/dist/automation/actions/interaction/get/getPageTitle.js +5 -1
- package/dist/automation/actions/interaction/get/getPerformanceMetrics.js +5 -1
- package/dist/automation/actions/interaction/get/getPwaScore.js +5 -1
- package/dist/automation/actions/interaction/get/getRect.js +10 -6
- package/dist/automation/actions/interaction/get/getScreenshot.js +5 -1
- package/dist/automation/actions/interaction/get/getScreenshotAs.js +5 -1
- package/dist/automation/actions/interaction/get/getSeoScore.js +5 -1
- package/dist/automation/actions/interaction/get/getSingleApiRequestPayload.js +5 -1
- package/dist/automation/actions/interaction/get/getSingleApiResponse.js +5 -1
- package/dist/automation/actions/interaction/get/getSingleApiResponseTime.js +5 -1
- package/dist/automation/actions/interaction/get/getSingleApiStatusCode.js +5 -1
- package/dist/automation/actions/interaction/get/getSize.js +8 -4
- package/dist/automation/actions/interaction/get/getSizeOfBrowserWindow.js +8 -1
- package/dist/automation/actions/interaction/get/getStringDataFromLocalFile.js +11 -4
- package/dist/automation/actions/interaction/get/getSystemProperty.js +14 -7
- package/dist/automation/actions/interaction/get/getTagName.js +5 -2
- package/dist/automation/actions/interaction/get/getText.js +9 -5
- package/dist/automation/actions/interaction/get/getTheFirstSelectedOptionFromListBoxAsText.js +5 -1
- package/dist/automation/actions/interaction/get/getTotalNumberOfCookies.js +5 -1
- package/dist/automation/actions/interaction/get/getTunnelIdentifier.js +5 -1
- package/dist/automation/actions/interaction/get/getURLPresentInAddressBar.js +5 -1
- package/dist/automation/actions/interaction/get/getUserHomeDirectory.js +5 -1
- package/dist/automation/actions/interaction/get/getValueByCookieName.js +5 -1
- package/dist/automation/actions/interaction/get/getValueFromLocalStorage.js +5 -1
- package/dist/automation/actions/interaction/get/getValueOfSystemVariable.js +5 -1
- package/dist/automation/actions/interaction/get/getVideoCurrentPlaybackRate.js +5 -1
- package/dist/automation/actions/interaction/get/getVideoCurrentSeekTime.js +5 -1
- package/dist/automation/actions/interaction/get/getVideoCurrentVolume.js +5 -1
- package/dist/automation/actions/interaction/get/getVideoDecodedByte.js +5 -1
- package/dist/automation/actions/interaction/get/getVideoDefaultPlaybackRate.js +5 -1
- package/dist/automation/actions/interaction/get/getVideoDimension.js +5 -1
- package/dist/automation/actions/interaction/get/getVideoHeight.js +5 -1
- package/dist/automation/actions/interaction/get/getVideoMediaLength.js +5 -1
- package/dist/automation/actions/interaction/get/getVideoMediaSource.js +5 -1
- package/dist/automation/actions/interaction/get/getVideoWidth.js +5 -1
- package/dist/automation/actions/interaction/get/getWidthOfBrowser.js +5 -1
- package/dist/automation/actions/interaction/get/getWidthOfWebElement.js +7 -1
- package/dist/automation/actions/interaction/get/getWorkingLinksFromCurrentPage.js +5 -1
- package/dist/automation/actions/interaction/get/getWrappedElement.js +5 -1
- package/dist/automation/actions/interaction/get/getWrappedOptionFromListBoxAsText.js +6 -3
- package/dist/automation/actions/interaction/get/getXLocationOfBrowserWindow.js +7 -1
- package/dist/automation/actions/interaction/get/getXLocationOfWebElement.js +9 -5
- package/dist/automation/actions/interaction/get/getYLocationOfBrowserWindow.js +5 -1
- package/dist/automation/actions/interaction/get/getYLocationOfWebElement.js +8 -4
- package/dist/automation/actions/interaction/iframe/switchToDefaultContent.js +4 -1
- package/dist/automation/actions/interaction/inputlessActions/AirplaneModeSwitchOff.js +9 -6
- package/dist/automation/actions/interaction/inputlessActions/AirplaneModeSwitchOn.js +9 -6
- package/dist/automation/actions/interaction/inputlessActions/Break.js +4 -1
- package/dist/automation/actions/interaction/inputlessActions/Continue.js +4 -1
- package/dist/automation/actions/interaction/inputlessActions/GpsSwitchOff.js +4 -1
- package/dist/automation/actions/interaction/inputlessActions/GpsSwitchOn.js +4 -1
- package/dist/automation/actions/interaction/inputlessActions/HideKeyboard.js +4 -1
- package/dist/automation/actions/interaction/inputlessActions/LockDevice.js +4 -1
- package/dist/automation/actions/interaction/inputlessActions/OpenChromeBrowser.js +4 -1
- package/dist/automation/actions/interaction/inputlessActions/OpenNotification.js +4 -1
- package/dist/automation/actions/interaction/inputlessActions/ResetApp.js +4 -1
- package/dist/automation/actions/interaction/inputlessActions/RestartCurrentDevice.js +9 -6
- package/dist/automation/actions/interaction/inputlessActions/SetDeviceOrientationAsLandscape.js +4 -1
- package/dist/automation/actions/interaction/inputlessActions/SetDeviceOrientationAsPortrait.js +4 -1
- package/dist/automation/actions/interaction/inputlessActions/SetEmulatorPowerStateOff.js +8 -5
- package/dist/automation/actions/interaction/inputlessActions/SetEmulatorPowerStateOn.js +8 -5
- package/dist/automation/actions/interaction/inputlessActions/WifiSwitchOff.js +4 -1
- package/dist/automation/actions/interaction/inputlessActions/WifiSwitchOn.js +4 -1
- package/dist/automation/actions/interaction/maximize/maximize.js +6 -3
- package/dist/automation/actions/interaction/maximize/minimize.js +4 -1
- package/dist/automation/actions/interaction/navigation/goBack.js +4 -1
- package/dist/automation/actions/interaction/navigation/navigate.js +4 -1
- package/dist/automation/actions/interaction/navigation/refresh.js +4 -1
- package/dist/automation/actions/interaction/pinch/PinchInByPercentMob.js +7 -4
- package/dist/automation/actions/interaction/pinch/PinchOutByPercentMob.js +5 -4
- package/dist/automation/actions/interaction/press/longPress.js +6 -2
- package/dist/automation/actions/interaction/press/mobPressBackKey.js +4 -1
- package/dist/automation/actions/interaction/press/mobPressBackSpaceKey.js +4 -1
- package/dist/automation/actions/interaction/press/mobPressSpaceKey.js +4 -1
- package/dist/automation/actions/interaction/press/pressAnyKey.js +4 -1
- package/dist/automation/actions/interaction/press/pressAnyKeyNTimes.js +4 -1
- package/dist/automation/actions/interaction/press/pressEnterKey.js +4 -1
- package/dist/automation/actions/interaction/press/pressHomeKey.js +8 -5
- package/dist/automation/actions/interaction/scroll/scrollHorizontallyTillElementIsVisible.js +4 -1
- package/dist/automation/actions/interaction/scroll/scrollPageToSpecificLocation.js +5 -1
- package/dist/automation/actions/interaction/scroll/scrollToElement.js +4 -1
- package/dist/automation/actions/interaction/scroll/scrollVerticallyTillElementIsVisible.js +4 -1
- package/dist/automation/actions/interaction/set/MOB_SetContext.js +5 -1
- package/dist/automation/actions/interaction/set/MOB_SetEmulatorPowerPercentage.js +5 -1
- package/dist/automation/actions/interaction/set/setClipBoardText.js +4 -1
- package/dist/automation/actions/interaction/shadowDom/shadowDomClick.js +7 -4
- package/dist/automation/actions/interaction/shadowDom/shadowDomEnter.js +7 -4
- package/dist/automation/actions/interaction/shadowDom/shadowDomGetText.js +7 -4
- package/dist/automation/actions/interaction/shadowDom/shadowDomUpload.js +7 -4
- package/dist/automation/actions/interaction/shadowDom/shadowDomVerifyPartialText.js +7 -4
- package/dist/automation/actions/interaction/shadowDom/shadowDomVerifyText.js +7 -4
- package/dist/automation/actions/interaction/swipe/swipeDirectionNTimes.js +6 -3
- package/dist/automation/actions/interaction/swipe/swipeDownToElement.js +13 -13
- package/dist/automation/actions/interaction/swipe/swipeLeftToElement.js +13 -13
- package/dist/automation/actions/interaction/swipe/swipeRightToElement.js +13 -13
- package/dist/automation/actions/interaction/swipe/swipeUpToElement.js +16 -16
- package/dist/automation/actions/interaction/swipe/swipeUpToElementForMWeb.js +12 -9
- package/dist/automation/actions/interaction/swipe/swipeUsingReferenceElement.js +79 -81
- package/dist/automation/actions/interaction/switch/switchToNewTabBasedOnTitle.js +4 -1
- package/dist/automation/actions/interaction/switch/switchToNewWindowBasedOnTitle.js +4 -1
- package/dist/automation/actions/interaction/switch/switchToParentWindow.js +4 -1
- package/dist/automation/actions/interaction/switch/switchToTabBasedOnUrl.js +4 -1
- package/dist/automation/actions/interaction/switch/switchToWindowBasedOnURL.js +4 -1
- package/dist/automation/actions/interaction/switch/switchToWindowIfTitleContainsString.js +4 -1
- package/dist/automation/actions/interaction/switch/switchToWindowIfUrlContainsString.js +4 -1
- package/dist/automation/actions/interaction/upload/uploadfile.js +6 -3
- package/dist/automation/actions/interaction/verify/MOB_VerifyBatteryLevel.js +5 -1
- package/dist/automation/actions/interaction/verify/MOB_VerifyIfAirplaneModeOff.js +5 -1
- package/dist/automation/actions/interaction/verify/MOB_VerifyIfAirplaneModeOn.js +5 -1
- package/dist/automation/actions/interaction/verify/MOB_VerifyIfAppIsClosed.js +5 -1
- package/dist/automation/actions/interaction/verify/MOB_VerifyIfDeviceIsLocked.js +5 -1
- package/dist/automation/actions/interaction/verify/MOB_VerifyIfDeviceIsUnlocked.js +5 -1
- package/dist/automation/actions/interaction/verify/MOB_VerifyIfGpsOff.js +5 -1
- package/dist/automation/actions/interaction/verify/MOB_VerifyIfGpsOn.js +5 -1
- package/dist/automation/actions/interaction/verify/MOB_VerifyIfKeyboardIsHidden.js +5 -1
- package/dist/automation/actions/interaction/verify/MOB_VerifyIfKeyboardIsShown.js +5 -1
- package/dist/automation/actions/interaction/verify/MOB_VerifyIfWifiOff.js +5 -1
- package/dist/automation/actions/interaction/verify/MOB_VerifyIfWifiOn.js +5 -1
- package/dist/automation/actions/interaction/verify/VerifyAccessibilityScore.js +4 -1
- package/dist/automation/actions/interaction/verify/VerifyAllBrokenImages.js +7 -4
- package/dist/automation/actions/interaction/verify/VerifyAllBrowserWindowsClosed.js +7 -4
- package/dist/automation/actions/interaction/verify/VerifyAllOptionsAreDeSelected.js +9 -6
- package/dist/automation/actions/interaction/verify/VerifyAllOptionsAreSelected.js +8 -5
- package/dist/automation/actions/interaction/verify/VerifyAttributeValue.js +7 -4
- package/dist/automation/actions/interaction/verify/VerifyBestPracticesScore.js +4 -1
- package/dist/automation/actions/interaction/verify/VerifyBrowserHtmlCodeContainsString.js +6 -3
- package/dist/automation/actions/interaction/verify/VerifyBrowserWindowHeight.js +6 -3
- package/dist/automation/actions/interaction/verify/VerifyBrowserWindowTitleContainsString.js +9 -6
- package/dist/automation/actions/interaction/verify/VerifyBrowserWindowTitleIsString.js +8 -5
- package/dist/automation/actions/interaction/verify/VerifyBrowserWindowUrlContainsExpectedUrl.js +8 -5
- package/dist/automation/actions/interaction/verify/VerifyBrowserWindowUrlIsString.js +8 -5
- package/dist/automation/actions/interaction/verify/VerifyBrowserWindowWidth.js +6 -3
- package/dist/automation/actions/interaction/verify/VerifyBrowserWindowXLocation.js +6 -3
- package/dist/automation/actions/interaction/verify/VerifyBrowserWindowYLocation.js +6 -3
- package/dist/automation/actions/interaction/verify/VerifyCheckBoxIsNotSelected.js +8 -4
- package/dist/automation/actions/interaction/verify/VerifyCheckBoxIsSelected.js +6 -3
- package/dist/automation/actions/interaction/verify/VerifyCssAttributeValue.js +6 -3
- package/dist/automation/actions/interaction/verify/VerifyElementIsClickable.js +7 -4
- package/dist/automation/actions/interaction/verify/VerifyElementIsDisabled.js +10 -7
- package/dist/automation/actions/interaction/verify/VerifyElementIsDisplayed.js +9 -6
- package/dist/automation/actions/interaction/verify/VerifyElementIsEnabled.js +10 -7
- package/dist/automation/actions/interaction/verify/VerifyElementIsNotDisplayed.js +7 -4
- package/dist/automation/actions/interaction/verify/VerifyElementIsSelected.js +10 -7
- package/dist/automation/actions/interaction/verify/VerifyElementNotContainsText.js +5 -2
- package/dist/automation/actions/interaction/verify/VerifyHeightOfWebElement.js +10 -7
- package/dist/automation/actions/interaction/verify/VerifyHexCodeForGivenXYCoordinates.js +4 -1
- package/dist/automation/actions/interaction/verify/VerifyIfAllCookiesAreDeleted.js +7 -4
- package/dist/automation/actions/interaction/verify/VerifyIfAudioEnded.js +6 -3
- package/dist/automation/actions/interaction/verify/VerifyIfAudioIsMuted.js +6 -3
- package/dist/automation/actions/interaction/verify/VerifyIfAudioIsPaused.js +6 -3
- package/dist/automation/actions/interaction/verify/VerifyIfAudioIsPlaying.js +7 -4
- package/dist/automation/actions/interaction/verify/VerifyIfBrowserWindowIsClosed.js +7 -4
- package/dist/automation/actions/interaction/verify/VerifyIfCookieNameIsAdded.js +7 -4
- package/dist/automation/actions/interaction/verify/VerifyIfCookieNameIsDeleted.js +6 -3
- package/dist/automation/actions/interaction/verify/VerifyIfCookieObjectIsPresent.js +7 -4
- package/dist/automation/actions/interaction/verify/VerifyIfGivenOptionIsDuplicate.js +6 -3
- package/dist/automation/actions/interaction/verify/VerifyIfImageIsBroken.js +7 -4
- package/dist/automation/actions/interaction/verify/VerifyIfLinkIsBroken.js +7 -4
- package/dist/automation/actions/interaction/verify/VerifyIfLinkIsWorking.js +6 -3
- package/dist/automation/actions/interaction/verify/VerifyIfLinksAreBroken.js +7 -4
- package/dist/automation/actions/interaction/verify/VerifyIfLinksAreWorking.js +6 -3
- package/dist/automation/actions/interaction/verify/VerifyIfOptionWithIndexIsDeselectedInElement.js +8 -5
- package/dist/automation/actions/interaction/verify/VerifyIfOptionWithIndexIsSelectedInListBox.js +10 -7
- package/dist/automation/actions/interaction/verify/VerifyIfOptionWithTextIsDeselected.js +4 -1
- package/dist/automation/actions/interaction/verify/VerifyIfOptionWithValueIsDeselected.js +6 -3
- package/dist/automation/actions/interaction/verify/VerifyIfOptionWithValueIsSelected.js +6 -3
- package/dist/automation/actions/interaction/verify/VerifyIfOptionWithVisibleTextIsSelected.js +4 -1
- package/dist/automation/actions/interaction/verify/VerifyIfSpecifiedOptionIsSelected.js +6 -3
- package/dist/automation/actions/interaction/verify/VerifyIfStatusCodeOfALinkIsStatusCode.js +4 -1
- package/dist/automation/actions/interaction/verify/VerifyIfStatusCodesOfLinks.js +4 -1
- package/dist/automation/actions/interaction/verify/VerifyIfVideoEnded.js +6 -3
- package/dist/automation/actions/interaction/verify/VerifyIfVideoIsMuted.js +6 -3
- package/dist/automation/actions/interaction/verify/VerifyIfVideoIsPaused.js +6 -3
- package/dist/automation/actions/interaction/verify/VerifyIfVideoIsPlaying.js +6 -3
- package/dist/automation/actions/interaction/verify/VerifyIfVideoPlayingInMute.js +6 -3
- package/dist/automation/actions/interaction/verify/VerifyIfVideoPlayingInUnmute.js +6 -3
- package/dist/automation/actions/interaction/verify/VerifyIfXAndYCoordinateOfElement.js +9 -6
- package/dist/automation/actions/interaction/verify/VerifyLinkNavigatesToTitle.js +4 -1
- package/dist/automation/actions/interaction/verify/VerifyListBoxOptionsAreSorted.js +8 -5
- package/dist/automation/actions/interaction/verify/VerifyNavigateURL.js +6 -3
- package/dist/automation/actions/interaction/verify/VerifyNumberOfElementsByTagName.js +7 -4
- package/dist/automation/actions/interaction/verify/VerifyNumberOfElementsByXpath.js +7 -4
- package/dist/automation/actions/interaction/verify/VerifyPartialAttributeValue.js +7 -4
- package/dist/automation/actions/interaction/verify/VerifyPartialTitleOfCurrentPage.js +6 -3
- package/dist/automation/actions/interaction/verify/VerifyPerformanceScore.js +4 -1
- package/dist/automation/actions/interaction/verify/VerifyPwaScore.js +4 -1
- package/dist/automation/actions/interaction/verify/VerifyRadioButtonIsNotSelected.js +6 -3
- package/dist/automation/actions/interaction/verify/VerifyRadioButtonIsSelected.js +6 -3
- package/dist/automation/actions/interaction/verify/VerifySeoScore.js +4 -1
- package/dist/automation/actions/interaction/verify/VerifyTagName.js +6 -3
- package/dist/automation/actions/interaction/verify/VerifyThatSpecifiedOptionIsNotSelected.js +6 -3
- package/dist/automation/actions/interaction/verify/VerifyTitleInAllPage.js +6 -3
- package/dist/automation/actions/interaction/verify/VerifyTitleOfCurrentPage.js +6 -3
- package/dist/automation/actions/interaction/verify/VerifyValueOfElementContainsString.js +6 -3
- package/dist/automation/actions/interaction/verify/VerifyValueOfElementIsCleared.js +6 -3
- package/dist/automation/actions/interaction/verify/VerifyValueOfElementIsString.js +6 -3
- package/dist/automation/actions/interaction/verify/VerifyWidthOfElement.js +10 -7
- package/dist/automation/actions/interaction/verify/VerifyXLocationOfElement.js +10 -7
- package/dist/automation/actions/interaction/verify/VerifyYLocationOfElement.js +10 -7
- package/dist/automation/actions/interaction/verify/checkIfElementIsDisplayed.js +7 -4
- package/dist/automation/actions/interaction/verify/verifypartialtext.js +9 -6
- package/dist/automation/actions/interaction/verify/verifytext.js +14 -11
- package/dist/automation/actions/interaction/wait/MOB_WaitTillAllElementsAreInvisible.ts.js +5 -1
- package/dist/automation/actions/interaction/wait/MOB_WaitTillAttributeOfElementContainsString.js +6 -2
- package/dist/automation/actions/interaction/wait/MOB_WaitTillElementIsEnabled.js +6 -2
- package/dist/automation/actions/interaction/wait/MOB_WaitTillElementIsInvisible.js +6 -2
- package/dist/automation/actions/interaction/wait/MOB_WaitTillElementIsSelected.js +6 -2
- package/dist/automation/actions/interaction/wait/MOB_WaitTillElementIsVisible.js +6 -2
- package/dist/automation/actions/interaction/wait/MOB_WaitTillStalenessOfElement.js +6 -2
- package/dist/automation/actions/interaction/wait/wait.js +4 -1
- package/dist/automation/actions/interaction/wait/waitTillAttributeOfElementIsString.js +4 -1
- package/dist/automation/actions/interaction/wait/waitTillElementContainsText.js +4 -1
- package/dist/automation/actions/interaction/wait/waitTillElementHasText.js +4 -1
- package/dist/automation/actions/interaction/wait/waitTillElementIsClickable.js +4 -1
- package/dist/automation/actions/interaction/wait/waitTillPresenceOfAllElements.js +6 -3
- package/dist/automation/actions/interaction/wait/waitTillPresenceOfElement.js +4 -1
- package/dist/automation/actions/interface/IframeInterface.js +2 -1
- package/dist/automation/actions/interface/InputlessActionnterface.js +2 -1
- package/dist/automation/actions/interface/alertActionInterface.js +2 -1
- package/dist/automation/actions/interface/clearActionInterface.js +2 -1
- package/dist/automation/actions/interface/clickActionInterface.js +2 -1
- package/dist/automation/actions/interface/dragAndDropToElementInterface.js +2 -1
- package/dist/automation/actions/interface/elelementLessActionInterface.js +2 -1
- package/dist/automation/actions/interface/elementlessInterface.js +2 -1
- package/dist/automation/actions/interface/findActionInterface.js +2 -1
- package/dist/automation/actions/interface/getActionInterface.js +2 -1
- package/dist/automation/actions/interface/interactionActionInterface.js +2 -1
- package/dist/automation/actions/interface/maximizeAndMinimizeInterface.js +2 -1
- package/dist/automation/actions/interface/navigationActionInterface.js +2 -1
- package/dist/automation/actions/interface/pinchActionInterface.js +2 -1
- package/dist/automation/actions/interface/pressActionInterface.js +2 -1
- package/dist/automation/actions/interface/scrollActionInterface.js +2 -1
- package/dist/automation/actions/interface/setActionInterface.js +2 -1
- package/dist/automation/actions/interface/shadowDomInterface.js +2 -1
- package/dist/automation/actions/interface/swipeActionInterface.js +2 -1
- package/dist/automation/actions/interface/switchingActionInterface.js +2 -1
- package/dist/automation/actions/interface/uploadFile.js +2 -1
- package/dist/automation/actions/interface/verifyActionInterface.d.ts +1 -0
- package/dist/automation/actions/interface/verifyActionInterface.js +2 -1
- package/dist/automation/actions/interface/waitActionInterface.js +2 -1
- package/dist/automation/browserSession/initiateBrowserSession.js +11 -7
- package/dist/automation/cloudSession/initiateCloudSession.js +11 -7
- package/dist/automation/mobileSession/initiateMobileSession.d.ts +2 -1
- package/dist/automation/mobileSession/initiateMobileSession.js +16 -11
- package/dist/core/constants/allAction.js +5 -1
- package/dist/core/constants/defaultValues.js +4 -1
- package/dist/core/constants/supportedActions.js +34 -4
- package/dist/core/interfaces/StableDomInterface.js +2 -1
- package/dist/core/interfaces/actionInterface.d.ts +1 -1
- package/dist/core/interfaces/actionInterface.js +2 -1
- package/dist/core/interfaces/automationRunnerInterface.js +2 -1
- package/dist/core/interfaces/browserCapabilitiesInterface.js +4 -1
- package/dist/core/interfaces/browserConfigurationInterface.js +2 -1
- package/dist/core/interfaces/cloudConfigInterface.js +2 -1
- package/dist/core/interfaces/domAnalysisInterface.js +2 -1
- package/dist/core/interfaces/errorInfoInterface.js +2 -1
- package/dist/core/interfaces/executionDetails.d.ts +1 -0
- package/dist/core/interfaces/executionDetails.js +2 -1
- package/dist/core/interfaces/fireflinkScriptPayloadInterface.js +2 -1
- package/dist/core/interfaces/llmConfigurationInterface.d.ts +1 -1
- package/dist/core/interfaces/llmConfigurationInterface.js +2 -1
- package/dist/core/interfaces/llmResponseInterface.js +2 -1
- package/dist/core/interfaces/promptInterface.js +3 -1
- package/dist/core/interfaces/scriptGenrationDataInterface.js +2 -1
- package/dist/core/interfaces/simplifyAndFlattenInterface.js +2 -1
- package/dist/core/interfaces/toolsInterface.js +2 -1
- package/dist/core/main/actionHandlerFactory.js +19 -13
- package/dist/core/main/executionContext.js +15 -11
- package/dist/core/main/runAutomationScript.js +130 -126
- package/dist/core/main/stepProcessor.js +7 -3
- package/dist/core/types/browserType.js +4 -1
- package/dist/core/types/cloudServerPortType.js +4 -1
- package/dist/core/types/cloudprotocolType.js +2 -1
- package/dist/core/types/llmResponseType.js +2 -1
- package/dist/core/types/promptMap.js +2 -1
- package/dist/core/types/promptType.js +5 -2
- package/dist/core/types/scriptTypesType.js +2 -1
- package/dist/core/types/visionllmInputType.js +2 -1
- package/dist/domAnalysis/getRelaventElements.js +14 -10
- package/dist/domAnalysis/relativeElementsFromDom.js +5 -1
- package/dist/domAnalysis/searchBest.js +8 -4
- package/dist/domAnalysis/simplifyAndFlatten.js +41 -4
- package/dist/fireflinkData/fireflinkLocators/elementsFromHTML.js +13 -10
- package/dist/fireflinkData/fireflinkLocators/getListOfLocators.js +9 -5
- package/dist/fireflinkData/fireflinkLocators/typeList.js +4 -1
- package/dist/fireflinkData/fireflinkScript/scriptGenrationData.js +5 -1
- package/dist/imageAnalysisMobile/annotatedScreenshotMobile.js +11 -8
- package/dist/imageAnalysisMobile/annotatedScreenshotMobileInterface.js +2 -1
- package/dist/imageAnalysisWeb/annotateScreenshot.js +7 -4
- package/dist/imageAnalysisWeb/generateAnnotatedScreenshots.js +8 -5
- package/dist/imageAnalysisWeb/screenshotInterface.js +2 -1
- package/dist/index.js +5 -2
- package/dist/llmConfig/llmConfiguration.d.ts +1 -2
- package/dist/llmConfig/llmConfiguration.js +20 -14
- package/dist/service/api/fireflinkApi.service.js +10 -3
- package/dist/service/fireflink.service.js +10 -6
- package/dist/service/kafka/fireflinkKafka.service.js +12 -8
- package/dist/tests/multiBrowser.d.ts +1 -0
- package/dist/tests/multiBrowser.js +34 -0
- package/dist/tests/poc.js +21 -16
- package/dist/tests/test1.d.ts +1 -7
- package/dist/tests/test1.js +29 -11
- package/dist/tests/test12.d.ts +0 -1
- package/dist/tests/test12.js +74 -68
- package/dist/tests/test3.js +4 -2
- package/dist/tests/testkaf.d.ts +1 -0
- package/dist/tests/testkaf.js +56 -0
- package/dist/tests/tests.data.js +4 -1
- package/dist/tests/testwe.d.ts +1 -0
- package/dist/tests/testwe.js +24 -0
- package/dist/utils/DomExtraction/jsForAttributeInjection.d.ts +1 -1
- package/dist/utils/DomExtraction/jsForAttributeInjection.js +21 -13
- package/dist/utils/InstancesDetails/getInstancesInfo.js +6 -2
- package/dist/utils/alertPopup/isAlertPresent.js +5 -1
- package/dist/utils/alertPopup/isAlertPresentInterface.js +2 -1
- package/dist/utils/browserCap/capability.js +4 -1
- package/dist/utils/cloudConfig/cloudPath.js +4 -1
- package/dist/utils/helpers/enterActionHelper.js +23 -15
- package/dist/utils/helpers/imageUtils.js +4 -1
- package/dist/utils/helpers/sameActionsHelper.js +4 -1
- package/dist/utils/helpers/xpathcreation.js +11 -5
- package/dist/utils/iframesExtraction/findElementUsingFF.js +7 -3
- package/dist/utils/iframesExtraction/iframeInterface.js +2 -1
- package/dist/utils/iframesExtraction/switchToIframeByMeta.js +4 -1
- package/dist/utils/javascript/jsFindElement.js +4 -1
- package/dist/utils/javascript/jsForShadowRoot.js +9 -6
- package/dist/utils/javascript/jsForToaster.js +4 -1
- package/dist/utils/javascript/jsForVision.js +5 -2
- package/dist/utils/logger/logData.js +28 -21
- package/dist/utils/newTab/newTabTracker.js +4 -1
- package/dist/utils/swipe/domSearchHelper.d.ts +1 -1
- package/dist/utils/swipe/domSearchHelper.js +51 -24
- package/dist/utils/swipe/swipeMovement.js +4 -1
- package/package.json +10 -8
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MOB_GetWidthOfScreen = void 0;
|
|
4
|
+
const MOB_GetWidthOfScreen = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
const size = await args.driver.getWindowSize();
|
|
4
7
|
const _width = size.width;
|
|
@@ -15,3 +18,4 @@ export const MOB_GetWidthOfScreen = async (args) => {
|
|
|
15
18
|
throw new Error("MOB_GetWidthOfScreen action failed", { cause: error });
|
|
16
19
|
}
|
|
17
20
|
};
|
|
21
|
+
exports.MOB_GetWidthOfScreen = MOB_GetWidthOfScreen;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.browserWindowGetPosition = void 0;
|
|
4
|
+
const browserWindowGetPosition = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
args.scriptDataAppender.add(async () => ({
|
|
4
7
|
nlpName: "BrowserWindowGetPosition",
|
|
@@ -11,3 +14,4 @@ export const browserWindowGetPosition = async (args) => {
|
|
|
11
14
|
throw new Error("BrowserWindowGetPosition action failed", { cause: error });
|
|
12
15
|
}
|
|
13
16
|
};
|
|
17
|
+
exports.browserWindowGetPosition = browserWindowGetPosition;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getAllBrokenImages = void 0;
|
|
4
|
+
const getAllBrokenImages = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
args.scriptDataAppender.add(async () => ({
|
|
4
7
|
nlpName: "GetAllBrokenImages",
|
|
@@ -11,3 +14,4 @@ export const getAllBrokenImages = async (args) => {
|
|
|
11
14
|
throw new Error("GetAllBrokenImages action failed", { cause: error });
|
|
12
15
|
}
|
|
13
16
|
};
|
|
17
|
+
exports.getAllBrokenImages = getAllBrokenImages;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getAllBrokenLinkCount = void 0;
|
|
4
|
+
const getAllBrokenLinkCount = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
args.scriptDataAppender.add(async () => ({
|
|
4
7
|
nlpName: "GetAllBrokenLinkCount",
|
|
@@ -11,3 +14,4 @@ export const getAllBrokenLinkCount = async (args) => {
|
|
|
11
14
|
throw new Error("GetAllBrokenLinkCount action failed", { cause: error });
|
|
12
15
|
}
|
|
13
16
|
};
|
|
17
|
+
exports.getAllBrokenLinkCount = getAllBrokenLinkCount;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getAllBrokenLinks = void 0;
|
|
4
|
+
const getAllBrokenLinks = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
args.scriptDataAppender.add(async () => ({
|
|
4
7
|
nlpName: "GetAllBrokenLinks",
|
|
@@ -11,3 +14,4 @@ export const getAllBrokenLinks = async (args) => {
|
|
|
11
14
|
throw new Error("GetAllBrokenLinks action failed", { cause: error });
|
|
12
15
|
}
|
|
13
16
|
};
|
|
17
|
+
exports.getAllBrokenLinks = getAllBrokenLinks;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getAllConsoleErrors = void 0;
|
|
4
|
+
const getAllConsoleErrors = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
args.scriptDataAppender.add(async () => ({
|
|
4
7
|
nlpName: "GetAllConsoleErrors",
|
|
@@ -11,3 +14,4 @@ export const getAllConsoleErrors = async (args) => {
|
|
|
11
14
|
throw new Error("GetAllConsoleErrors action failed", { cause: error });
|
|
12
15
|
}
|
|
13
16
|
};
|
|
17
|
+
exports.getAllConsoleErrors = getAllConsoleErrors;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getAllConsoleInformation = void 0;
|
|
4
|
+
const getAllConsoleInformation = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
args.scriptDataAppender.add(async () => ({
|
|
4
7
|
nlpName: "GetAllConsoleInformation",
|
|
@@ -11,3 +14,4 @@ export const getAllConsoleInformation = async (args) => {
|
|
|
11
14
|
throw new Error("GetAllConsoleInformation action failed", { cause: error });
|
|
12
15
|
}
|
|
13
16
|
};
|
|
17
|
+
exports.getAllConsoleInformation = getAllConsoleInformation;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getAllConsoleLogs = void 0;
|
|
4
|
+
const getAllConsoleLogs = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
args.scriptDataAppender.add(async () => ({
|
|
4
7
|
nlpName: "GetAllConsoleLogs",
|
|
@@ -11,3 +14,4 @@ export const getAllConsoleLogs = async (args) => {
|
|
|
11
14
|
throw new Error("GetAllConsoleLogs action failed", { cause: error });
|
|
12
15
|
}
|
|
13
16
|
};
|
|
17
|
+
exports.getAllConsoleLogs = getAllConsoleLogs;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getAllConsoleWarnings = void 0;
|
|
4
|
+
const getAllConsoleWarnings = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
args.scriptDataAppender.add(async () => ({
|
|
4
7
|
nlpName: "GetAllConsoleWarnings",
|
|
@@ -11,3 +14,4 @@ export const getAllConsoleWarnings = async (args) => {
|
|
|
11
14
|
throw new Error("GetAllConsoleWarnings action failed", { cause: error });
|
|
12
15
|
}
|
|
13
16
|
};
|
|
17
|
+
exports.getAllConsoleWarnings = getAllConsoleWarnings;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getAllCookieNames = void 0;
|
|
4
|
+
const getAllCookieNames = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
args.scriptDataAppender.add(async () => ({
|
|
4
7
|
nlpName: "GetAllCookieNames",
|
|
@@ -11,3 +14,4 @@ export const getAllCookieNames = async (args) => {
|
|
|
11
14
|
throw new Error("GetAllCookieNames action failed", { cause: error });
|
|
12
15
|
}
|
|
13
16
|
};
|
|
17
|
+
exports.getAllCookieNames = getAllCookieNames;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getAllCookieValues = void 0;
|
|
4
|
+
const getAllCookieValues = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
args.scriptDataAppender.add(async () => ({
|
|
4
7
|
nlpName: "GetAllCookieValues",
|
|
@@ -11,3 +14,4 @@ export const getAllCookieValues = async (args) => {
|
|
|
11
14
|
throw new Error("GetAllCookieValues action failed", { cause: error });
|
|
12
15
|
}
|
|
13
16
|
};
|
|
17
|
+
exports.getAllCookieValues = getAllCookieValues;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getAllSelectedOptions = void 0;
|
|
4
|
+
const getAllSelectedOptions = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
const selectElement = await args.driver.$(args.selector);
|
|
4
7
|
const options = await selectElement.$$('option');
|
|
@@ -27,3 +30,4 @@ export const getAllSelectedOptions = async (args) => {
|
|
|
27
30
|
throw new Error("GetAllSelectedOptions action failed", { cause: error });
|
|
28
31
|
}
|
|
29
32
|
};
|
|
33
|
+
exports.getAllSelectedOptions = getAllSelectedOptions;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getAllTheOptionsFromListBoxAsText = void 0;
|
|
4
|
+
const getAllTheOptionsFromListBoxAsText = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
const selectElement = await args.driver.$(args.selector);
|
|
4
7
|
const options = await selectElement.$$('option');
|
|
@@ -26,3 +29,4 @@ export const getAllTheOptionsFromListBoxAsText = async (args) => {
|
|
|
26
29
|
throw new Error("GetAllTheOptionsFromListBoxAsText action failed", { cause: error });
|
|
27
30
|
}
|
|
28
31
|
};
|
|
32
|
+
exports.getAllTheOptionsFromListBoxAsText = getAllTheOptionsFromListBoxAsText;
|
package/dist/automation/actions/interaction/get/getAllTheOptionsFromListBoxAsTextInSortedOrder.js
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getAllTheOptionsFromListBoxAsTextInSortedOrder = void 0;
|
|
4
|
+
const getAllTheOptionsFromListBoxAsTextInSortedOrder = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
const selectElement = await args.driver.$(args.selector);
|
|
4
7
|
const options = await selectElement.$$('option');
|
|
@@ -32,3 +35,4 @@ export const getAllTheOptionsFromListBoxAsTextInSortedOrder = async (args) => {
|
|
|
32
35
|
throw new Error("GetAllTheOptionsFromListBoxAsTextInSortedOrder action failed", { cause: error });
|
|
33
36
|
}
|
|
34
37
|
};
|
|
38
|
+
exports.getAllTheOptionsFromListBoxAsTextInSortedOrder = getAllTheOptionsFromListBoxAsTextInSortedOrder;
|
package/dist/automation/actions/interaction/get/getAllTheSelectedOptionsFromListBoxAsText.js
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getAllTheSelectedOptionsFromListBoxAsText = void 0;
|
|
4
|
+
const getAllTheSelectedOptionsFromListBoxAsText = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
const selectElement = await args.driver.$(args.selector);
|
|
4
7
|
const options = await selectElement.$$('option');
|
|
@@ -28,3 +31,4 @@ export const getAllTheSelectedOptionsFromListBoxAsText = async (args) => {
|
|
|
28
31
|
throw new Error("GetAllTheSelectedOptionsFromListBoxAsText action failed", { cause: error });
|
|
29
32
|
}
|
|
30
33
|
};
|
|
34
|
+
exports.getAllTheSelectedOptionsFromListBoxAsText = getAllTheSelectedOptionsFromListBoxAsText;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getAllWindowHandles = void 0;
|
|
4
|
+
const getAllWindowHandles = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
args.scriptDataAppender.add(async () => ({
|
|
4
7
|
nlpName: "GetAllWindowHandles",
|
|
@@ -11,3 +14,4 @@ export const getAllWindowHandles = async (args) => {
|
|
|
11
14
|
throw new Error("GetAllWindowHandles action failed", { cause: error });
|
|
12
15
|
}
|
|
13
16
|
};
|
|
17
|
+
exports.getAllWindowHandles = getAllWindowHandles;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getAttribute = getAttribute;
|
|
4
|
+
const logData_js_1 = require("../../../../utils/logger/logData.js");
|
|
5
|
+
async function getAttribute(args) {
|
|
3
6
|
switch (args.platform) {
|
|
4
7
|
case "android":
|
|
5
8
|
try {
|
|
@@ -7,7 +10,7 @@ export async function getAttribute(args) {
|
|
|
7
10
|
if (attributeName === "") {
|
|
8
11
|
throw new Error("For GetAttribute action Attributr is not Provided");
|
|
9
12
|
}
|
|
10
|
-
logger.info("Attribute value in getAttribute:", {
|
|
13
|
+
logData_js_1.logger.info("Attribute value in getAttribute:", {
|
|
11
14
|
attributeName
|
|
12
15
|
});
|
|
13
16
|
args.scriptDataAppender.add(async () => {
|
|
@@ -17,7 +20,7 @@ export async function getAttribute(args) {
|
|
|
17
20
|
elementsData: [{
|
|
18
21
|
name: args.elementName,
|
|
19
22
|
type: args.elementType,
|
|
20
|
-
locators: [{ "xpath": args.selector }],
|
|
23
|
+
locators: [{ "name": "xpath", "value": args.selector }],
|
|
21
24
|
platform: args.platform
|
|
22
25
|
}]
|
|
23
26
|
};
|
|
@@ -35,7 +38,7 @@ export async function getAttribute(args) {
|
|
|
35
38
|
if (attributeName === "") {
|
|
36
39
|
throw new Error("For GetAttribute action Attributr is not Provided");
|
|
37
40
|
}
|
|
38
|
-
logger.info("Attribute value in getAttribute:", {
|
|
41
|
+
logData_js_1.logger.info("Attribute value in getAttribute:", {
|
|
39
42
|
attributeName
|
|
40
43
|
});
|
|
41
44
|
args.scriptDataAppender.add(async () => {
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getAudioCurrentPlaybackRate = void 0;
|
|
4
|
+
const getAudioCurrentPlaybackRate = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
const element = await args.driver.$(args.selector);
|
|
4
7
|
// playbackRate returns current speed (default is 1)
|
|
@@ -22,3 +25,4 @@ export const getAudioCurrentPlaybackRate = async (args) => {
|
|
|
22
25
|
throw new Error("GetAudioCurrentPlaybackRate action failed", { cause: error });
|
|
23
26
|
}
|
|
24
27
|
};
|
|
28
|
+
exports.getAudioCurrentPlaybackRate = getAudioCurrentPlaybackRate;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getAudioCurrentSeekTime = void 0;
|
|
4
|
+
const getAudioCurrentSeekTime = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
const element = await args.driver.$(args.selector);
|
|
4
7
|
// currentTime returns current playback position in seconds
|
|
@@ -22,3 +25,4 @@ export const getAudioCurrentSeekTime = async (args) => {
|
|
|
22
25
|
throw new Error("GetAudioCurrentSeekTime action failed", { cause: error });
|
|
23
26
|
}
|
|
24
27
|
};
|
|
28
|
+
exports.getAudioCurrentSeekTime = getAudioCurrentSeekTime;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getAudioCurrentVolume = void 0;
|
|
4
|
+
const getAudioCurrentVolume = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
const element = await args.driver.$(args.selector);
|
|
4
7
|
// volume returns value between 0.0 and 1.0
|
|
@@ -22,3 +25,4 @@ export const getAudioCurrentVolume = async (args) => {
|
|
|
22
25
|
throw new Error("GetAudioCurrentVolume action failed", { cause: error });
|
|
23
26
|
}
|
|
24
27
|
};
|
|
28
|
+
exports.getAudioCurrentVolume = getAudioCurrentVolume;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getAudioDecodedByte = void 0;
|
|
4
|
+
const getAudioDecodedByte = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
const element = await args.driver.$(args.selector);
|
|
4
7
|
// Get buffered duration (closest equivalent to decoded media)
|
|
@@ -27,3 +30,4 @@ export const getAudioDecodedByte = async (args) => {
|
|
|
27
30
|
throw new Error("GetAudioDecodedByte action failed", { cause: error });
|
|
28
31
|
}
|
|
29
32
|
};
|
|
33
|
+
exports.getAudioDecodedByte = getAudioDecodedByte;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getAudioDefaultPlaybackRate = void 0;
|
|
4
|
+
const getAudioDefaultPlaybackRate = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
const element = await args.driver.$(args.selector);
|
|
4
7
|
// defaultPlaybackRate returns original playback speed (default = 1)
|
|
@@ -22,3 +25,4 @@ export const getAudioDefaultPlaybackRate = async (args) => {
|
|
|
22
25
|
throw new Error("GetAudioDefaultPlaybackRate action failed", { cause: error });
|
|
23
26
|
}
|
|
24
27
|
};
|
|
28
|
+
exports.getAudioDefaultPlaybackRate = getAudioDefaultPlaybackRate;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getAudioDimension = void 0;
|
|
4
|
+
const getAudioDimension = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
const element = await args.driver.$(args.selector);
|
|
4
7
|
// Get rendered width and height
|
|
@@ -28,3 +31,4 @@ export const getAudioDimension = async (args) => {
|
|
|
28
31
|
throw new Error("GetAudioDimension action failed", { cause: error });
|
|
29
32
|
}
|
|
30
33
|
};
|
|
34
|
+
exports.getAudioDimension = getAudioDimension;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getAudioHeight = void 0;
|
|
4
|
+
const getAudioHeight = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
const element = await args.driver.$(args.selector);
|
|
4
7
|
// Get rendered height of the audio element
|
|
@@ -24,3 +27,4 @@ export const getAudioHeight = async (args) => {
|
|
|
24
27
|
throw new Error("GetAudioHeight action failed", { cause: error });
|
|
25
28
|
}
|
|
26
29
|
};
|
|
30
|
+
exports.getAudioHeight = getAudioHeight;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getAudioMediaLength = void 0;
|
|
4
|
+
const getAudioMediaLength = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
const element = await args.driver.$(args.selector);
|
|
4
7
|
// duration returns total audio length in seconds
|
|
@@ -22,3 +25,4 @@ export const getAudioMediaLength = async (args) => {
|
|
|
22
25
|
throw new Error("GetAudioMediaLength action failed", { cause: error });
|
|
23
26
|
}
|
|
24
27
|
};
|
|
28
|
+
exports.getAudioMediaLength = getAudioMediaLength;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getAudioMediaSource = void 0;
|
|
4
|
+
const getAudioMediaSource = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
const element = await args.driver.$(args.selector);
|
|
4
7
|
// ✅ Try direct src attribute first
|
|
@@ -29,3 +32,4 @@ export const getAudioMediaSource = async (args) => {
|
|
|
29
32
|
throw new Error("GetAudioMediaSource action failed", { cause: error });
|
|
30
33
|
}
|
|
31
34
|
};
|
|
35
|
+
exports.getAudioMediaSource = getAudioMediaSource;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getAudioWidth = void 0;
|
|
4
|
+
const getAudioWidth = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
const element = await args.driver.$(args.selector);
|
|
4
7
|
// Get rendered width of the audio element
|
|
@@ -24,3 +27,4 @@ export const getAudioWidth = async (args) => {
|
|
|
24
27
|
throw new Error("GetAudioWidth action failed", { cause: error });
|
|
25
28
|
}
|
|
26
29
|
};
|
|
30
|
+
exports.getAudioWidth = getAudioWidth;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getBestPracticesScore = void 0;
|
|
4
|
+
const getBestPracticesScore = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
const inputs = (args.value || "").split(",").map(v => v.trim());
|
|
4
7
|
const stepInputs = [inputs[0] || "", inputs[1] || ""];
|
|
@@ -13,3 +16,4 @@ export const getBestPracticesScore = async (args) => {
|
|
|
13
16
|
throw new Error("GetBestPracticesScore action failed", { cause: error });
|
|
14
17
|
}
|
|
15
18
|
};
|
|
19
|
+
exports.getBestPracticesScore = getBestPracticesScore;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getBrowserCount = void 0;
|
|
4
|
+
const getBrowserCount = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
args.scriptDataAppender.add(async () => ({
|
|
4
7
|
nlpName: "GetBrowserCount",
|
|
@@ -11,3 +14,4 @@ export const getBrowserCount = async (args) => {
|
|
|
11
14
|
throw new Error("GetBrowserCount action failed", { cause: error });
|
|
12
15
|
}
|
|
13
16
|
};
|
|
17
|
+
exports.getBrowserCount = getBrowserCount;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getBrowserVersion = void 0;
|
|
4
|
+
const getBrowserVersion = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
args.scriptDataAppender.add(async () => ({
|
|
4
7
|
nlpName: "GetBrowserVersion",
|
|
@@ -11,3 +14,4 @@ export const getBrowserVersion = async (args) => {
|
|
|
11
14
|
throw new Error("GetBrowserVersion action failed", { cause: error });
|
|
12
15
|
}
|
|
13
16
|
};
|
|
17
|
+
exports.getBrowserVersion = getBrowserVersion;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getCapabilityNames = void 0;
|
|
4
|
+
const getCapabilityNames = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
args.scriptDataAppender.add(async () => ({
|
|
4
7
|
nlpName: "GetCapabilityNames",
|
|
@@ -11,3 +14,4 @@ export const getCapabilityNames = async (args) => {
|
|
|
11
14
|
throw new Error("GetCapabilityNames action failed", { cause: error });
|
|
12
15
|
}
|
|
13
16
|
};
|
|
17
|
+
exports.getCapabilityNames = getCapabilityNames;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getClipBoardText = void 0;
|
|
4
|
+
const getClipBoardText = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
args.scriptDataAppender.add(async () => ({
|
|
4
7
|
nlpName: "GetClipBoardText",
|
|
@@ -11,3 +14,4 @@ export const getClipBoardText = async (args) => {
|
|
|
11
14
|
throw new Error("GetClipBoardText action failed", { cause: error });
|
|
12
15
|
}
|
|
13
16
|
};
|
|
17
|
+
exports.getClipBoardText = getClipBoardText;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getCollectiveApiResponseTime = void 0;
|
|
4
|
+
const getCollectiveApiResponseTime = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
const targetUrl = args.value?.trim();
|
|
4
7
|
let responseTimes = "";
|
|
@@ -20,3 +23,4 @@ export const getCollectiveApiResponseTime = async (args) => {
|
|
|
20
23
|
throw new Error("GetCollectiveApiResponseTime action failed", { cause: error });
|
|
21
24
|
}
|
|
22
25
|
};
|
|
26
|
+
exports.getCollectiveApiResponseTime = getCollectiveApiResponseTime;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getCollectiveApiStatusCode = void 0;
|
|
4
|
+
const getCollectiveApiStatusCode = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
const targetUrl = args.value?.trim();
|
|
4
7
|
let statusCodes = "";
|
|
@@ -20,3 +23,4 @@ export const getCollectiveApiStatusCode = async (args) => {
|
|
|
20
23
|
throw new Error("GetCollectiveApiStatusCode action failed", { cause: error });
|
|
21
24
|
}
|
|
22
25
|
};
|
|
26
|
+
exports.getCollectiveApiStatusCode = getCollectiveApiStatusCode;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getCssValue = void 0;
|
|
4
|
+
const getCssValue = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
const element = await args.driver.$(args.selector);
|
|
4
7
|
// stepInputs contains CSS property name
|
|
@@ -23,3 +26,4 @@ export const getCssValue = async (args) => {
|
|
|
23
26
|
throw new Error("GetCssValue action failed", { cause: error });
|
|
24
27
|
}
|
|
25
28
|
};
|
|
29
|
+
exports.getCssValue = getCssValue;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getCurrentDayOfTheWeek = void 0;
|
|
4
|
+
const getCurrentDayOfTheWeek = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
args.scriptDataAppender.add(async () => ({
|
|
4
7
|
nlpName: "GetCurrentDayOfTheWeek",
|
|
@@ -11,3 +14,4 @@ export const getCurrentDayOfTheWeek = async (args) => {
|
|
|
11
14
|
throw new Error("GetCurrentDayOfTheWeek action failed", { cause: error });
|
|
12
15
|
}
|
|
13
16
|
};
|
|
17
|
+
exports.getCurrentDayOfTheWeek = getCurrentDayOfTheWeek;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getCurrentSecondsFromCurrentSystemTime = void 0;
|
|
4
|
+
const getCurrentSecondsFromCurrentSystemTime = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
args.scriptDataAppender.add(async () => ({
|
|
4
7
|
nlpName: "GetCurrentSecondsFromCurrentSystemTime",
|
|
@@ -11,3 +14,4 @@ export const getCurrentSecondsFromCurrentSystemTime = async (args) => {
|
|
|
11
14
|
throw new Error("GetCurrentSecondsFromCurrentSystemTime action failed", { cause: error });
|
|
12
15
|
}
|
|
13
16
|
};
|
|
17
|
+
exports.getCurrentSecondsFromCurrentSystemTime = getCurrentSecondsFromCurrentSystemTime;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getCurrentSystemDate = void 0;
|
|
4
|
+
const getCurrentSystemDate = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
args.scriptDataAppender.add(async () => ({
|
|
4
7
|
nlpName: "GetCurrentSystemDate",
|
|
@@ -11,3 +14,4 @@ export const getCurrentSystemDate = async (args) => {
|
|
|
11
14
|
throw new Error("GetCurrentSystemDate action failed", { cause: error });
|
|
12
15
|
}
|
|
13
16
|
};
|
|
17
|
+
exports.getCurrentSystemDate = getCurrentSystemDate;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getCurrentSystemDay = void 0;
|
|
4
|
+
const getCurrentSystemDay = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
args.scriptDataAppender.add(async () => ({
|
|
4
7
|
nlpName: "GetCurrentSystemDay",
|
|
@@ -11,3 +14,4 @@ export const getCurrentSystemDay = async (args) => {
|
|
|
11
14
|
throw new Error("GetCurrentSystemDay action failed", { cause: error });
|
|
12
15
|
}
|
|
13
16
|
};
|
|
17
|
+
exports.getCurrentSystemDay = getCurrentSystemDay;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getCurrentSystemMonth = void 0;
|
|
4
|
+
const getCurrentSystemMonth = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
args.scriptDataAppender.add(async () => ({
|
|
4
7
|
nlpName: "GetCurrentSystemMonth",
|
|
@@ -11,3 +14,4 @@ export const getCurrentSystemMonth = async (args) => {
|
|
|
11
14
|
throw new Error("GetCurrentSystemMonth action failed", { cause: error });
|
|
12
15
|
}
|
|
13
16
|
};
|
|
17
|
+
exports.getCurrentSystemMonth = getCurrentSystemMonth;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getCurrentSystemTime = void 0;
|
|
4
|
+
const getCurrentSystemTime = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
args.scriptDataAppender.add(async () => ({
|
|
4
7
|
nlpName: "GetCurrentSystemTime",
|
|
@@ -11,3 +14,4 @@ export const getCurrentSystemTime = async (args) => {
|
|
|
11
14
|
throw new Error("GetCurrentSystemTime action failed", { cause: error });
|
|
12
15
|
}
|
|
13
16
|
};
|
|
17
|
+
exports.getCurrentSystemTime = getCurrentSystemTime;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getCurrentSystemYear = void 0;
|
|
4
|
+
const getCurrentSystemYear = async (args) => {
|
|
2
5
|
try {
|
|
3
6
|
args.scriptDataAppender.add(async () => ({
|
|
4
7
|
nlpName: "GetCurrentSystemYear",
|
|
@@ -11,3 +14,4 @@ export const getCurrentSystemYear = async (args) => {
|
|
|
11
14
|
throw new Error("GetCurrentSystemYear action failed", { cause: error });
|
|
12
15
|
}
|
|
13
16
|
};
|
|
17
|
+
exports.getCurrentSystemYear = getCurrentSystemYear;
|