# Commands available

- [addMedia](/reference/commands-available/addmedia.md): Add images or videos to the device gallery for media picker testing.
- [assertNoDefectsWithAI](/reference/commands-available/assertnodefectswithai.md): AI-powered visual testing to detect UI defects and anomalies.
- [assertNotVisible](/reference/commands-available/assertnotvisible.md): Assert that a UI element is not present or visible on the screen.
- [assertScreenshot](/reference/commands-available/assertscreenshot.md): Perform visual regression testing of your application against existing screenshots
- [assertTrue](/reference/commands-available/asserttrue.md): Assert that a JavaScript expression evaluates to true.
- [assertVisible](/reference/commands-available/assertvisible.md): Assert that a UI element is visible on screen with automatic retry.
- [assertWithAI](/reference/commands-available/assertwithai.md): Use AI to verify complex UI states with natural language assertions.
- [back](/reference/commands-available/back.md): Press the system back button to navigate to the previous screen.
- [clearKeychain](/reference/commands-available/clearkeychain.md): Clear iOS keychain data for the app under test.
- [clearState](/reference/commands-available/clearstate.md): Clear app data, cache, and preferences to reset to fresh install state.
- [copyTextFrom](/reference/commands-available/copytextfrom.md): Copy text content from a UI element to clipboard or variable.
- [doubleTapOn](/reference/commands-available/doubletapon.md): Perform a double-tap gesture on a UI element or screen coordinates.
- [eraseText](/reference/commands-available/erasetext.md): Delete text from input fields by character count or clear entirely.
- [evalScript](/reference/commands-available/evalscript.md): Evaluate inline JavaScript expressions within the flow context.
- [extendedWaitUntil](/reference/commands-available/extendedwaituntil.md): Wait for an element with a custom timeout longer than the default.
- [extractTextWithAI](/reference/commands-available/extracttextwithai.md): Extract structured data from the screen using AI vision capabilities.
- [hideKeyboard](/reference/commands-available/hidekeyboard.md): Dismiss the on-screen keyboard if currently visible.
- [inputText](/reference/commands-available/inputtext.md): Type text into focused input fields with optional keyboard handling.
- [killApp](/reference/commands-available/killapp.md): Force stop an app and optionally clear all its data and cache.
- [launchApp](/reference/commands-available/launchapp.md): Launch an app with optional permission configuration and clear state.
- [longPressOn](/reference/commands-available/longpresson.md): Long press on elements for context menus or drag-and-drop operations.
- [openLink](/reference/commands-available/openlink.md): Open a URL or deep link in the app or system browser.
- [pasteText](/reference/commands-available/pastetext.md): Paste text from clipboard into the currently focused input field.
- [pressKey](/reference/commands-available/presskey.md): Press hardware keys like home, back, enter, or volume buttons.
- [repeat](/reference/commands-available/repeat.md): Repeat a block of commands a specified number of times.
- [retry](/reference/commands-available/retry.md): Retry a block of commands on failure with configurable attempts.
- [runFlow](/reference/commands-available/runflow.md): Execute a subflow file with optional environment variables.
- [runScript](/reference/commands-available/runscript.md): Run an external JavaScript file and capture its output.
- [scroll](/reference/commands-available/scroll.md): A simple vertical scroll to move down the screen to see the content below
- [scrollUntilVisible](/reference/commands-available/scrolluntilvisible.md): Automatically scroll until a target element becomes visible on screen.
- [setAirplaneMode](/reference/commands-available/setairplanemode.md): Enable airplane mode to test offline behavior.
- [setClipboard](/reference/commands-available/setclipboard.md): Set the device clipboard content to a specified text value.
- [setLocation](/reference/commands-available/setlocation.md): Set device GPS location to specific coordinates for location testing.
- [setOrientation](/reference/commands-available/setorientation.md): Change device orientation between portrait and landscape modes.
- [setPermissions](/reference/commands-available/setpermissions.md): Grant or deny app permissions during flow execution.
- [startRecording](/reference/commands-available/startrecording.md): Start recording the screen for video documentation of test runs.
- [stopApp](/reference/commands-available/stopapp.md): Stop a running app without clearing its data or state.
- [stopRecording](/reference/commands-available/stoprecording.md): Stop the current screen recording and save the video file.
- [swipe](/reference/commands-available/swipe.md): Swipe gestures in any direction with customizable speed and distance.
- [takeScreenshot](/reference/commands-available/takescreenshot.md): Capture a screenshot and save it to the test output directory.
- [tapOn](/reference/commands-available/tapon.md): Tap on UI elements by text, ID, or coordinates with optional repeat and delay.
- [toggleAirplaneMode](/reference/commands-available/toggleairplanemode.md): Toggle airplane mode on or off during test execution.
- [travel](/reference/commands-available/travel.md): Simulate time travel by adjusting the device system clock.
- [waitForAnimationToEnd](/reference/commands-available/waitforanimationtoend.md): Wait for UI animations to complete before proceeding.
