WebdriverIO
Setting up handshake reporter for WebdriverIO framework
We support reporting services for the WebdriverIO test framework. To get started,
Download https://www.npmjs.com/package/wdio-handshake-reporter -
npm install wdio-handshake-reporter
Execute this command to confirm the successful installation
npx shake --help
pnpm i wdio-handshake-reporter && pnpx shake --help
Command line
you will see the below message or similar for npx shake --help
npx shake -b TestResults TestReports
assumes you have saved your TestResults in the folder named "TestResults", then we export the TestResults to a folder called "TestReports".
Requires Venv Activation before using it
Replaces Existing TestReports if found
Generates static output
you can serve the static reports located at TestReports like with, serve: npx serve TestReports
Sample Message
Sample Config Files
API Reference
attachReporter(...)
We would expect the attachReporter function to handle the required configuration for your file. attachReporter
will add the required service: HandshakeService
and HandshakeReporter
to the services
and reporters
in the webdriver.Config
attachReporter(YOUR_CONFIG, HANDSHAKE_SPECIFIC_CONFIG) -> Returns the modified webdriver.Config
Know More
Refer to the below files on how it is implemented:
Last updated