Skip to content

Releases: browserstack/wdio-browserstack-service

@wdio/browserstack-service@9.30.2

Choose a tag to compare

@github-actions github-actions released this 23 Jul 13:04
368f895

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

Choose a tag to compare

@github-actions github-actions released this 23 Jul 13:09
9cf34ac

Minor Changes

  • 46ee119: BrowserStack now publishes @wdio/browserstack-service from 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 webdriverio as a dependency instead of a peerDependency, matching the v8 package published from the WebdriverIO monorepo (@wdio/browserstack-service@8.48.3 keeps webdriverio in dependencies at 8.46.0, peering only @wdio/cli). The extraction had moved it into peerDependencies (^8.0.0), which forces the consumer's webdriverio and can npm ERESOLVE against a dep peering a non-overlapping webdriverio range. 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_SCREENSHOT log (the binary uploads it via its own authorized testhub session) instead of the direct-HTTP onScreenshot path, which 401s under the worker's binary-issued JWT. Also registers the command/result listeners in CLI mode so the user's saveScreenshot()/takeScreenshot() result is captured, and honors the incoming log kind in 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.testPlanId support (env BROWSERSTACK_TEST_PLAN_ID / --browserstack.testManagementOptions.testPlanId CLI arg / config), forward test_management.test_plan_id in 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 SIGINT instead of SIGKILL on Unix.
    • webdriverio/webdriverio#15200 — Logging: redact credentials (username/accesskey/user/key) from CLI log output before writing to file and console.

@wdio/browserstack-service@9.30.1

Choose a tag to compare

@github-actions github-actions released this 21 Jul 13:21
9557e0e

Patch Changes

  • de1684b: Refresh the framework session id on reloadSession so Test Observability keeps linking to the correct session after a reload (#54), and declare browser.setCustomTags on the WebdriverIO.Browser type so it type-checks in consumer projects (SDK-6882, #53).

@wdio/browserstack-service@9.30.0

Choose a tag to compare

@github-actions github-actions released this 15 Jul 13:20
114c7ba

Minor Changes

  • e4cf295: Publish from the standalone browserstack/wdio-browserstack-service repo, 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, and yauzl upgraded to ^3.4.0. No user-facing API change.
  • 46ee119: BrowserStack now publishes @wdio/browserstack-service from 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 webdriverio as a dependency instead of a peerDependency, matching the package published from the WebdriverIO monorepo. The extraction had moved webdriverio into peerDependencies (^9.0.0); npm then forced the consumer's webdriverio to ^9, which conflicts with any project that also depends on a package peering webdriverio@"^7 || ^8" (e.g. wdio-chromedriver-service@^8) and surfaced as an npm ERESOLVE on 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/context commands, 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.