Chromium Setup Workflow
Routing
Prepare only the Appium Chromium route for Chrome, Chromium, or Edge desktop
browsers. Use driver-specific official guidance for an existing runtime failure
after setup passes.
Required inputs
Confirm the browser and executable when non-default, global appium mode or
explicitly requested local npx appium mode, host OS, permissions, and whether
a session-time browser-driver download is authorized.
Workflow
- Load the global command profile by default or the local profile only when
explicitly requested.
- Load the Chromium profile, shared Appium setup basics, browser prerequisites,
and Chromium decision, driver-validation, and smoke references.
- Run
node tools/appium/setup/scripts/check-chromium-env.mjs --format summary --report auto; add
--appium-mode local only for explicitly requested local mode. Require
top-level summary.requiredOk: true.
Apply required fixes in technical dependency order and rerun affected checks.
If the gate remains unresolved, report blocked with evidence and the next
action. Load the matching example only when needed.
- Verify
appium driver doctor chromium reports
0 required fixes needed, or record not-supported and require the
install, list, browser, and smoke gates instead. Use
npx --no-install appium ... for the direct check in local mode.
- Run
node tools/appium/setup/scripts/smoke-appium-server.mjs --driver chromium --report auto;
add --appium-mode local only in local mode. Require
summary.requiredOk: true for server readiness, driver evidence, and
cleanup. The smoke reference documents target-specific options.
This also requires a browser session to be created and deleted successfully.
Chromium setup safety and approval constraints
- Ask before privileged package-manager commands, browser installation, or a
session-time browser-driver download.
- Preserve the selected command mode and existing working browser and driver
installations.
Completion criteria
- Appium succeeds in the selected command mode with major version
>= 3.
- The installed driver list includes
chromium.
- At least one supported Chromium browser is available.
- Doctor reports
0 required fixes needed when supported; otherwise the
install, list, browser, and smoke gates pass.
/status succeeds, logs list chromium, and the minimal browser session
helper reports top-level summary.requiredOk: true.
Evidence boundary
Report Appium and driver versions, browser and executable evidence, helper and
doctor summaries, /status, server driver evidence, minimal session result,
and cleanup.
Self-Improvement Prompt
Before the final response, report any missing, ambiguous, outdated, or
retry-causing Chromium setup instruction with its asset path and proposed
wording. Leave unrelated assets unchanged.
1---2name: setup-chromium3description: Prepare and verify Appium Chromium for Chrome, Chromium, or Edge desktop automation by validating Node/Appium, browser prerequisites, driver installation, doctor support, and a minimal browser-session smoke check. Use after the setup Skill selects Chromium. Do not use for an existing Chromium runtime failure after prerequisites pass.4---56# Chromium Setup Workflow78## Routing910Prepare only the Appium Chromium route for Chrome, Chromium, or Edge desktop11browsers. Use driver-specific official guidance for an existing runtime failure12after setup passes.1314## Required inputs1516Confirm the browser and executable when non-default, global `appium` mode or17explicitly requested local `npx appium` mode, host OS, permissions, and whether18a session-time browser-driver download is authorized.1920## Workflow21221. Load the global command profile by default or the local profile only when23 explicitly requested.242. Load the Chromium profile, shared Appium setup basics, browser prerequisites,25 and Chromium decision, driver-validation, and smoke references.263. Run `node tools/appium/setup/scripts/check-chromium-env.mjs --format summary --report auto`; add27 `--appium-mode local` only for explicitly requested local mode. Require28 top-level `summary.requiredOk: true`.29 Apply required fixes in technical dependency order and rerun affected checks.30 If the gate remains unresolved, report `blocked` with evidence and the next31 action. Load the matching example only when needed.324. Verify `appium driver doctor chromium` reports33 `0 required fixes needed`, or record `not-supported` and require the34 install, list, browser, and smoke gates instead. Use35 `npx --no-install appium ...` for the direct check in local mode.365. Run `node tools/appium/setup/scripts/smoke-appium-server.mjs --driver chromium --report auto`;37 add `--appium-mode local` only in local mode. Require38 `summary.requiredOk: true` for server readiness, driver evidence, and39 cleanup. The smoke reference documents target-specific options.40 This also requires a browser session to be created and deleted successfully.4142## Chromium setup safety and approval constraints4344- Ask before privileged package-manager commands, browser installation, or a45 session-time browser-driver download.46- Preserve the selected command mode and existing working browser and driver47 installations.4849## Completion criteria5051- Appium succeeds in the selected command mode with major version `>= 3`.52- The installed driver list includes `chromium`.53- At least one supported Chromium browser is available.54- Doctor reports `0 required fixes needed` when supported; otherwise the55 install, list, browser, and smoke gates pass.56- `/status` succeeds, logs list `chromium`, and the minimal browser session57 helper reports top-level `summary.requiredOk: true`.5859## Evidence boundary6061Report Appium and driver versions, browser and executable evidence, helper and62doctor summaries, `/status`, server driver evidence, minimal session result,63and cleanup.6465## Self-Improvement Prompt6667Before the final response, report any missing, ambiguous, outdated, or68retry-causing Chromium setup instruction with its asset path and proposed69wording. Leave unrelated assets unchanged.