Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@qavajs/steps-wdio

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@qavajs/steps-wdio

qavajs steps to interact with webdriverio

latest
Source
npmnpm
Version
2.14.0
Version published
Maintainers
1
Created
Source

npm version

@qavajs/steps-wdio

@qavajs/steps-wdio provides a comprehensive set of pre-built step definitions for qavajs, powered by webdriver.io. It enables easy and efficient browser automation in a behavior-driven development (BDD) style using Cucumber syntax.

Features

  • Predefined steps for web automation using webdriver.io
  • Seamless integration with @qavajs/core
  • Support for dynamic locators and parameters
  • Built-in assertions and synchronization steps
  • Easily extendable for custom needs

Installation

npm install @qavajs/steps-wdio

Configuration

import App from './page_object';

export default {
    require: [
        'node_modules/@qavajs/steps-wdio/index.js'
    ],
    browser: {
        timeout: {
            present: 10000,
            visible: 20000,
            clickable: 15000,
            page: 10000,
            implicit: 0, //wdio implicit wait for element,
            element: 2000,//timeout to element to be accesible,
            value: 5000, // expect value timeout
            valueInterval: 500 //expect value interval
        },
        capabilities: {
            browserName: 'chrome'
        }
    },
    pageObject: new App()
}

Screenshots

@qavajs/steps-wdio has build-in capability to take screenshot on particular event. If you need to add screenshot to your report add screenshot property to profile config. Supported events:

  • onFail
  • beforeStep
  • afterStep
export default {
    browser: {
        capabilities: {
            browserName: 'chrome'
        },
        screenshot: {
            event: ['onFail']
        }
    }
}

Snapshot

@qavajs/steps-wdio has build-in capability to take page snapshot on particular event. Supported events:

  • onFail
  • beforeStep
  • afterStep
export default {
    browser: {
        capabilities: {
            browserName: 'chrome'
        },
        snapshot: {
            event: ['onFail']
        }
    }
}

reuseSession

reuseSession flag allows to share session between tests in frames of process. But setting of this flag transfer session control to user.

export default {
    browser: {
        reuseSession: true
    }
}

Keywords

test

FAQs

Package last updated on 14 Mar 2026

Did you know?

Socket

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.

Install

Related posts