https://github.com/netsells/simulate-user
Library for simulating user interactions using JavaScript in the browser
https://github.com/netsells/simulate-user
Last synced: about 1 month ago
JSON representation
Library for simulating user interactions using JavaScript in the browser
- Host: GitHub
- URL: https://github.com/netsells/simulate-user
- Owner: netsells
- Created: 2019-06-27T20:44:21.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-04-13T13:13:20.000Z (about 3 years ago)
- Last Synced: 2025-02-02T18:52:02.762Z (3 months ago)
- Language: JavaScript
- Size: 1.92 MB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.hbs
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
[](https://badge.fury.io/js/%40netsells%2Fsimulate-user)
[](https://travis-ci.org/netsells/simulate-user)
[](https://codecov.io/gh/netsells/simulate-user)
[](https://stryker-mutator.github.io)# @netsells/simulate-user
Library for simulating user interactions using JavaScript in the browser
## Installation
```bash
yarn add @netsells/simulate-user
```## Usage
```
import SimulateUser from '@netsells/simulate-user';const sim = new SimulateUser();
const el = await sim.find({ query: 'a', text: 'Click me' });
await el.click();
```# Documentation
{{>main}}