
Product
Introducing Scala and Kotlin Support in Socket
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
webdriver-io-capture-it
Advanced tools
An SDK to capture it() block content in WebDriver.IO and log it as Test Case Name.
A WebDriver.IO service that captures the it()
block test case names and logs them in the browser console using the browser.execute()
function.
Install the package using npm:
npm install webdriver-io-capture-it
wdio-capture-it
service to your wdio.conf.js
file in your WebDriver.IO project:const WdioCaptureIt = require('webdriver-io-capture-it').default;
exports.config = {
// ...
services: [
[WdioCaptureIt, {}],
// ... other services
],
// ...
};
it()
blocks will be captured and logged in the browser console at the beginning of each test.Here's an example of how the test case name will be logged in the browser console:
Test Case Name: should display the correct title
This package includes a TypeScript declaration file to support TypeScript projects. Make sure to install the @wdio/types
package to use the types correctly:
npm install @wdio/types
After installing the necessary packages, you can import the WdioCaptureIt
service in your TypeScript configuration file:
import WdioCaptureIt from 'webdriver-io-capture-it';
export const config: WebdriverIO.Config = {
// ...
services: [
[WdioCaptureIt, {}],
// ... other services
],
// ...
};
MIT License
FAQs
An SDK to capture it() block content in WebDriver.IO and log it as Test Case Name.
We found that webdriver-io-capture-it demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
Application Security
/Security News
Socket CEO Feross Aboukhadijeh and a16z partner Joel de la Garza discuss vibe coding, AI-driven software development, and how the rise of LLMs, despite their risks, still points toward a more secure and innovative future.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.