Releases: browserstack/wdio-browserstack-service
Release list
@wdio/browserstack-service@9.32.0
Minor Changes
- 9b80e47: Add a
skipAppOverrideservice option for App Automate (Appium) runs. WithskipAppOverride: truethe service classifies the session as App Automate even when noappoption is set, does not upload an app, and does not inject anappium:appcapability — the user supplies the app reference themselves (e.g. a pre-uploadedbs://hash as a driver capability or viaBROWSERSTACK_APP_ID). Setting it together with anappoption logs a conflict warning and ignores theappoption;skipAppOverride: falsewith noappfails fast with a configuration error before any session starts. Unset keeps existing behaviour unchanged.
@wdio/browserstack-service@9.31.0
Minor Changes
-
bebf0f1: - App Accessibility scans triggered inside test hooks (
before/after,beforeEach/afterEach) are now correctly attributed to the wrapping test instead of being dropped. -
517d64d: - Custom tags (
browser.setCustomTags) set inside MochabeforeEach/afterEachhooks now reliably land on the intended test's custom metadata, unioning and deduping with tags set in the test body (parity with Java@Before/@After). -
05fe529: Custom tags (
browser.setCustomTags) set inside MochabeforeEach/afterEachhooks now reliably land on the intended test's custom metadata. WDIO's Mocha runner fires user hooks outside the SDK's per-test tracking span —beforeEachruns before the test instance is tracked andafterEachruns after it is finished — so tags set in those hooks previously either attached to the wrong test or were dropped from the payload.Tags set in
beforeEachare now buffered and flushed onto the test at its start, and the test-finished event is deferred past theafterEachwindow so late tags still make the payload. Values set acrossbeforeEach, the test body, andafterEachunion and dedupe onto the test (parity with Java@Before/@After).
@wdio/browserstack-service@8.49.1
Patch Changes
- 6073bcc: Fixed skipped tests (it.skip, this.skip() in before/beforeEach hooks) and suites aborted by a failed before hook not being reported to Test Observability when using the CLI. Fixed Automate sessions from skipped/aborted spec files not being linked to the Test Observability build. Fixed hook results not appearing on the dashboard and a failed before hook not failing the build.
@wdio/browserstack-service@9.30.2
Patch Changes
- a43e534: - Fixed skipped tests (
it.skip,this.skip()in before/beforeEach hooks) and suites aborted by a failed before hook not being reported to Test Observability when using the CLI.- Fixed Automate sessions from skipped/aborted spec files not being linked to the Test Observability build.
@wdio/browserstack-service@8.49.0
Minor Changes
- 46ee119: BrowserStack now publishes
@wdio/browserstack-servicefrom its own repository
(browserstack/wdio-browserstack-service) on an independent release cadence, using npm OIDC
trusted publishing. No change for end users — same package name and the same
services: ['browserstack']configuration continue to work unchanged.
Patch Changes
-
f78d091: Declare
webdriverioas a dependency instead of a peerDependency, matching the v8 package published from the WebdriverIO monorepo (@wdio/browserstack-service@8.48.3keepswebdriverioindependenciesat8.46.0, peering only@wdio/cli). The extraction had moved it intopeerDependencies(^8.0.0), which forces the consumer'swebdriverioand cannpm ERESOLVEagainst a dep peering a non-overlappingwebdriveriorange. Restores install parity with the upstream v8 package; no user-facing API change. -
29be3ed: Port SDK-6277 (upstream webdriverio/webdriverio#15330): in the CLI/binary (v8) flow, forward screenshot-on-failure to the binary over gRPC as a
TEST_SCREENSHOTlog (the binary uploads it via its own authorized testhub session) instead of the direct-HTTPonScreenshotpath, which 401s under the worker's binary-issued JWT. Also registers the command/result listeners in CLI mode so the user'ssaveScreenshot()/takeScreenshot()result is captured, and honors the incoming logkindin the mocha CLI framework so screenshots route correctly. Keeps the standalone v8 line at parity with the monorepo. -
cc229fe: Port missing upstream monorepo (webdriverio/webdriverio) v8 commits to keep the standalone v8 line at parity:
- webdriverio/webdriverio#15231 — Test Management: add
testManagementOptions.testPlanIdsupport (envBROWSERSTACK_TEST_PLAN_ID/--browserstack.testManagementOptions.testPlanIdCLI arg / config), forwardtest_management.test_plan_idin the build-start request, strip CLI-only caps (NOT_ALLOWED_KEYS_IN_CAPS, incl.testManagementOptions) before hitting the hub, and surface build-start errors. - webdriverio/webdriverio#15217 — gRPC: raise the send/receive message size limit to 20 MB to accommodate large extension payloads.
- webdriverio/webdriverio#15146 — Exit handling: terminate the CLI process with
SIGINTinstead ofSIGKILLon Unix. - webdriverio/webdriverio#15200 — Logging: redact credentials (username/accesskey/user/key) from CLI log output before writing to file and console.
- webdriverio/webdriverio#15231 — Test Management: add
@wdio/browserstack-service@9.30.1
@wdio/browserstack-service@9.30.0
Minor Changes
- e4cf295: Publish from the standalone
browserstack/wdio-browserstack-servicerepo, at parity with the WebdriverIO monorepo. Includes Load Testing Service (LTS) support, one-to-many Test-Case-ID tagging (setCustomTestCaseId), correct test/hook finish on mocha timeouts, per-batch failure isolation in the request queue, accessibility Browser type augmentations, andyauzlupgraded to^3.4.0. No user-facing API change. - 46ee119: BrowserStack now publishes
@wdio/browserstack-servicefrom its own repository
(browserstack/wdio-browserstack-service) on an independent release cadence, using npm OIDC
trusted publishing. No change for end users — same package name and the same
services: ['browserstack']configuration continue to work unchanged.
Patch Changes
- 7306121: Declare
webdriverioas a dependency instead of a peerDependency, matching the package published from the WebdriverIO monorepo. The extraction had movedwebdriveriointopeerDependencies(^9.0.0); npm then forced the consumer'swebdriverioto^9, which conflicts with any project that also depends on a package peeringwebdriverio@"^7 || ^8"(e.g.wdio-chromedriver-service@^8) and surfaced as annpm ERESOLVEon install — a failure the monorepo-published package never had. Restores install parity with the upstream package; no user-facing API change. - 7d6f822: Port the 2026-07-10 monorepo accessibility/CLI fixes to keep the standalone at parity (webdriverio/webdriverio#15380, #15383, #15382, #15381, #15376): skip the accessibility scan for BiDi
window/contextcommands, route WDIO CLI-flow App Automate sessions to app-accessibility, finalize orphaned test runs on an interrupted exit, coerce stringified boolean accessibility options, and report mocha hooks in the CLI/testHub flow. No user-facing API change.