{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Momentic","description":"Test web, iOS, and Android apps with Momentic. Use Mo for exploratory testing of your app, or keep YAML tests in your repository for repeatable checks locally and in CI.","colors":{"primary":"#1C1C1C","light":"#87F700","dark":"#1C1C1C"},"logo":{"light":"https://mintcdn.com/momentic-docs/ApAfICLIl3O5ODL7/logo/light.svg?fit=max\u0026auto=format\u0026n=ApAfICLIl3O5ODL7\u0026q=85\u0026s=9b227034c1f31aa7b02f4d5328a2aae2","dark":"https://mintcdn.com/momentic-docs/ApAfICLIl3O5ODL7/logo/dark.svg?fit=max\u0026auto=format\u0026n=ApAfICLIl3O5ODL7\u0026q=85\u0026s=789c4053510b44e19b48f5998ee358b8","href":"https://momentic.ai"},"favicon":"https://mintcdn.com/momentic-docs/tWS-t-JXFcoUiMN_/favicon.png?fit=max\u0026auto=format\u0026n=tWS-t-JXFcoUiMN_\u0026q=85\u0026s=9c8acb5a065cb3dffff022c2982d2711","background":{"color":{"light":"#F5F3F2","dark":"#1C1C1C"}},"navbar":{"links":[{"href":"https://momentic.ai/sales","label":"Book a demo"},{"href":"mailto:support@momentic.ai","label":"Support"},{"href":"https://app.momentic.ai","label":"Log in"}],"primary":{"type":"button","label":"Try for free","href":"https://app.momentic.ai/signup?utm_source=docs\u0026utm_medium=navbar\u0026utm_campaign=try_for_free"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/momentic-ai","website":"https://momentic.ai","x":"https://twitter.com/MomenticAI"},"links":[{"header":"Company","items":[{"label":"Blog","href":"https://momentic.ai/blog"},{"label":"Careers","href":"https://momentic.ai/careers"},{"label":"Y Combinator","href":"https://www.ycombinator.com/companies/momentic"},{"label":"Trust Center","href":"https://trust.momentic.ai"}]},{"header":"Legal","items":[{"label":"Terms of Service","href":"https://momentic.ai/legal/tos"},{"label":"Privacy Policy","href":"https://momentic.ai/legal/privacy"}]}]},"seo":{"metatags":{"canonical":"https://momentic.ai/docs"}},"fonts":{"heading":{"family":"Inter Display","weight":600,"source":"fonts/InterDisplay-SemiBold.woff2","format":"woff2"},"body":{"family":"Inter Display","weight":400,"source":"fonts/InterDisplay-Regular.woff2","format":"woff2"}},"icons":{"library":"fontawesome"},"integrations":{"ga4":{"measurementId":"G-3NEC0DZX5W"}},"contextual":{"options":["copy","view","chatgpt","claude",{"title":"Open in Claude Code","description":"Ask Claude Code about this page","icon":"/images/contextual/claude-code.svg","href":{"base":"claude-cli://open","query":[{"key":"q","value":"Read this documentation page, so I can ask questions about it:\n\nhttps://momentic.ai/docs$path.md"}]}},{"title":"Open in Codex","description":"Ask Codex about this page","icon":"/images/contextual/codex.svg","href":{"base":"codex://new","query":[{"key":"prompt","value":"Read this documentation page, so I can ask questions about it:\n\nhttps://momentic.ai/docs$path.md"}]}},"cursor"],"display":"header"},"markdown":{"instructions":["The canonical docs host is https://momentic.ai/docs. Append .md to any page URL for clean Markdown. Fetch https://momentic.ai/docs/llms.txt for the page index and https://momentic.ai/docs/llms-full.txt for every page in one file.","Direct agent API registration is a separate integration. Follow https://momentic.ai/auth.md only when the user explicitly asks for direct API access, not for Mo sessions or the Mo Quickstart. Do not use agent identity assertions or access or refresh tokens as MOMENTIC_API_KEY.","For unattended repository-test CLI setup, use the [web](https://momentic.ai/docs/quickstart/web.md), [iOS](https://momentic.ai/docs/quickstart/ios.md), or [Android](https://momentic.ai/docs/quickstart/android.md) quickstart. These steps are for YAML tests, not Mo sessions. Verify the CLI credential and check any existing project CLI before scaffolding. Do not change an existing CLI pin without the user's approval. When scaffolding, run `npx --yes @momentic/wizard@latest -y --platform \u003cplatform> --editor-tools none`, using the selected platform (web, ios, or android). Each quickstart links to the canonical setup guide for CLI, skills, and local MCP instructions. Do not run interactive sign-in in a non-TTY shell.","For Mo CLI sessions by default, use only the `qa` CLI. Follow the setup prompt in the [Mo Quickstart](https://momentic.ai/docs/mo/quickstart.md) and its linked [coding-agent setup guide](https://momentic.ai/docs/coding-agents/quickstart-setup.md#mo) for CLI setup and safeguards. Do not duplicate or override those instructions.","For repository-test CLI setup only, before running `whoami`, set `MOMENTIC_SERVER` to the intended API server. Keep a server the user configured explicitly, even if the credential changes. Otherwise, when using a saved login, choose its saved server URL. If you cannot determine the intended server or the saved login you plan to use targets a different server, ask the user before checking the credential. Use the same `MOMENTIC_SERVER` for the wizard and later CLI commands. For a standalone `whoami` check, you can use `--server` instead. A nonempty `MOMENTIC_API_KEY` overrides the key saved in `~/.momentic/auth.json`. An empty `MOMENTIC_API_KEY` can make `whoami` select the cloud server if you do not set a server explicitly, even though it loads the saved key. If the server rejects the environment key, confirm the intended server and recheck there before asking the user to replace or unset it. If the user unsets the key to use a saved login, apply the same server-selection rules before retrying. If neither a valid environment key nor saved key is available, ask the user to complete browser sign-in or create a key at https://app.momentic.ai/settings/api-keys and set it as `MOMENTIC_API_KEY` in the agent's environment. Never print the key or ask the user to paste it into chat.","Momentic's capability summary for agents is at https://momentic.ai/docs/skill.md. For repository-test CLI setup only, Claude Code users with the Momentic plugin should use its bundled skills and skip CLI skills installation. Otherwise, use the verified project CLI launcher from the selected quickstart to run `skills -y --target \u003cagent>`. Do not fetch a different CLI version. Both install momentic-test, momentic-maintain, and momentic-spec with web/mobile references. Use the running agent's target. Only when the user explicitly requests plugin or hosted setup, follow the separate [ChatGPT and Claude setup guide](https://momentic.ai/docs/mo/chatgpt-and-claude.md).","Tests are YAML files in the user's repository. Use only the step names listed at https://momentic.ai/docs/reference/commands.md and the file structure at https://momentic.ai/docs/core-concepts/file-format.md. Do not invent step names, config keys, or CLI flags.","Web tests run on Chromium, iOS tests on simulators, and Android tests on emulators."]},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"momentic-docs","hasAudioNarration":false,"actualSubdomain":"momentic-docs","customDomains":["momentic.ai"],"gitSource":{"type":"github","owner":"momentic-ai","repo":"monorepo","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":"","_id":"6b10a6509ffae5051c3fa731"},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"DISABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b138e47d49be255d80f201c","clientVersion":"0.0.4453","searchFilterCounts":[{"language":"default","tag":"Reference","count":188},{"language":"default","tag":"Docs","count":97},{"language":"default","tag":"CLI","count":69},{"language":"default","tag":"Commands","count":66},{"language":"default","tag":"Web steps","count":63},{"language":"default","tag":"Mobile steps","count":43},{"language":"default","tag":"Write tests","count":28},{"language":"default","tag":"qa CLI","count":26},{"language":"default","tag":"momentic CLI","count":24},{"language":"default","tag":"momentic-mobile CLI","count":19}]},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"sidebar-cta.css","content":"#momentic-sidebar-cta{--cta-text: rgb(var(--gray-900));--cta-muted: rgb(var(--gray-600));--cta-border: rgb(var(--gray-950) / 0.1);--cta-focus: rgb(var(--primary));margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid var(--cta-border);color:var(--cta-text);font-size:0.875rem;line-height:1.5}.dark #momentic-sidebar-cta{--cta-text: rgb(var(--gray-100));--cta-muted: rgb(var(--gray-400));--cta-border: rgb(var(--gray-50) / 0.12);--cta-focus: rgb(var(--primary-light))}#momentic-sidebar-cta p{margin:0}#momentic-sidebar-cta-title{font-weight:600}#momentic-sidebar-cta .momentic-sidebar-cta-description{margin-top:0.5rem;color:var(--cta-muted)}#momentic-sidebar-cta a{display:flex;align-items:center;justify-content:center;gap:0.5rem;min-height:2.25rem;margin-top:1rem;padding:0.5rem 0.875rem;border-radius:0.5rem;background:rgb(var(--primary-light));color:rgb(var(--primary));font-weight:500;text-decoration:none}#momentic-sidebar-cta a:hover{background:color-mix(\n in srgb,\n rgb(var(--primary-light)),\n rgb(var(--primary)) 8%\n )}#momentic-sidebar-cta a:focus-visible{outline:2px solid var(--cta-focus);outline-offset:3px}"},{"filePath":"navbar-cta.css","content":"#sidebar li:has(>a[href*=\"utm_medium=navbar\"]){display:none}"}]}
{"page":{"pagePath":"reference/commands/focus","slug":"/reference/commands/focus","pageMetadata":{"title":"focus","description":"Move keyboard focus to an element.","platforms":["web"],"href":"/reference/commands/focus"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Move keyboard focus to an element.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Focuses an element by description or CSS selector without clicking it.\nCoordinate targets are not supported.`}),`\n`,_jsx(Heading,{level:`2`,id:`parameters`,children:`Parameters`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`on`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Natural-language description of the focus target.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`css`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`CSS selector for the target. Use instead of the description key.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`force`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`boolean`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Force the action even when the element is not actionable.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`iframe`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`URL or URL pattern of the iframe that contains the target element.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`saveAs`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Name of the variable to write this step’s return value to.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`retries`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`number`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Number of times to retry the step on failure before failing the test.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`skipped`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`boolean`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Skip this step at execution time.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`shorthand`,children:`Shorthand`}),`\n`,_jsx(_components.p,{children:`Target description as a single string.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`- `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`focus`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`the email input`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`examples`,children:`Examples`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`- `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`focus`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` on`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`the email input`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`- `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`focus`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` css`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`input[name=\"search\"]`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`related`,children:`Related`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/core-concepts/finding-elements`,children:`Finding elements`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/core-concepts/steps`,children:`Steps`})}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"focus","description":"Move keyboard focus to an element.","platforms":["web"],"href":"/reference/commands/focus"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Parameters","slug":"parameters","depth":2,"children":[]},{"title":"Shorthand","slug":"shorthand","depth":2,"children":[]},{"title":"Examples","slug":"examples","depth":2,"children":[]},{"title":"Related","slug":"related","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/momentic-docs/c36cd31cf1e5cf4c/sidebar-cta.js","/docs/_mintlify/custom/momentic-docs/79400db8734e0782/first-touch.js","/docs/_mintlify/custom/momentic-docs/36d75e235526cd2e/navbar-cta.js"],"subdomain":"momentic-docs","siteName":"Momentic","title":"focus - Momentic","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-13T20:18:45.178Z","originalFileLocation":"reference/commands/focus.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Move keyboard focus to an element.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Momentic\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/momentic-docs/kvzH4LTcMZrfLtd7/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/momentic-docs/kvzH4LTcMZrfLtd7/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/momentic-docs/kvzH4LTcMZrfLtd7/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/momentic-docs/kvzH4LTcMZrfLtd7/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/momentic-docs/kvzH4LTcMZrfLtd7/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/momentic-docs/kvzH4LTcMZrfLtd7/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/momentic-docs/kvzH4LTcMZrfLtd7/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/momentic-docs/kvzH4LTcMZrfLtd7/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/momentic-docs/kvzH4LTcMZrfLtd7/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"focus - Momentic\">\u003cmeta data-mint-head property=\"og:description\" content=\"Move keyboard focus to an element.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Momentic\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://momentic.ai/docs/reference/commands/focus\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://momentic-docs.mintlify.site/docs/_mintlify/api/og/v2?division=Mouse\u0026amp;title=focus\u0026amp;description=Move+keyboard+focus+to+an+element.\u0026amp;theme=08b34036c650e1c9eb57d42a\u0026amp;signature=6597a601ec616376047f9c509a580d3bcbca7e3b8ab3753fcaa10f6b114a2b73\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"focus - Momentic\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Move keyboard focus to an element.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://momentic-docs.mintlify.site/docs/_mintlify/api/og/v2?division=Mouse\u0026amp;title=focus\u0026amp;description=Move+keyboard+focus+to+an+element.\u0026amp;theme=08b34036c650e1c9eb57d42a\u0026amp;signature=6597a601ec616376047f9c509a580d3bcbca7e3b8ab3753fcaa10f6b114a2b73\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/momentic-docs/kvzH4LTcMZrfLtd7/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Momentic\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1C1C1C\">\u003clink data-mint-head rel=\"canonical\" href=\"https://momentic.ai/docs/reference/commands/focus\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/reference/commands/focus.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://momentic.ai/#organization\",\"name\":\"Momentic\",\"url\":\"https://momentic.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/momentic-docs/ApAfICLIl3O5ODL7/logo/light.svg?fit=max\u0026auto=format\u0026n=ApAfICLIl3O5ODL7\u0026q=85\u0026s=9b227034c1f31aa7b02f4d5328a2aae2\"}},{\"@type\":\"WebSite\",\"@id\":\"https://momentic.ai/docs#website\",\"name\":\"Momentic\",\"url\":\"https://momentic.ai/docs\",\"publisher\":{\"@id\":\"https://momentic.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://momentic.ai/docs/reference/commands/focus#webpage\",\"url\":\"https://momentic.ai/docs/reference/commands/focus\",\"name\":\"focus\",\"description\":\"Move keyboard focus to an element.\",\"dateModified\":\"2026-11-13T20:18:45.178Z\",\"isPartOf\":{\"@id\":\"https://momentic.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://momentic.ai/docs/reference/commands/focus#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://momentic.ai/docs/reference/commands/focus#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Web steps\",\"item\":\"https://momentic.ai/docs/reference/commands\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mouse\",\"item\":\"https://momentic.ai/docs/reference/commands/blur\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"focus\",\"item\":\"https://momentic.ai/docs/reference/commands/focus\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://momentic.ai/docs/reference/commands/focus#article\",\"headline\":\"focus\",\"name\":\"focus\",\"description\":\"Move keyboard focus to an element.\",\"url\":\"https://momentic.ai/docs/reference/commands/focus\",\"mainEntityOfPage\":{\"@id\":\"https://momentic.ai/docs/reference/commands/focus#webpage\"},\"dateModified\":\"2026-11-13T20:18:45.178Z\",\"publisher\":{\"@id\":\"https://momentic.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://momentic.ai/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Momentic\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Momentic\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/reference/commands/focus.md","siteName":"Momentic","nav":{"global":null,"tabs":[{"tab":"Docs","icon":"book","pages":[{"title":"Docs","href":""}]},{"tab":"Reference","icon":"book-open","groups":[{"group":"Configuration","icon":"sliders","pages":[{"title":"momentic.config.yaml","sidebarTitle":"momentic.config.yaml","href":"/configuration/momentic-config"},{"title":"Environments","sidebarTitle":"Environments","href":"/configuration/environments"},{"title":"Targets","sidebarTitle":"Targets","href":"/configuration/targets"},{"title":"Environment variables","href":"/configuration/environment-variables"},{"title":"Browser configuration","sidebarTitle":"Browser","href":"/configuration/browser"},{"title":"AI configuration","href":"/configuration/ai"},{"title":"Agents","href":"/ai/agents"},{"title":"Mobile configuration","sidebarTitle":"Mobile","href":"/configuration/mobile"},{"title":"Advanced configuration","sidebarTitle":"Advanced","href":"/configuration/advanced"},{"title":"Test file globs","href":"/configuration/test-globs"}]},{"group":"CLI","pages":[{"group":"momentic CLI","pages":[{"title":"Install the momentic CLI","sidebarTitle":"Install the momentic CLI","href":"/cli-reference/momentic/overview"},{"group":"Commands","pages":[{"title":"momentic init","sidebarTitle":"init","href":"/cli-reference/momentic/commands/init"},{"title":"momentic app","sidebarTitle":"app","href":"/cli-reference/momentic/commands/app"},{"title":"momentic run","sidebarTitle":"run","href":"/cli-reference/momentic/commands/run"},{"title":"momentic snapshot","sidebarTitle":"snapshot","href":"/cli-reference/momentic/commands/snapshot"},{"title":"momentic results","sidebarTitle":"results","href":"/cli-reference/momentic/commands/results"},{"title":"momentic list","sidebarTitle":"list","href":"/cli-reference/momentic/commands/list"},{"title":"momentic queue","sidebarTitle":"queue","href":"/cli-reference/momentic/commands/queue"},{"title":"momentic lint","sidebarTitle":"lint","href":"/cli-reference/momentic/commands/lint"},{"title":"momentic check","sidebarTitle":"check","href":"/cli-reference/momentic/commands/check"},{"title":"momentic doctor","sidebarTitle":"doctor","href":"/cli-reference/momentic/commands/doctor"},{"title":"momentic login","sidebarTitle":"login","href":"/cli-reference/momentic/commands/login"},{"title":"momentic logout","sidebarTitle":"logout","href":"/cli-reference/momentic/commands/logout"},{"title":"momentic whoami","sidebarTitle":"whoami","href":"/cli-reference/momentic/commands/whoami"},{"title":"momentic import","sidebarTitle":"import","href":"/cli-reference/momentic/commands/import"},{"title":"momentic apply","sidebarTitle":"apply","href":"/cli-reference/momentic/commands/apply"},{"title":"momentic quarantine","sidebarTitle":"quarantine","href":"/cli-reference/momentic/commands/quarantine"},{"title":"momentic ai","sidebarTitle":"ai","href":"/cli-reference/momentic/commands/ai"},{"title":"momentic mcp","sidebarTitle":"mcp","href":"/cli-reference/momentic/commands/mcp"},{"title":"momentic install-mcp","sidebarTitle":"install-mcp","href":"/cli-reference/momentic/commands/install-mcp"},{"title":"momentic upgrade","sidebarTitle":"upgrade","href":"/cli-reference/momentic/commands/upgrade"},{"title":"momentic migrate simplified-format","sidebarTitle":"migrate","href":"/cli-reference/momentic/commands/migrate"},{"title":"momentic install-browsers","sidebarTitle":"install-browsers","href":"/cli-reference/momentic/commands/install-browsers"},{"title":"momentic skills","sidebarTitle":"skills","href":"/cli-reference/momentic/commands/skills"}]}]},{"group":"momentic-mobile CLI","pages":[{"title":"Install the momentic-mobile CLI","sidebarTitle":"Install the momentic-mobile CLI","href":"/cli-reference/momentic-mobile/overview"},{"group":"Commands","pages":[{"title":"momentic-mobile init","sidebarTitle":"init","href":"/cli-reference/momentic-mobile/commands/init"},{"title":"momentic-mobile app","sidebarTitle":"app","href":"/cli-reference/momentic-mobile/commands/app"},{"title":"momentic-mobile run","sidebarTitle":"run","href":"/cli-reference/momentic-mobile/commands/run"},{"title":"momentic-mobile results","sidebarTitle":"results","href":"/cli-reference/momentic-mobile/commands/results"},{"title":"momentic-mobile list","sidebarTitle":"list","href":"/cli-reference/momentic-mobile/commands/list"},{"title":"momentic-mobile quarantine","sidebarTitle":"quarantine","href":"/cli-reference/momentic-mobile/commands/quarantine"},{"title":"momentic-mobile lint","sidebarTitle":"lint","href":"/cli-reference/momentic-mobile/commands/lint"},{"title":"momentic-mobile doctor","sidebarTitle":"doctor","href":"/cli-reference/momentic-mobile/commands/doctor"},{"title":"momentic-mobile login","sidebarTitle":"login","href":"/cli-reference/momentic-mobile/commands/login"},{"title":"momentic-mobile logout","sidebarTitle":"logout","href":"/cli-reference/momentic-mobile/commands/logout"},{"title":"momentic-mobile whoami","sidebarTitle":"whoami","href":"/cli-reference/momentic-mobile/commands/whoami"},{"title":"momentic-mobile assets","sidebarTitle":"assets","href":"/cli-reference/momentic-mobile/commands/assets"},{"title":"momentic-mobile mcp","sidebarTitle":"mcp","href":"/cli-reference/momentic-mobile/commands/mcp"},{"title":"momentic-mobile install-mcp","sidebarTitle":"install-mcp","href":"/cli-reference/momentic-mobile/commands/install-mcp"},{"title":"momentic-mobile upgrade","sidebarTitle":"upgrade","href":"/cli-reference/momentic-mobile/commands/upgrade"},{"title":"momentic-mobile migrate simplified-format","sidebarTitle":"migrate","href":"/cli-reference/momentic-mobile/commands/migrate"},{"title":"momentic-mobile install-browsers","sidebarTitle":"install-browsers","href":"/cli-reference/momentic-mobile/commands/install-browsers"},{"title":"momentic-mobile skills","sidebarTitle":"skills","href":"/cli-reference/momentic-mobile/commands/skills"}]}]},{"group":"qa CLI","pages":[{"title":"Install the qa CLI","sidebarTitle":"Install the qa CLI","href":"/cli-reference/mo/overview"},{"group":"Commands","pages":[{"title":"qa login","sidebarTitle":"login","href":"/cli-reference/mo/commands/login"},{"title":"mcp","href":"/cli-reference/mo/commands/mcp"},{"title":"qa start","sidebarTitle":"start","href":"/cli-reference/mo/commands/start"},{"title":"qa environments","sidebarTitle":"environments","href":"/cli-reference/mo/commands/environments"},{"title":"qa skills","sidebarTitle":"skills","href":"/cli-reference/mo/commands/skills"},{"title":"qa send","sidebarTitle":"send","href":"/cli-reference/mo/commands/send"},{"title":"qa secrets","sidebarTitle":"secrets","href":"/cli-reference/mo/commands/secrets"},{"title":"qa read","sidebarTitle":"read","href":"/cli-reference/mo/commands/read"},{"title":"qa status","sidebarTitle":"status","href":"/cli-reference/mo/commands/status"},{"title":"qa sessions","sidebarTitle":"sessions","href":"/cli-reference/mo/commands/sessions"},{"title":"qa wait","sidebarTitle":"wait","href":"/cli-reference/mo/commands/wait"},{"title":"qa cost","sidebarTitle":"cost","href":"/cli-reference/mo/commands/cost"},{"title":"qa bugs","sidebarTitle":"bugs","href":"/cli-reference/mo/commands/bugs"},{"title":"qa cases","sidebarTitle":"cases","href":"/cli-reference/mo/commands/cases"},{"title":"qa report","sidebarTitle":"report","href":"/cli-reference/mo/commands/report"},{"title":"qa stop","sidebarTitle":"stop","href":"/cli-reference/mo/commands/stop"},{"title":"qa archive","sidebarTitle":"archive","href":"/cli-reference/mo/commands/archive"},{"title":"qa unarchive","sidebarTitle":"unarchive","href":"/cli-reference/mo/commands/unarchive"},{"title":"qa download","sidebarTitle":"download","href":"/cli-reference/mo/commands/download"},{"title":"qa upload","sidebarTitle":"upload","href":"/cli-reference/mo/commands/upload"},{"title":"qa tunnel","sidebarTitle":"tunnel","href":"/cli-reference/mo/commands/tunnel"},{"title":"qa version","sidebarTitle":"version","href":"/cli-reference/mo/commands/version"},{"title":"qa upgrade","sidebarTitle":"upgrade","href":"/cli-reference/mo/commands/upgrade"},{"title":"qa licenses","sidebarTitle":"licenses","href":"/cli-reference/mo/commands/licenses"},{"title":"qa doctor","sidebarTitle":"doctor","href":"/cli-reference/mo/commands/doctor"}]}]}]},{"group":"Web steps","icon":"globe","pages":[{"title":"Web step options","sidebarTitle":"Web step options","href":"/reference/commands/index"},{"group":"AI","pages":[{"title":"act","href":"/reference/commands/act"},{"title":"assert","href":"/reference/commands/assert"},{"title":"assertVisually","href":"/reference/commands/assert-visually"},{"title":"extract","href":"/reference/commands/extract"}]},{"group":"Mouse","pages":[{"title":"blur","href":"/reference/commands/blur"},{"title":"click","href":"/reference/commands/click"},{"title":"doubleClick","href":"/reference/commands/double-click"},{"title":"dragAndDrop","description":"Drag from one element or position to another.","href":"/reference/commands/drag-and-drop"},{"title":"focus","href":"/reference/commands/focus"},{"title":"hover","description":"Hover the mouse over an element.","href":"/reference/commands/hover"},{"title":"mouseDrag","href":"/reference/commands/mouse-drag"},{"title":"rightClick","href":"/reference/commands/right-click"}]},{"group":"Keyboard","pages":[{"title":"copy","href":"/reference/commands/copy"},{"title":"keyDown","href":"/reference/commands/key-down"},{"title":"keyUp","href":"/reference/commands/key-up"},{"title":"paste","href":"/reference/commands/paste"},{"title":"press","href":"/reference/commands/press"},{"title":"select","href":"/reference/commands/select"},{"title":"type","href":"/reference/commands/type"}]},{"title":"fileUpload","href":"/reference/commands/file-upload"},{"group":"Scroll","pages":[{"title":"scrollDown","href":"/reference/commands/scroll-down"},{"title":"scrollLeft","href":"/reference/commands/scroll-left"},{"title":"scrollRight","href":"/reference/commands/scroll-right"},{"title":"scrollUp","href":"/reference/commands/scroll-up"}]},{"group":"Navigation","pages":[{"title":"closeTab","href":"/reference/commands/close-tab"},{"title":"goBack","href":"/reference/commands/go-back"},{"title":"goForward","href":"/reference/commands/go-forward"},{"title":"navigate","href":"/reference/commands/navigate"},{"title":"newTab","href":"/reference/commands/new-tab"},{"title":"refresh","href":"/reference/commands/refresh"},{"title":"switchTab","href":"/reference/commands/switch-tab"}]},{"title":"dialog","href":"/reference/commands/dialog"},{"group":"Waits","pages":[{"title":"wait","href":"/reference/commands/wait"},{"title":"waitForUrl","href":"/reference/commands/wait-for-url"},{"title":"waitForUrlNotToMatch","href":"/reference/commands/wait-for-url-not-to-match"}]},{"group":"Page checks","pages":[{"title":"checkPageContains","href":"/reference/commands/check-page-contains"},{"title":"checkPageDoesNotContain","href":"/reference/commands/check-page-does-not-contain"}]},{"group":"Element checks","pages":[{"title":"checkElement","href":"/reference/commands/check-element"},{"title":"checkElementAttribute","href":"/reference/commands/check-element-attribute"},{"title":"checkElementContent","href":"/reference/commands/check-element-content"},{"title":"checkElementName","href":"/reference/commands/check-element-name"},{"title":"checkElementStyle","href":"/reference/commands/check-element-style"}]},{"group":"Network","pages":[{"title":"awaitListener","href":"/reference/commands/await-listener"},{"title":"getRecordedRequests","href":"/reference/commands/get-recorded-requests"},{"title":"graphqlRequest","href":"/reference/commands/graphql-request"},{"title":"header","href":"/reference/commands/header"},{"title":"mock","href":"/reference/commands/mock"},{"title":"recordRequests","href":"/reference/commands/record-requests"},{"title":"registerRequestListener","href":"/reference/commands/register-request-listener"},{"title":"removeRouteMock","href":"/reference/commands/remove-route-mock"},{"title":"request","href":"/reference/commands/request"}]},{"group":"Storage","pages":[{"title":"cookie","href":"/reference/commands/cookie"},{"title":"localStorage","href":"/reference/commands/local-storage"}]},{"group":"Authentication","pages":[{"title":"authLoad","href":"/reference/commands/auth-load"},{"title":"authSave","href":"/reference/commands/auth-save"}]},{"title":"visualDiff","href":"/reference/commands/visual-diff"},{"group":"Connectivity","pages":[{"title":"offline","href":"/reference/commands/offline"},{"title":"online","href":"/reference/commands/online"}]},{"title":"javascript","href":"/reference/commands/javascript"},{"group":"Control flow","pages":[{"title":"if","href":"/reference/commands/if"},{"title":"module","href":"/reference/commands/module"}]},{"title":"captcha","href":"/reference/commands/captcha"}]},{"group":"Mobile steps","icon":"mobile-screen","pages":[{"title":"Mobile step options","sidebarTitle":"Mobile step options","href":"/reference/mobile-commands/index"},{"group":"AI","pages":[{"title":"act","href":"/reference/mobile-commands/act"},{"title":"assert","href":"/reference/mobile-commands/assert"},{"title":"assertVisually","href":"/reference/mobile-commands/assert-visually"},{"title":"extract","href":"/reference/mobile-commands/extract"}]},{"group":"Interactions","pages":[{"title":"tap","href":"/reference/mobile-commands/tap"},{"title":"type","href":"/reference/mobile-commands/type"},{"title":"swipe","href":"/reference/mobile-commands/swipe"},{"title":"scrollTo","href":"/reference/mobile-commands/scroll-to"},{"title":"dragAndDrop","href":"/reference/mobile-commands/drag-and-drop"}]},{"group":"Device","pages":[{"title":"press","href":"/reference/mobile-commands/press"},{"title":"pressKey","href":"/reference/mobile-commands/press-key"},{"title":"rotate","href":"/reference/mobile-commands/rotate"},{"title":"setLocation","href":"/reference/mobile-commands/set-location"},{"title":"toggleSettings","href":"/reference/mobile-commands/toggle-settings"},{"title":"disable_network","href":"/reference/mobile-commands/disable-network"},{"title":"enable_network","href":"/reference/mobile-commands/enable-network"},{"title":"openNotifications","href":"/reference/mobile-commands/open-notifications"}]},{"group":"Apps","pages":[{"title":"openApp","href":"/reference/mobile-commands/open-app"},{"title":"killApp","href":"/reference/mobile-commands/kill-app"},{"title":"installApp","href":"/reference/mobile-commands/install-app"},{"title":"uninstallApp","href":"/reference/mobile-commands/uninstall-app"}]},{"group":"Screen checks","pages":[{"title":"checkScreenContains","href":"/reference/mobile-commands/check-screen-contains"},{"title":"checkScreenDoesNotContain","href":"/reference/mobile-commands/check-screen-does-not-contain"}]},{"group":"Element checks","pages":[{"title":"checkElement","href":"/reference/mobile-commands/check-element"},{"title":"checkElementAttribute","href":"/reference/mobile-commands/check-element-attribute"},{"title":"checkElementContent","href":"/reference/mobile-commands/check-element-content"},{"title":"checkElementName","href":"/reference/mobile-commands/check-element-name"},{"title":"checkElementStyle","href":"/reference/mobile-commands/check-element-style"}]},{"title":"visualDiff","href":"/reference/mobile-commands/visual-diff"},{"title":"request","href":"/reference/mobile-commands/request"},{"group":"Scripts","pages":[{"title":"javascript","href":"/reference/mobile-commands/javascript"},{"title":"adb","href":"/reference/mobile-commands/adb"},{"title":"appium","href":"/reference/mobile-commands/appium"}]},{"title":"addFile","href":"/reference/mobile-commands/add-file"},{"group":"Media","pages":[{"title":"setCamera","href":"/reference/mobile-commands/set-camera"},{"title":"clearCamera","href":"/reference/mobile-commands/clear-camera"},{"title":"setMicrophone","href":"/reference/mobile-commands/set-microphone"},{"title":"clearMicrophone","href":"/reference/mobile-commands/clear-microphone"}]},{"title":"wait","href":"/reference/mobile-commands/wait"},{"group":"Control flow","pages":[{"title":"if","href":"/reference/mobile-commands/if"},{"title":"module","href":"/reference/mobile-commands/module"}]},{"title":"debugState","href":"/reference/mobile-commands/debug-state"}]},{"group":"API","pages":[{"title":"API reference","href":"/api-reference/overview"}]},{"group":"Analytics API","pages":[{"title":"List runs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/runs","href":"/api-reference/analytics/list-runs"},{"title":"List run groups","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/run-groups","href":"/api-reference/analytics/list-run-groups"}]}]},{"tab":"Changelog","icon":"list-timeline","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"focus - Momentic","deploymentId":"dpl_2Ja9WRbxdgSB12oQLm2PJEkKFtyF","buildId":"dpl_2Ja9WRbxdgSB12oQLm2PJEkKFtyF","dynamics":[],"chunks":[]}