A WebDriver.IO service that captures it() block test case names and logs them in the browser console using browser.execute(). This is useful for tracking test progress on LambdaTest's platform. Current stable version is 2.0.3. It is maintained by LambdaTest and releases follow their internal cadence. The key differentiator is that it automates test name reporting without manual instrumentation, specifically tailored for LambdaTest's analytics. Compared to generic logging, it integrates tightly with WebDriverIO's service lifecycle and requires minimal configuration.
npm install wdio-lambdatest-test-case-analytics-serviceNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Example wdio.conf.ts configuration showing how to enable the LambdaTest Test Case Analytics service with authentication and minimal setup.
Use import() or configure your project for ESM (e.g., set type: 'module' in package.json).
Stay updated with changelog and update the service string accordingly.
Install @wdio/types as a dev dependency: npm install --save-dev @wdio/types
Ensure your project uses WebdriverIO as the test runner, not just as a browser automation library.
If your application has strict CSP, configure the policy to allow 'unsafe-eval' or use a custom logging method.
Run 'npm install wdio-lambdatest-test-case-analytics-service' and ensure node_modules is in the correct directory.
Check that the service string 'lambdatest-test-case-analytics' is correctly added in the services array in wdio.conf.
Install @wdio/types as a dev dependency: npm install --save-dev @wdio/types
Run 'npm install wdio-lambdatest-test-case-analytics-service' and ensure the service string matches exactly.