Home of @wdio/browserstack-service — the BrowserStack WebdriverIO integration, maintained by BrowserStack.
| Package | npm | What it is |
|---|---|---|
packages/browserstack-service |
@wdio/browserstack-service |
The WebdriverIO service users add via services: ['browserstack']. Its gRPC/protobuf client is generated from the bundled .proto files at build time. |
Nothing changes — install the service and add it to your WebdriverIO config:
npm i -D @wdio/browserstack-service// wdio.conf.js
export const config = {
services: ['browserstack'],
// ...
}See the service README for full configuration.
This is an npm workspace with a single published package.
npm ci # install
npm run build # generate the gRPC client from proto, then compile
npm test # run the service test suitenpm run generate(inside the package) runsbuf generateto emit the gRPC/protobuf client intosrc/grpc/generatedfrom the.protofiles undersrc/proto.npm run buildruns this automatically before compiling, so the generated code is never committed.- The service is bundled with esbuild (deps kept external) and ships TypeScript declarations from
tsc.
@wdio/browserstack-service is versioned and published with Changesets
on BrowserStack's own cadence (independent of WebdriverIO core's release schedule):
main→latestdist-tag (v9 line)v8branch →v8dist-tag (v8 line)
Publishing uses npm OIDC trusted publishing (no long-lived token; provenance-signed). The gRPC/protobuf
client is generated inline at build time from the .proto files in this repo — there is no separately
published core package.