🙌 OpenHands: AI-Driven Development
F16 — Application settings
Settings → Application holds the user's app-wide preferences: UI language, colour theme, anonymous usage data, sound notifications, the sidebar Getting Started checklist, Home's Recommended automations rail, which LLM profile writes conversation titles, an optional voice-input transcription endpoint, and the git identity used for commits. The page mixes two save models: language, analytics, sound, title model and git identity wait for Save Changes and are stored on the backend; theme, checklist, recommended automations and voice input apply instantly and live in this browser only.
Source: src/routes/app-settings.tsx, src/components/features/settings/app-settings/, src/components/features/settings/settings-switch.tsx, src/components/features/home/home-recommended-automations-storage.ts, src/themes/color-theme/, src/utils/transcription-endpoint-storage.ts, src/api/settings-service/settings-service.api.ts, src/services/telemetry.ts.
Sub-features
F16.open: the page opens from the settings navigation, the command menu and the direct URL; every section renders and Save Changes is disabled while nothing has changed.F16.language: choosing a language and saving switches the whole UI at once and persists after a reload;<html lang>and<html dir>follow the chosen language (rtlfor Arabic).F16.color-theme: choosing a colour theme applies it immediately without Save, persists after a reload and on other pages, and is never sent to the backend. In the default OpenHands-Neutral theme primary buttons (such as an enabled Save Changes) are white with dark text.F16.analytics: the "Send anonymous usage data" switch saves with the form and sets browser telemetry consent to granted/denied.F16.analytics-cloud: on a Cloud backend the analytics switch is forced on and disabled.F16.sound: the "Sound Notifications" switch saves with the form; with it on, a sound plays when the agent finishes or needs input.F16.checklist: the "Show Getting Started checklist" switch hides or shows the sidebar checklist immediately, without Save, and survives a reload. On a canvas locked to a Cloud host neither the checklist nor this switch is shown.F16.recommended-automations: the "Show Recommended automations" switch shows or hides Home's Recommended automations rail, without Save; it shares one browser-only preference with the rail's X (F03.recommended-rail-dismiss), so it reads off after the X was used and turning it on brings the rail back on the next Home render.F16.title-model: the Title generation model dropdown offers "Automatic (recommended)" plus onename · modeloption per LLM profile; the choice persists and new conversations still get an automatic title.F16.title-model-fallback: if the chosen profile is deleted (from LLM settings, or outside the UI), the dropdown shows Automatic and the form stays clean.F16.manage-profiles-link: "Manage LLM profiles" goes to/settings/llm.F16.voice-endpoint: Voice input Base URL, API Key (masked) and Model save on every keystroke in this browser only, independently of Save; the key lives in session storage.F16.git-identity: Git Username and Git Email save with the form, persist after a reload, and are what the agent's commits use.F16.git-identity-validation: an email without@is refused by native validation; empty fields save the defaultsopenhands/[email protected].F16.save-states: Save is enabled only while a saved field differs from the stored value; while a save is pending the form stays mounted with a disabled fieldset and a "Saving..." button; success toasts "Settings saved", failure toasts an error and keeps the user's edits and Save enabled for a retry.F16.keyboard: every control, including the four switches, is reachable with Tab and exposed to assistive technology.F16.phone: the form fits a 390 px viewport without horizontal overflow and Save is reachable by scrolling.F16.title-model-clear: the Title generation model combobox has a clear (×) button, shown on hover; it resets the choice to Automatic (recommended).F16.dropdown-filter: typing into the Language (or any) combobox filters its options; Escape restores the stored value and leaves Save disabled.F16.backend-switch: switching the active backend in the backend selector while this page is open shows the new backend's stored preferences (the footer already names it), also when switching back to a backend the page has already loaded; an unsaved edit is dropped on switch.F16.browser-scope: backend-saved preferences (language and the rest of the Save group) follow the user to a fresh browser profile, while theme, checklist visibility and the Recommended automations rail return to their defaults there.
How to get to it (user POV)
- Sidebar settings gear (
backend-selector-settings-link), then Application in the settings navigation (sidebar-settings-/settings/app). The gear lands on/settings/agents, not on this page. - Direct URL
/settings/app(also the default settings page for locked-to-Cloud deployments). - Command menu (
Control+korMeta+k, orcommand-menu-triggerin the sidebar): search "Application", choose Application settings ("Change app language, theme, and preferences"). - Manage LLM profiles link under Conversation titles leaves this page for
/settings/llm(F16.manage-profiles-link); the LLM settings row menu is how a user deletes a profile (owned by the LLM profiles family).
Driving it with control-openhands
Preconditions:
Baseline state (launched, doctored,
onboard --skipdone; it stores analytics off, so the analytics switch starts unchecked).F16.title-model,F16.title-model-fallbackand the agent half ofF16.git-identityneed LLM profiles:control-openhands llm preset deepseek --api-key-file <key file>(or--api-key-env DEEPSEEK_API_KEY), which savesdeepseek-flash(active) anddeepseek-pro.Read the starting values once:
control-openhands api GET /api/settings; backend-saved fields are underbody.misc_settings.app_preferences(language,user_consents_to_analytics,enable_sound_notifications,title_llm_profile,git_user_name,git_user_email). Keys absent there mean defaults.The four switches are visually hidden native checkboxes inside a
<label>: click the label text scoped to the form or focus them with Tab and toggle with Space, and read state withcontrol-openhands browser eval "document.querySelector('[data-testid=enable-analytics-switch]').checked"(same forenable-sound-notifications-switch,show-getting-started-checklist-switch,show-recommended-automations-switch).Every bullet starts on
/settings/appat the desktop viewport unless it says otherwise (control-openhands browser goto /settings/app, thencontrol-openhands browser wait 'testid=submit-button').F16.analytics-cloudis blocked without an OpenHands Cloud backend and account. The locked-to-Cloud half ofF16.checklistis blocked:control-openhands launchcannot start a locked-to-Cloud deployment (see the index's Not mapped).Open from navigation (
F16.open). From/runcontrol-openhands browser click 'testid=backend-selector-settings-link',control-openhands browser click 'testid=sidebar-settings-/settings/app', thencontrol-openhands browser url,control-openhands browser snapshot 'testid=app-settings-screen'andcontrol-openhands browser screenshot --feature F16.open --name desktop. The URL ends in/settings/app; the snapshot shows comboboxes "Language" (English), "Color Theme" (OpenHands-Neutral) and "Title generation model" (Automatic (recommended)), headings "Conversation titles", "Voice input" and "Git Settings", andbutton "Save Changes" [disabled].Command-menu and URL entries (
F16.open). Runcontrol-openhands browser goto /(the previous bullet ends on/settings/app, where the URL check would pass at once),control-openhands browser press Control+k,control-openhands browser type 'testid=command-menu >> role=combobox' Application,control-openhands browser snapshot 'testid=command-menu'(option "Application settings Change app language, theme, and preferences. Go" is[selected]),control-openhands browser press Enter, thencontrol-openhands browser url; it ends in/settings/app. For the URL entry runcontrol-openhands browser goto /settings/app,control-openhands browser enabled 'testid=submit-button'(false) andcontrol-openhands browser attr 'testid=sidebar-settings-/settings/app' aria-current(page).Language (
F16.language). Runcontrol-openhands browser click 'testid=language-input'(16 options),control-openhands browser click 'role=option[name="Français"]',control-openhands browser enabled 'testid=submit-button'(true),control-openhands browser click 'testid=submit-button', thencontrol-openhands browser text 'testid=submit-button'. It readsEnregistrer les modificationswithout a reload. Runcontrol-openhands browser reload,control-openhands browser value 'testid=language-input'(Français),control-openhands browser screenshot --feature F16.language --name french(the screenshot, not a scoped snapshot, shows the sidebar's "Nouvelle discussion" and the headings "Titres des conversations", "Saisie vocale") andcontrol-openhands api GET /api/settings(languageisfr). Then check the document language withcontrol-openhands browser eval "document.documentElement.lang + ' ' + document.documentElement.dir"(fr ltr) and the translated sidebar trigger withcontrol-openhands browser attr 'testid=command-menu-trigger' aria-label(Rechercher des commandes). Chooserole=option[name="Arabic"]the same way (click the input, the option, Save, reload): theevalreadsar rtl, andcontrol-openhands browser bbox 'aside[data-collapsed]'hasx1140, so the 300 px sidebar now sits at the right edge of the 1440 px viewport.control-openhands browser screenshot --feature F16.language --name arabicshows the whole layout flipped right to left: the sidebar on the right, the settings navigation to its left, and the form on the left with its Arabic labels and values aligned right. Restore:control-openhands browser click 'testid=language-input',control-openhands browser click 'role=option[name="English"]',control-openhands browser click 'testid=submit-button',control-openhands browser reload,control-openhands browser text 'testid=submit-button'readsSave Changesand theevalreadsen ltr. In Arabic each settings switch keeps its thumb inside the track.Colour theme (
F16.color-theme). Runcontrol-openhands browser click 'testid=color-theme-input',control-openhands browser snapshot 'role=listbox'(OpenHands-DeepSea, OpenHands-Neutral [selected], OpenHands-Neo, Light+, Solarized Light),control-openhands browser click 'role=option[name="Light+"]', thencontrol-openhands browser eval "document.documentElement.style.colorScheme + ' ' + localStorage.getItem('openhands-color-theme')"(light light-plus) andcontrol-openhands browser enabled 'testid=submit-button'(false: no Save needed).control-openhands browser screenshot --feature F16.color-theme --name light-plusshows a white page. Second views:control-openhands browser reloadthencontrol-openhands browser value 'testid=color-theme-input'(Light+);control-openhands browser goto /thencontrol-openhands browser eval "getComputedStyle(document.body).backgroundColor + ' ' + document.documentElement.style.colorScheme"(rgb(255, 255, 255) light);control-openhands api GET /api/settingscontains no theme key. Solarized Light the same way readslight solarized-lightwith body backgroundrgb(253, 246, 227); both light themes define the Markdown alert inks (browser eval "getComputedStyle(document.body).getPropertyValue('--oh-markdown-alert-note')"is#005A99in Light+,#005A88in Solarized Light). Restore on/settings/app(control-openhands browser goto /settings/app; the second view left/) by choosingrole=option[name="OpenHands-Neutral"]the same way (dark openhands-neutral). Default primary: in OpenHands-Neutral click the Sound Notifications label (Save enables), thencontrol-openhands browser eval "(()=>{const s=getComputedStyle(document.querySelector('[data-testid=submit-button]'));return s.backgroundColor+' / '+s.color})()"isrgb(255, 255, 255) / rgb(24, 24, 24);browser scroll 'testid=submit-button'andbrowser screenshot --feature F16.color-theme --name default-primaryshow a white Save Changes. Click the label again (Save disabled).Analytics consent (
F16.analytics). Runcontrol-openhands browser click 'testid=app-settings-screen >> text=Send anonymous usage data', read the switch with theevalfrom Preconditions (true),control-openhands browser click 'testid=submit-button',control-openhands browser wait-text 'Settings saved',control-openhands browser reload, read the switch again (true),control-openhands api GET /api/settings(user_consents_to_analytics: true) andcontrol-openhands browser eval "localStorage.getItem('openhands-telemetry-consent')"(granted). Restore by clicking the label again and saving; consent readsdeniedand the APIfalse.Cloud forces analytics (
F16.analytics-cloud). Blocked: needs a Cloud backend selected in the backend selector. Expected:control-openhands browser enabled 'testid=enable-analytics-switch'isfalseand the switch reads checked.Consent reversal with an in-flight Automation write (
F16.analytics). With a non-DNT build using a dummy PostHog key and loopback-onlyVITE_POSTHOG_HOST(no external analytics delivery), save opt-in and confirm its consent POST returned 200. Runservice pause automation, save opt-out then opt-in through the same switch, andservice resume automationbefore the five-second request timeout. Record the UI transitions and readbrowser network --filter 'telemetry/consent' --bodies; the final granted value must be posted and acknowledged. Resume beforestop. The default hard-DNT build cannot exercise this reversal.Sound notifications (
F16.sound). Runcontrol-openhands browser click 'testid=app-settings-screen >> text=Sound Notifications',control-openhands browser click 'testid=submit-button',control-openhands browser wait-text 'Settings saved',control-openhands browser reload, readenable-sound-notifications-switch(true) andcontrol-openhands api GET /api/settings(enable_sound_notifications: true). Restore by toggling and saving again (false). Audible half: with the switch on and saved,control-openhands conversation start --prompt "Reply with only the word ok. Do not run any tools." --wait --timeout 180, thencontrol-openhands browser media:playslists one/assets/notification-<hash>.mp3at the moment the conversation finished. With the switch off, the same check after a conversation readsplays: [](theF16.git-identityconversation below doubles as that negative check). Turn the switch off and save afterwards (control-openhands browser goto /settings/appfirst:conversation startleft the browser on the conversation).Getting Started checklist (
F16.checklist). Runcontrol-openhands browser count 'testid=sidebar-onboarding-checklist'(1),control-openhands browser click 'testid=app-settings-screen >> text=Show Getting Started checklist', then the samecount(0, immediately) andcontrol-openhands browser enabled 'testid=submit-button'(false).control-openhands browser screenshot --feature F16.checklist --name hiddenshows the sidebar without the "Getting started" card.control-openhands browser reloadkeeps the count at0and the switch unchecked. Click the label again to restore; the count returns to1.Recommended automations (
F16.recommended-automations). Runcontrol-openhands browser eval "document.querySelector('[data-testid=show-recommended-automations-switch]').checked"(trueby default),control-openhands browser click 'testid=show-recommended-automations-switch >> xpath=ancestor::label', then the sameeval(false),control-openhands browser enabled 'testid=submit-button'(false: no Save) andcontrol-openhands browser eval "localStorage.getItem('openhands.home_recommended_automations_dismissed')"(true);browser reloadkeeps itfalse, andcontrol-openhands api GET /api/settingsholds no such key.control-openhands browser click 'testid=sidebar-conversations-link' --expect-url '/conversations':browser count 'testid=recommended-automations-rail'is0. Back on/settings/app, click the label again (true, storagefalse) and return to/conversations:browser wait 'testid=recommended-automations-rail'succeeds. After the rail's X was used on Home (F03.recommended-rail-dismiss), this switch readsfalsewithout a reload. Atbrowser viewport phonethe label isinsideViewportwithpageHorizontalOverflowfalse(browser screenshot --feature F16.recommended-automations --name phone).Title generation model (
F16.title-model). Runcontrol-openhands browser click 'testid=title-llm-profile-input'andcontrol-openhands browser snapshot 'role=listbox': optionsAutomatic (recommended),deepseek-flash · deepseek/deepseek-flash,deepseek-pro · deepseek/deepseek-v4-pro. Runcontrol-openhands browser click 'role=option >> has-text=deepseek-pro',control-openhands browser click 'testid=submit-button',control-openhands browser wait-text 'Settings saved',control-openhands browser reload,control-openhands browser value 'testid=title-llm-profile-input'(deepseek-pro · deepseek/deepseek-v4-pro) andcontrol-openhands api GET /api/settings(title_llm_profile: "deepseek-pro"). Thencontrol-openhands conversation start --prompt "Reply with only the word ok. Do not run any tools." --wait --timeout 180and, a few seconds later,control-openhands conversation status <id>with theidit printed:titleis a generated title: an emoji and a short phrase whose wording varies (for example🔧 Acknowledge with ok only). The start output's owntitlemay already be set; when it is stillnull, the title is written a few seconds after the run finishes. Return withcontrol-openhands browser goto /settings/app, chooserole=option[name="Automatic (recommended)"], save;title_llm_profileis then absent fromapp_preferences.Manage LLM profiles link (
F16.manage-profiles-link). Runcontrol-openhands browser click 'role=link[name="Manage LLM profiles"]'thencontrol-openhands browser url; it ends in/settings/llmandcontrol-openhands browser count 'testid=profile-row'lists the profiles.Deleted profile falls back (
F16.title-model-fallback). Arrange a throwaway profile:control-openhands llm set --profile qa-title --model deepseek/deepseek-flash --api-key-file <key file> --no-activate --no-validate. On/settings/appselect it (control-openhands browser click 'testid=title-llm-profile-input',control-openhands browser click 'role=option >> has-text=qa-title', save). Delete it through the UI:control-openhands browser click 'role=link[name="Manage LLM profiles"]',control-openhands browser click 'testid=profile-row >> has-text=qa-title >> testid=profile-menu-trigger',control-openhands browser click 'testid=profile-actions-menu >> testid=profile-delete',control-openhands browser click 'testid=delete-profile-confirm', thencontrol-openhands browser click 'testid=sidebar-settings-/settings/app'.control-openhands browser value 'testid=title-llm-profile-input'isAutomatic (recommended), Save is disabled, andtitle_llm_profileis absent from the API'sapp_preferences. For a preference that goes stale outside the UI, arrangecontrol-openhands api PATCH /api/settings --data '{"misc_settings_diff":{"app_preferences":{"title_llm_profile":"qa-missing"}}}' --write, thencontrol-openhands browser reload: the dropdown still showsAutomatic (recommended)and Save stays disabled, while the API keepsqa-missinguntil the next Save of this form. Any Save writes the form's current preferences, which no longer hold the stale key, so saving an unrelated change removes it: toggle Sound Notifications, save, toggle back, save.Voice input endpoint (
F16.voice-endpoint). Runcontrol-openhands browser fill 'testid=transcription-base-url-input' http://127.0.0.1:9/v1,control-openhands browser fill 'testid=transcription-api-key-input' qa-dummy-key,control-openhands browser fill 'testid=transcription-model-input' qa-whisper, thencontrol-openhands browser enabled 'testid=submit-button'(false) andcontrol-openhands browser attr 'testid=transcription-api-key-input' type(password). Aftercontrol-openhands browser reload,control-openhands browser value 'testid=transcription-model-input'isqa-whisper(same for the other two).control-openhands browser eval "localStorage.getItem('openhands-transcription-endpoint') + ' | session=' + sessionStorage.getItem('openhands-transcription-api-key')"reads{"baseUrl":"http://127.0.0.1:9/v1","model":"qa-whisper"} | session=qa-dummy-key; the API body has noqa-whisper. Clear each withcontrol-openhands browser fill 'testid=transcription-base-url-input' ''(and the other two). Using the endpoint from the composer microphone is not driven here (needs microphone capture and a transcription server).Git identity (
F16.git-identity). Runcontrol-openhands browser fill 'testid=git-user-name-input' 'QA Tester',control-openhands browser fill 'testid=git-user-email-input' '[email protected]',control-openhands browser click 'testid=submit-button',control-openhands browser wait-text 'Settings saved',control-openhands browser reload, thencontrol-openhands browser value 'testid=git-user-name-input'(QA Tester) andcontrol-openhands api GET /api/settings(git_user_name,git_user_emailset). Agent half:control-openhands conversation start --prompt "Run exactly this command and reply with only its output: env | grep -c '^GIT_'; git init -q qa_t && cd qa_t && git commit --allow-empty -qm x; git log -1 --format='%an <%ae>'" --wait --timeout 240, thencontrol-openhands conversation events <id> --kinds ObservationEvent,MessageEventwith theidfrom the start output. Expected:QA Tester <[email protected]>. Known failure (reproduced again 2026-10-17, #17899): the observation is0 Author identity unknown ...: the identity is stored only inmisc_settings.app_preferencesand never reaches the new agent runtime. UI/API persistence passes separately; the test did not configure git itself or create a successful commit.Git validation and defaults (
F16.git-identity-validation). Runcontrol-openhands browser fill 'testid=git-user-email-input' 'not-an-email',control-openhands browser click 'testid=submit-button', thencontrol-openhands browser eval "document.querySelector('[data-testid=git-user-email-input]').validationMessage"(Please include an '@' in the email address. ...); the API email is unchanged. Thencontrol-openhands browser fill 'testid=git-user-email-input' '',control-openhands browser fill 'testid=git-user-name-input' '', click submit,control-openhands browser wait-text 'Settings saved',control-openhands browser reload: the inputs readopenhandsand[email protected], which also restores the baseline.Save button states (
F16.save-states). Click the analytics label once:control-openhands browser enabled 'testid=submit-button'istrue; click it again:false(back to the stored value). With the backend healthy, successful saves toastSettings savedin English (see the translated-toast gotcha). For a failed save, stop only this run's Agent Server after the page loads, edit Sound Notifications and Git Username, then Save. The error toast isAn error occurred; both edits remain and Save stays enabled. Restart and doctor without navigating away, then retry: the same edits persist inmisc_settings.app_preferencesand after reload. To inspect the pending state without racing a fast response, pause this run's Agent Server immediately before the retry, inspect the mounted fieldset andSaving..., then resume promptly. Resume before stopping the run. A pending Save disables the native fields and never substitutesapp-settings-skeleton. The recording may pause only while the owned stack restarts.control-openhands restart control-openhands doctor control-openhands browser viewport desktop control-openhands browser goto /settings/app control-openhands browser wait 'testid=submit-button' control-openhands assert --field value --equals false -- browser eval "document.querySelector('[data-testid=enable-sound-notifications-switch]').checked" control-openhands service stop agent-server control-openhands browser record start --feature F16.save-states --name failed-save-desktop control-openhands browser click 'testid=app-settings-screen >> text=Sound Notifications' control-openhands browser click 'testid=submit-button' control-openhands browser wait-text 'An error occurred' control-openhands browser screenshot --feature F16.save-states --name failed-save-desktop control-openhands browser record stop --gif control-openhands restart control-openhands assert --field value --equals true -- browser eval "document.querySelector('[data-testid=enable-sound-notifications-switch]').checked"control-openhands restart control-openhands doctor control-openhands browser viewport phone control-openhands browser goto /settings/app control-openhands browser wait 'testid=submit-button' control-openhands assert --field value --equals false -- browser eval "document.querySelector('[data-testid=enable-sound-notifications-switch]').checked" control-openhands service stop agent-server control-openhands browser record start --feature F16.save-states --name failed-save-phone control-openhands browser click 'testid=app-settings-screen >> text=Sound Notifications' control-openhands browser click 'testid=submit-button' control-openhands browser wait-text 'An error occurred' control-openhands browser screenshot --feature F16.save-states --name failed-save-phone control-openhands browser record stop --gif control-openhands restart control-openhands assert --field value --equals true -- browser eval "document.querySelector('[data-testid=enable-sound-notifications-switch]').checked"Keyboard and screen readers (
F16.keyboard). Runcontrol-openhands browser focus 'testid=color-theme-input', then repeatcontrol-openhands browser press Tabandcontrol-openhands browser eval "(document.activeElement.getAttribute('data-testid')||'') + ' ' + document.activeElement.tagName". Expected (the acceptance criterion): focus visits the four switches beforetitle-llm-profile-input. The first Tab lands onenable-analytics-switch, followed byenable-sound-notifications-switch,show-getting-started-checklist-switchandshow-recommended-automations-switch; Space toggles the focused checkbox.control-openhands browser snapshot 'testid=app-settings-screen' --feature F16.keyboard --name ariaexposes each checkbox label and checked state. The label draws a visible focus outline.control-openhands browser viewport desktop control-openhands browser goto /settings/app control-openhands browser wait 'testid=submit-button' control-openhands browser record start --feature F16.keyboard --name keyboard-desktop control-openhands browser focus 'testid=color-theme-input' control-openhands browser press Tab control-openhands browser press Escape control-openhands browser screenshot --feature F16.keyboard --name keyboard-desktop control-openhands browser record stop --gif control-openhands assert --field value --equals enable-analytics-switch -- browser eval "document.activeElement.getAttribute('data-testid')"control-openhands browser viewport phone control-openhands browser goto /settings/app control-openhands browser wait 'testid=submit-button' control-openhands browser record start --feature F16.keyboard --name keyboard-phone control-openhands browser focus 'testid=color-theme-input' control-openhands browser press Tab control-openhands browser press Escape control-openhands browser screenshot --feature F16.keyboard --name keyboard-phone control-openhands browser record stop --gif control-openhands assert --field value --equals enable-analytics-switch -- browser eval "document.activeElement.getAttribute('data-testid')"Phone layout (
F16.phone). Runcontrol-openhands browser viewport phone,control-openhands browser goto /settings/app,control-openhands browser bbox 'testid=app-settings-screen'(pageHorizontalOverflow: false, width 348 at x 16),control-openhands browser screenshot --feature F16.phone --name top,control-openhands browser scroll 'testid=submit-button',control-openhands browser bbox 'testid=submit-button'(insideViewport: true) andcontrol-openhands browser screenshot --feature F16.phone --name bottom. Return withcontrol-openhands browser viewport desktop.Clear the title model (
F16.title-model-clear). Runcontrol-openhands browser click 'testid=title-llm-profile-input',control-openhands browser click 'role=option >> has-text=deepseek-flash'(Save enables),control-openhands browser hover 'testid=title-llm-profile-input', thencontrol-openhands browser click 'testid=title-llm-profile-input >> xpath=../..//button[not(@aria-label)]'.control-openhands browser value 'testid=title-llm-profile-input'readsAutomatic (recommended)andcontrol-openhands browser enabled 'testid=submit-button'isfalse. Without the hover the click times out (<div ...> intercepts pointer events).Filter a dropdown by typing (
F16.dropdown-filter). Runcontrol-openhands browser fill 'testid=language-input' Deuandcontrol-openhands browser snapshot 'role=listbox': the only option isDeutsch. Save is brieflytruewhile the text is typed;control-openhands browser press Escaperestorescontrol-openhands browser value 'testid=language-input'toEnglishandcontrol-openhands browser enabled 'testid=submit-button'tofalse.Browser vs backend scope (
F16.browser-scope). ChooseDeutschintestid=language-inputand save (wait untilcontrol-openhands browser text 'testid=submit-button'readsÄnderungen speichern), chooseSolarized Lightintestid=color-theme-input, hide the checklist withcontrol-openhands browser click 'testid=show-getting-started-checklist-switch >> xpath=ancestor::label'(the label text is German now) and turn offshow-recommended-automations-switchthe same way. Thencontrol-openhands browser reset,control-openhands onboard --skip,control-openhands browser goto /settings/app,control-openhands browser wait 'testid=submit-button':control-openhands browser text 'testid=submit-button'isÄnderungen speichernandcontrol-openhands browser value 'testid=language-input'isDeutsch(backend), whilecontrol-openhands browser value 'testid=color-theme-input'isOpenHands-Neutral,control-openhands browser eval "localStorage.getItem('openhands-color-theme')"isnullcontrol-openhands browser count 'testid=sidebar-onboarding-checklist'is1andbrowser eval "localStorage.getItem('openhands.home_recommended_automations_dismissed')"isnullwith the Home rail shown (browser-only, back to defaults). Restore English (the option keeps its English name in the German UI):control-openhands browser click 'testid=language-input',control-openhands browser click 'role=option[name="English"]',control-openhands browser click 'testid=submit-button',control-openhands browser reload,control-openhands browser wait 'testid=submit-button';control-openhands browser text 'testid=submit-button'readsSave Changesandcontrol-openhands api GET /api/settings --pick misc_settings.app_preferences.languageisen.Backend switch in place (
F16.backend-switch). Needs a second backend with a different Git username: the second stack from F25's Preconditions added asQA_Second(F25 Add bullet), arranged withcontrol-openhands api PATCH /api/settings --run "$OH_VERIFY_RUN_2" --write --data '{"misc_settings_diff":{"app_preferences":{"git_user_name":"QA Second Git"}}}'. With Local active, runcontrol-openhands browser goto /settings/appandcontrol-openhands browser reload;browser value 'testid=git-user-name-input'isopenhands. Switch without leaving the page:control-openhands browser click 'testid=backend-selector',control-openhands browser click 'testid=backend-selector >> role=option[name="Connected QA_Second"]',control-openhands browser wait 'testid=environment-switch-overlay' --state detached --timeout 10000, wait a few seconds: the value isQA Second Gitandbrowser text 'testid=backend-synced-settings-badge'names QA_Second (a first visit to a backend loads fresh). Switch back the same way toConnected Local: the value isopenhandsbesidesynced from Local backend, and it keeps following the active backend on further switches. The form remounts per backend, so an unsaved edit is dropped: on Local runcontrol-openhands browser fill 'testid=git-user-name-input' 'QA Local Edit'(browser enabled 'testid=submit-button'istrue), switch toQA_Second(QA Second Git, Savefalse) and back (openhands, Savefalse);control-openhands api GET /api/settings --pick misc_settings.app_preferences.git_user_nameis unchanged. Atbrowser viewport phonethe selector is in the drawer (testid=sidebar-mobile-menu-toggle, then'testid=sidebar-mobile-drawer >> testid=backend-selector'androle=option[name="Connected QA_Second"]; close the drawer withbrowser mouse-click 370 400) and the field follows the same way. Switch back to Local and removeQA_Secondafterwards (F25).After the family,
control-openhands browser errors --app-onlyreportsappErrors: 0. Requests toregistry.npmjs.org(update check) and Google Fonts fail through the sandbox proxy; they are not app errors.Hard Do Not Track (
F16.analytics). With the harness build'sVITE_DO_NOT_TRACK=1, open/settings/app, readbrowser network --external --filter 'posthog|z.openhands.dev'andbrowser storage. Grant analytics through the real switch and Save, reload, inspect those again, then revoke and Save to restore. Expected: zero PostHog requests and no PostHog storage key, including after opt-in. This checks the build flag; browser-only DNT and builds without it have separate paths.
Regression check (F16.language, rtl-switch-containment):
control-openhands browser viewport desktop
control-openhands api PATCH /api/settings --write --data '{"misc_settings_diff":{"app_preferences":{"language":"ar","user_consents_to_analytics":false}}}'
control-openhands browser goto /settings/app
control-openhands browser wait 'testid=enable-analytics-switch'
control-openhands browser click 'testid=enable-analytics-switch >> xpath=ancestor::label'
control-openhands browser eval 'new Promise(r=>setTimeout(r,350))'
control-openhands browser screenshot --feature F16.language --name rtl-analytics-checked
control-openhands assert --field value --equals true -- browser eval "(()=>{const i=document.querySelector('[data-testid=enable-analytics-switch]');const t=i.closest('label').querySelector('span[aria-hidden=true]');const a=t.getBoundingClientRect(),b=t.firstElementChild.getBoundingClientRect();return document.documentElement.dir==='rtl'&&i.checked&&b.left>=a.left&&b.right<=a.right})()"
Regression check (F16.language, rtl-unchecked-and-checklist):
control-openhands browser viewport desktop
control-openhands api PATCH /api/settings --write --data '{"misc_settings_diff":{"app_preferences":{"language":"ar","user_consents_to_analytics":false}}}'
control-openhands browser goto /settings/app
control-openhands browser wait 'testid=enable-analytics-switch'
QA_CHECKLIST=$(control-openhands browser eval "document.querySelector('[data-testid=show-getting-started-checklist-switch]').checked" | jq -r .value)
if [ "$QA_CHECKLIST" = false ]; then
control-openhands browser click 'testid=show-getting-started-checklist-switch >> xpath=ancestor::label'
fi
control-openhands browser eval 'new Promise(r=>setTimeout(r,350))'
control-openhands assert --field value --equals true -- browser eval "document.documentElement.dir==='rtl'&&!document.querySelector('[data-testid=enable-analytics-switch]').checked&&document.querySelector('[data-testid=show-getting-started-checklist-switch]').checked"
control-openhands browser screenshot --feature F16.language --name rtl-unchecked-and-checklist
control-openhands assert --field value --equals true -- browser eval "['enable-analytics-switch','show-getting-started-checklist-switch'].every(id=>{const i=document.querySelector('[data-testid='+id+']');const t=i.closest('label').querySelector('span[aria-hidden=true]');const a=t.getBoundingClientRect(),b=t.firstElementChild.getBoundingClientRect();return b.left>=a.left&&b.right<=a.right})"
Gotchas
- Two save models on one form: theme, checklist, recommended automations and voice input apply instantly and ignore Save; the rest is dropped silently if you navigate away before Save (filling
git-user-name-input, then clickingsidebar-settings-/settings/secretsand back, shows the storedopenhandsagain;browser dialogsis empty). Assert the instant ones without clicking Save, and never expect Save to enable for them. - The success toast uses the language that was active when you clicked Save, not the one you saved. In
F16.languagethe French Save toastsSettings saved, the Arabic Save toastsParamètres enregistrés, and the English restore toastsتم حفظ الإعدادات, sowait-text 'Settings saved'times out on the last two. Assert withbrowser text 'testid=submit-button'after a reload, or read the toast withbrowser toasts. - Some chrome strings stay English after a language switch: the sidebar Automate label in every language (the automation interface supplies it, not the translation file), and most of the command menu's own texts (placeholder
Search actions, pages, and settings..., the search box'sSearch commandsname, the group names and the item names) in French and 11 other languages. Only the Model Router and Agent Context items are translated (Routeur de modèlesandContexte de l'agentin French), because they reuse the settings navigation's titles. Do not treat the English ones as a language switch failure; the sidebar trigger'sSearch commandsis translated. - In Arabic (
dir="rtl"), check both on/off thumb containment within the track and the native.checkedstate. State readback alone does not prove correct placement; the normal RTL regression recipes above retain both assertions. - The switches are visually hidden native checkboxes: Use the label as the pointer target. Click the label text scoped to
testid=app-settings-screen, or use Tab/Space, and read.checkedthrougheval. role=option[name^=...]is not supported by the selector parser; userole=option >> has-text=<profile>for profile options whose names include the model.conversation startleaves the browser on the conversation page, which also has atestid=submit-button;goto /settings/appbefore the next settings step or clicks hit the composer.- Which profile actually generated a title is not visible in the UI, the conversation API or the stack logs;
F16.title-modelproves the preference is stored and a title appears, not which model wrote it. onboard --skipstores analytics off, so a fresh run starts with the switch unchecked even though the code defaults to on when the preference is missing.browser storagelistslocalStorage, andbrowser storage --sessionlistssessionStorage, where the voice-input key lives. With--valuesthat key prints as<redacted>, so the recipe reads its dummy value witheval. The key disappears in a new tab or browser session by design.- Deleting a profile through the LLM settings UI clears a matching title preference itself; only a profile removed outside the UI leaves a stale
title_llm_profilethat this page shows as Automatic. - The Title generation model combobox has a clear (×) button with no accessible name (
- buttonin the snapshot, visible as × at phone width). At desktop width it only takes clicks afterbrowser hoveron the input (F16.title-model-clear); otherwise use the Automatic option. browser evalwraps its argument as an expression: statements separated by;fail withSyntaxError: Unexpected token ';'; wrap them in(() => { ...; return x; })().- With
service stop agent-server, abrowser reloadof/settings/appshows the backend-unavailable screen (agent-server-onboarding-screen, Manage backends), not the form: stop the service only after the page is loaded, andrestartafterwards. - Known product bugs (repro candidates): git identity never reaches the agent (#17899).
- The harness builds with
VITE_DO_NOT_TRACK=1, so PostHog never starts:browser network --filter 'posthog|z\.openhands\.dev'reportstotal0, also after analytics consent is granted (#18086). A browser-only Do Not Track setting is outside this recipe. Consent reversal requires the explicit non-DNT build and loopback-only analytics configuration described above, served withlaunch --build never(F16.analytics). - The title model's clear button has no test id: the recipe's xpath relies on DOM nesting to skip the unnamed
Show suggestionsbutton. If both ever match, Playwright's strict mode fails the click instead of pressing the wrong one; report it as harness drift.