Skip to content

trueautomation/trueautomation-helper-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

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

You can simple do it by:

npm install trueautomation-helper --save

Usage

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

Example:

import { ta } from 'trueautomation-helper';

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

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

import { ta } from 'trueautomation-helper';

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

About

TrueAutomation.IO helper for JavaScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published