https://github.com/testing-library/webdriverio-testing-library
🕷️ Simple and complete WebdriverIO DOM testing utilities that encourage good testing practices.
https://github.com/testing-library/webdriverio-testing-library
dom-testing-library e2e testing webdriverio
Last synced: 7 months ago
JSON representation
🕷️ Simple and complete WebdriverIO DOM testing utilities that encourage good testing practices.
- Host: GitHub
- URL: https://github.com/testing-library/webdriverio-testing-library
- Owner: testing-library
- Created: 2021-01-17T13:47:55.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-01-17T13:06:14.000Z (almost 3 years ago)
- Last Synced: 2025-06-12T20:21:57.322Z (7 months ago)
- Topics: dom-testing-library, e2e, testing, webdriverio
- Language: TypeScript
- Homepage:
- Size: 130 KB
- Stars: 18
- Watchers: 2
- Forks: 16
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
webdriverio-testing-library
WebdriverIO utilities that encourage good testing practices laid down by dom-testing-library.
Based heavily on the great work on nightwatch-testing-library
[![Build Status][build-badge]][build]
[![version][version-badge]][package]
[![MIT License][license-badge]][license]
[](https://github.com/semantic-release/semantic-release)
[![PRs Welcome][prs-badge]][prs]
[![Code of Conduct][coc-badge]][coc]
## The problem
You want to use [dom-testing-library](https://github.com/kentcdodds/dom-testing-library) methods in your [webdriverio][webdriverio] tests.
## This solution
Based heavily on [nightwatch-testing-library][nightwatch-testing-library]
This allows you to use all the useful [dom-testing-library](https://github.com/kentcdodds/dom-testing-library) methods in your tests.
## Table of Contents
- [Installation](#installation)
- [Usage](#usage)
- [Other Solutions](#other-solutions)
- [LICENSE](#license)
## Installation
This module is distributed via [npm][npm] which is bundled with [node][node] and
should be installed as one of your project's `devDependencies`:
```
npm install --save-dev @testing-library/webdriverio
```
## Usage
[Usage Docs](https://testing-library.com/docs/webdriverio-testing-library/intro)
## Other Solutions
I'm not aware of any, if you are please [make a pull request][prs] and add it
here!
## LICENSE
MIT
[npm]: https://www.npmjs.com/
[node]: https://nodejs.org
[build-badge]: https://github.com/testing-library/webdriverio-testing-library/workflows/webdriverio-testing-library/badge.svg
[build]: https://github.com/testing-library/webdriverio-testing-library/actions?query=branch%3Amain+workflow%3Awebdriverio-testing-library
[version-badge]: https://img.shields.io/npm/v/@testing-library/webdriverio.svg?style=flat-square
[package]: https://www.npmjs.com/package/@testing-library/webdriverio
[downloads-badge]: https://img.shields.io/npm/dm/@testing-library/webdriverio.svg?style=flat-square
[npmtrends]: http://www.npmtrends.com/@testing-library/webdriverio
[license-badge]: https://img.shields.io/npm/l/@testing-library/webdriverio.svg?style=flat-square
[license]: https://github.com/testing-library/webdriverio-testing-library/blob/main/LICENSE
[prs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square
[prs]: http://makeapullrequest.com
[coc-badge]: https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square
[coc]: https://github.com/testing-library/webdriverio-testing-library/blob/main/other/CODE_OF_CONDUCT.md
[dom-testing-library]: https://github.com/testing-library/dom-testing-library
[webdriverio]: https://webdriver.io/
[nightwatch-testing-library]: https://github.com/testing-library/nightwatch-testing-library