Skip to content

fix(browser): support Termux Android scenarios - #1655

Merged
morluto merged 3 commits into
morluto:mainfrom
tyloryang:fix/termux-android-browser
Oct 11, 2026
Merged

morluto merged 3 commits into
morluto:mainfrom
tyloryang:fix/termux-android-browser

Conversation

@tyloryang

Copy link
Copy Markdown
Contributor

Summary

  • add an Android-specific Playwright cache fallback before browser modules load
  • retain Termux exec interception for Chromium and use the Android-compatible Chromium flags
  • add a Termux build script using an isolated TypeScript 5.9 compiler because TypeScript 7 has no Android native compiler package
  • cover Android launch options and environment propagation

Validation

  • npm run build:termux
  • node_modules/.bin/vitest run src/browser/PlaywrightScenarioBrowser.test.ts
  • node scripts/verify-test-discovery.mjs
  • node scripts/rea.mjs mcp doctor --format json
  • Real Chromium 138.0.7204.168 capture through capture-browser-scenario: loaded a local HTTP page and captured URL plus DOM.

Notes

The Android launch path uses Chromium --no-sandbox --single-process. This is required on Termux because its Chromium renderer cannot cross Android executable boundaries in Playwright multi-process mode.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@morluto

morluto commented Oct 11, 2026

Copy link
Copy Markdown
Owner

Great PR thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants