Testcafe Framework Code Index

testhandleErrorunifiedDifferrorruninitendcreateRegExpgetLocalInstallationexitHandlerexitcorrectForbiddenCharsListaddForbiddenCharsToListgetCommonPathFragmentsCountgetCommonPathFragmentsprintErrorMessagesAndTerminatehandleTestRunErrorformatUnhandledRejectionReasonaddDirectoryisTestControllergetTestControllerloadMomentModuleparseUrlprepareRuleurlMatchRulegetProcessOutputUnixfindProcessIdUnixisUnixProcessExistkillBrowserProcessrtrimgetDisplayedItemTextreadPngFileisStreamMockvalidateReporterOutputisAllFilteringOptionsAreUndefinedcreateFilterFnmodifyFileRootensurePosixparseFileListgetPresetEnvForTestCodeOptsgetPresetEnvForClientFunctionOptsgetModuleResolverOptsgetTransformForOfOptionsgetTransformRuntimeOptsgetPresetReactreplaceCommentsgetLocgetBabelOptionsensureLoadedBabelOptionsdowngradeESgetDependenciesDefinitionmakeFnCodeSuitableForParsingcontainsAsyncToGeneratorOutputCodecreateTestFileCompilerscreateNativeMethodWrappercanFocuswrapElementbuildFocusableTreefilterFocusableElementsflattenFocusableTreegetInvisibleElementswhilsttimeseachgetOwnFirstVisibleTextNodegetOwnFirstVisibleNodegetOwnPreviousVisibleSiblingisVisibleNodegetVisibleChildrenhasVisibleChildrenhasSelectableChildrenisNodeBlockWithBreakLineisNodeAfterNodeBlockWithBreakLinegetFirstTextNodeisVisibleTextNodeisSkippableNodehasContentEditableAttrgetSelectedPositionInParentByOffsetgetSelectionStartgetSelectionEndgetElementOffsetisNodeSelectableisResetAnchorOffsetRequiredhasWhiteSpacePreStylegetContentEditableNodesreverseMapgetViewportDimensionstateChangedonSelectionChangeselectContentEditablecorrectContentEditableSelectionBeforeDeletedeleteSelectionRangescheckBrowserHotkeypreventRealEventHandlerfromPointensureImageMapfindElementOrNonEmptyChildFromPointcorrectTopElementByExpectedElementsetCaretPositionensureRectangleInsideElementgetAbsoluteRectgetSelectionRectangleInContentEditableElementgetTextSelectionRectanglegetSelectionRectanglecreateFakeDivgetPositionCoordinatesgetSelectTextAreaContentArgumentsonMoveToIframeRequestonMoveOutRequestfindDraggableElement_getSelectionInElement_updateSelectionAfterDeletionContent_typeTextInElementNode_typeTextInChildTextNode_excludeInvisibleSymbolsFromSelectionsimulateBeforeInputsimulateTextInput_typeTextToContentEditable_typeTextToTextEditable_typeTextToNonTextEditablegetFocusableElementsFiltercorrectFocusableElementactiveElementHasNegativeTabIndexonTextAreaBlurupdateTextAreaIndentgetLineIndentInTextareamoveTextAreaCursorUpmoveTextAreaCursorDownmoveTextAreaCursorsetElementValuesubmitFormOnEnterPressInInputselectAllbackspacedelleftrightupdownescshiftUpshiftDownshiftLeftshiftRightshiftHomeshiftEndenterisRadioButtonNavigationRequiredfocusAndCheckNextRadioButtonfocusNextElementOnNavigationButtonexecuteNavigateTodetermineDimensionBoundsdetermineScrollPointensureCropOptionsisCurrentLocationexecuteInitScriptcheckStatusenableRetryingTestPagesconvertToRadianconvertToStringrotateAxesmoveAxesdelaygetCompletePercentgetNewPositioncreateBackgroundadjustLoadingTextPosinitSizeAdjustmentsonDocumentMouseDownonWindowClickclickOnOptioncreateOptioncreateGroupcreateChildrengetSnapshotSyncassertAddCustomDOMPropertiesOptionsassertAddCustomMethodsgetDerivativeSelectorArgscreatePrimitiveGetterWrappercheckForExcessiveAwaitsaddSnapshotPropertiesaddVisiblePropertyprepareSnapshotPropertyListgetAttributeValueaddSnapshotPropertyShorthandscreateCountercreateCounterSyncaddCounterPropertiesconvertFilterToClientFunctionIfNecessarycreateDerivativeSelectorWithFilterensureRegExpContextaddFilterMethodsaddCustomDOMPropertiesMethodaddCustomMethodsMethodaddHierarchicalSelectorsparseUserArgsparseModessimplifyDeviceNamefindDevicegetDeviceBasedOptionsparseOptionsgetNewConfigstartstartOnDockerstophasCustomProfilecorrectOpenParametersForMacbuildFirefoxArgsgetIndefiniteArticleisNonNegativeValuegetNumberTypeActualValueMsghasSomePropInObjectgetCallsiteisAssertionErrorCallsiteFramegetTestCafeErrorInCustomScriptErrormarkSeedToIdgetCorrectedColorPartcropScreenshotRoleRequestMockRequestLoggerClientFunctionSelectordelegatedAPIgetModuleBasePathscreateRequirecreateSelectorDefinitioncreateClientFunctionDefinitionwrapInAsyncgetErrorLineColumncreateErrorFormattingOptionsgetExecutionContextisRuntimeErrorexecuteAsyncJsExpressionisClientFunctionCommandisWindowSwitchingCommandinitAssertionOptionsinitAssertionParameterisValidCookieisValidUrlinitResizeToFitDeviceOptionsinitElementScreenshotOptionsinitActionOptionsinitClickOptionsinitMouseOptionsinitOffsetOptionsinitTypeOptionsinitDragToElementOptionsinitPressOptionsinitDialogHandlerinitCookiesOptiongetCmdCtorloadAssetassertThrowmoduleLoadedcompileyoheyrepeatvecLengthlaunchsomeUtilityFuncstackFilterfunc1createDriverStatusMsgimitateCommandResolvingFromClientassertErrorMessageassertStackassertRuntimeErrorassertAPIErrorensureActionIdcreateCommandmakeSelectorequalAssertArrayequalAssertBooleanequalAssertBufferequalAssertEmptyStringequalAssertFunctionequalAssertNumberequalAssertObjectequalAssertStringequalAssertUndefinedNullnotEqualAssertStringokAssertBooleannotOkAssertBooleancontainsAssertStringnotContainsAssertStringmatchAssertRegExpnotMatchAssertRegExptypeOfAssertNullnotTypeOfAssertNullwithinAssertNumbernotWithinAssertNumberltAssertNumberlteAssertNumbergtAssertNumbergteAssertNumbergetErrorAdapterLoctestFixtureParsertestJSFilesParsertestTypeScriptFilesParsertestCoffeeScriptFilesParsercreateTestRunMockgetPngMockcreateServerurlRewriteProxyRequestpreventCachinggetElementFromPointMethodcreateRootcreateElementUnderRootcreateIFramewrapIFrameArgumentcreateDefaultDialogsInfoshutdowncloseWindowsaveWindowStaterestoreWindowStatedeleteCommandActionIdgenerateReportercustomReportercheckVideoPathscreateLiveModeRunnerwaitcreateConnectiontriggerConsoleMessagesgetDebuggingStateresumeDebuggingcreateRegExpFromFilegetSnapshotWarningscreateExpectedMouseArgscreateExpectedPointerArgscreateExpectedKeyboardArgscreateExpectedInputArgscreateExpectedFocusArgsmethodWithFailedAssertiontimeoutresolvePathreadFileContentaddCachingHeaderdeleteFilesremoveWhitespacesassertSelectorCallstackhasPixelgetScreenshotFilesCountcheckScreenshotFileCroppedcheckScreenshotFileFullPagecheckScreenshotFileIsNotWhiteisDirExistscheckTestDircheckScreenshotImagesremoveDirgetBrowserInfoinitBrowsersInfoopenRemoteBrowserswaitUtilBrowserConnectionOpenedwaitUntilBrowsersConnectedcloseRemoteBrowserscloseLocalBrowserscheckQuarantineTestRunsgetInputaddHandlerisTouchDeviceareErrorsSamenormalizeErrorcheckLicenserunTestsexitDomainsenterDomainsshouldAddTakeScreenshotTestGlobdetectDockerDaemoncorrectPathOnWindowssetAccessPrivilegesisNodeFlagPrefixauthenticationHelperisCommandOptionsisPropertymapPropertiesreplaceFunctionPropertiesrestoreFunctionPropertiesflattenRecursivePropertiesrestoreRecursivePropertiesrestorePredicateInRequestFilterRulesgetDefaultErrorTransformguardTimeExecutionisTypeScriptArrayOptionconvertToArrayconvertToArrayIfNecessaryconvertOptionValueTypeparseOptionsStringisScreenshotOption_isQuarantineOptiongetQuarantineOptionscolorgetFullPropertyPathdiffgetAnyKeycalculateBrowsercalculateOscalculateEnginecalculatePrettyUserAgentgetFileNameCacheKeytestcafeImportPathReplacerdisableV8OptimizationCodeAppendergetIntValuegetHeightcalcOffsetPositiongetOffsetParentgetSvgElementRelativeRectanglecalcOffsetPositionInIframegetSelectChildRectanglegetAreaElementRectanglegetMapElementRectanglegetParentisAlwaysNotEditableElementgetFrameElement

Run Testcafe scripts on 3000+ browsers online

Perform automation testing with Testcafe on LambdaTest, the most powerful, fastest, and secure cloud-based platform to accelerate test execution speed.

Test Now
LambdaTestX

We use cookies to give you the best experience. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. Learn More in our Cookies policy, Privacy & Terms of service

Allow Cookie
Sarah

I hope you find the best code examples for your project.

If you want to accelerate automated browser testing, try LambdaTest. Your first 100 automation testing minutes are FREE.

Sarah Elson (Product & Growth Lead)