Neverending Perpetual Motion

    @qavajs/steps-wdio

    0.0.9 • Public • Published

    @qavajs/steps-wdio

    Step library to work with webdriverio in qava framework

    installation

    npm install @qavajs/steps-wdio

    configuration

    const App = require('./page_object');
    module.exports = {
        default: {
            require: [
                '@qavajs/steps-wdio'
            ],
            browser: {
                timeout: {
                    present: 10000,
                    visible: 20000    
                },
                capabilities: {
                    browserName: 'chrome'
                }
            },
            pageObject: new App()
        }
    }

    screenshot strategy

    @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
    module.exports = {
        default: {
            screenshot: 'onFail'
        }
    }

    Keywords

    none

    Install

    npm i @qavajs/steps-wdio

    DownloadsWeekly Downloads

    88

    Version

    0.0.9

    License

    MIT

    Unpacked Size

    87.4 kB

    Total Files

    33

    Last publish

    Collaborators

    • kirill_bogdanets
    • alexgalichenko