Repository navigation
chore: Remove dead tunnel aliases and align docs with the code - #182
Conversation
Drop the deprecated browserstackLocal, saucelabsLocal and testmuLocal start_session params: tunnel defaults to false, so the fallback to them never ran. The BrowserStack local-binary resource now matches the Sauce Labs and TestingBot ones (tunnel: true auto-starts; the manual daemon is for tunnel: "external"). close_session and the noReset start note now describe what the code does: only attach_session and provider "external" sessions detach by default. CLAUDE.md and README.md: instrument() wraps recorded tools, registerTool lives in server.ts, template resources are not listed, and noReset sessions close rather than detach. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
[Medium impact] The main reach is cloud browser and mobile session setup across three providers. The PR appears safe to merge, with a non-blocking correction needed to the cloud mobile start message. Findings
SummaryRemoves deprecated tunnel aliases and updates session and resource guidance.
Intentional change acknowledged by Winify: removal of Reviews (1) · Last reviewed commit: "chore: Remove dead tunnel aliases and al..." · Reviewed by Greptile |
| const detachNote = noReset === true | ||
| ? '\n\n(noReset: app data is kept. close_session ends the Appium session; close_session({ detach: true }) leaves it running.)' |
There was a problem hiding this comment.
App data promise is unsupported
A cloud mobile session started with noReset: true now says “app data is kept,” but the cloud providers do not pass that option to Appium. For example, BrowserStackProvider.buildCapabilities() sends no appium:noReset unless the caller supplies it separately through capabilities. Users are therefore promised behavior their session did not request. Only show this assurance when the generated capabilities actually request it.
Drop the deprecated browserstackLocal, saucelabsLocal and testmuLocal start_session params: tunnel defaults to false, so the fallback to them never ran. The BrowserStack local-binary resource now matches the Sauce Labs and TestingBot ones (tunnel: true auto-starts; the manual daemon is for tunnel: "external").
close_session and the noReset start note now describe what the code does: only attach_session and provider "external" sessions detach by default.
CLAUDE.md and README.md: instrument() wraps recorded tools, registerTool lives in server.ts, template resources are not listed, and noReset sessions close rather than detach.
Proposed changes
Types of changes
Checklist
Further comments
Reviewers: @webdriverio/project-committers