{"id":19845365,"url":"https://github.com/qavajs/steps-wdio","last_synced_at":"2026-01-05T13:15:34.629Z","repository":{"id":37779252,"uuid":"502568083","full_name":"qavajs/steps-wdio","owner":"qavajs","description":"Collection of WDIO steps for qavajs framework","archived":false,"fork":false,"pushed_at":"2024-11-01T09:28:19.000Z","size":1500,"stargazers_count":15,"open_issues_count":7,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-01T10:24:19.723Z","etag":null,"topics":["qa","test-automation","testing"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qavajs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-12T09:10:01.000Z","updated_at":"2024-10-28T17:51:01.000Z","dependencies_parsed_at":"2022-07-14T10:22:10.226Z","dependency_job_id":"1d1693c8-8e96-4be2-b220-0174afa2859e","html_url":"https://github.com/qavajs/steps-wdio","commit_stats":{"total_commits":73,"total_committers":5,"mean_commits":14.6,"dds":0.4657534246575342,"last_synced_commit":"2a8596ecb70bcd217175e82fdacc7d3cf9681156"},"previous_names":[],"tags_count":56,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qavajs%2Fsteps-wdio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qavajs%2Fsteps-wdio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qavajs%2Fsteps-wdio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qavajs%2Fsteps-wdio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qavajs","download_url":"https://codeload.github.com/qavajs/steps-wdio/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224278484,"owners_count":17285080,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["qa","test-automation","testing"],"created_at":"2024-11-12T13:07:24.733Z","updated_at":"2026-01-05T13:15:34.625Z","avatar_url":"https://github.com/qavajs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm version](https://badge.fury.io/js/@qavajs%2Fsteps-wdio.svg)](https://badge.fury.io/js/@qavajs%2Fsteps-wdio)\n\n# @qavajs/steps-wdio\n**`@qavajs/steps-wdio`** provides a comprehensive set of pre-built step definitions for [qavajs](https://github.com/qavajs/qavajs), powered by [webdriver.io](https://webdriver.io/). \nIt enables easy and efficient browser automation in a behavior-driven development (BDD) style using Cucumber syntax.\n\n## Features\n\n- Predefined steps for web automation using webdriver.io\n- Seamless integration with `@qavajs/core`\n- Support for dynamic locators and parameters\n- Built-in assertions and synchronization steps\n- Easily extendable for custom needs\n\n## Installation\n\n```\nnpm install @qavajs/steps-wdio\n```\n\n## Configuration\n\n```typescript\nimport App from './page_object';\n\nexport default {\n    require: [\n        'node_modules/@qavajs/steps-wdio/index.js'\n    ],\n    browser: {\n        timeout: {\n            present: 10000,\n            visible: 20000,\n            clickable: 15000,\n            page: 10000,\n            implicit: 0, //wdio implicit wait for element,\n            element: 2000,//timeout to element to be accesible,\n            value: 5000, // expect value timeout\n            valueInterval: 500 //expect value interval\n        },\n        capabilities: {\n            browserName: 'chrome'\n        }\n    },\n    pageObject: new App()\n}\n```\n\n## Screenshots\n@qavajs/steps-wdio has build-in capability to take screenshot on particular event. If you need to add \nscreenshot to your report add `screenshot` property to profile config.\nSupported events:\n- onFail\n- beforeStep\n- afterStep\n\n```typescript\nexport default {\n    browser: {\n        capabilities: {\n            browserName: 'chrome'\n        },\n        screenshot: {\n            event: ['onFail']\n        }\n    }\n}\n```\n\n## Snapshot\n@qavajs/steps-wdio has build-in capability to take page snapshot on particular event.\nSupported events:\n- onFail\n- beforeStep\n- afterStep\n\n```typescript\nexport default {\n    browser: {\n        capabilities: {\n            browserName: 'chrome'\n        },\n        snapshot: {\n            event: ['onFail']\n        }\n    }\n}\n```\n\n## reuseSession\n`reuseSession` flag allows to share session between tests in frames of process. But setting of this flag \ntransfer session control to user.\n\n```javascript\nexport default {\n    browser: {\n        reuseSession: true\n    }\n}\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqavajs%2Fsteps-wdio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqavajs%2Fsteps-wdio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqavajs%2Fsteps-wdio/lists"}