# trueautomation-helper

> TrueAutomation.IO helper functions

Latest version **0.3.1** (published 2018-12-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install trueautomation-helper
pnpm add trueautomation-helper
yarn add trueautomation-helper
bun add trueautomation-helper
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.1 |
| Published | 2018-12-06 |
| First published | 2018-11-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Softesis Inc. |
| Maintainers | ikonyshev |
| Keywords | trueautomation, trueautomation.io, automation, testing, qa, wdio-service, wdio-plugin, wdio |

## Links

- npm: https://www.npmjs.com/package/trueautomation-helper
- Repository: https://github.com/trueautomation/trueautomation-helper
- Homepage: https://github.com/trueautomation/trueautomation-helper#readme
- Issues: https://github.com/trueautomation/trueautomation-helper/issues
- npm.io page: https://npm.io/package/trueautomation-helper

## Alternatives

- [duck](https://npm.io/package/duck.md) — 4.2M weekly downloads
- [ava](https://npm.io/package/ava.md) — 560.2K weekly downloads
- [storybook-addon-module-mock](https://npm.io/package/storybook-addon-module-mock.md) — 71.7K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads
- [aws-elasticsearch-connector](https://npm.io/package/aws-elasticsearch-connector.md) — 37.4K weekly downloads

## Recent versions

- 0.3.1 (latest) — 2018-12-06
- 0.3.0 — 2018-11-01

## README

TrueAutomation.IO helper functions
====

This helper allows to use TrueAutomation.IO in your existing JS tests that use webdriver.

## Installation

The easiest way is to keep `trueautomation-helper` as a dependency in your `package.json`.

```json
{
  "devDependencies": {
    "trueautomation-helper": "~0.3"
  }
}
```

You can simple do it by:

```bash
npm install trueautomation-helper --save
```

## Usage

Use `ta('<locator:name>')` as a locator name in any tests. 

Example:
```javascript
import { ta } from 'trueautomation-helper';

browser.click(ta('mainPage:login:loginButton'));
```

You can record an element during the first run using plain locators:

```javascript
import { ta } from 'trueautomation-helper';

browser.click(ta('mainPage:login:loginButton', '#loginButton'));
```

---
_Source: https://npm.io/package/trueautomation-helper · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
