Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1.08 KB

README.md

File metadata and controls

39 lines (30 loc) · 1.08 KB

NOTE: This project is currently a Work in Progress. The README file is entirely fictional right now. ¯_(ツ)_/¯

wdio-applitools-service

This service sets up applitools.eyes with WebdriverIO

Installation

npm install --save wdio-applitools-service

Configuration

Replace MY_API_KEY with the API key of your account (you can find it in your signup Email).

// wdio.conf.js
export.config = {
  applitools: {
    apiKey: "MY_API_KEY",
    matchTimeout: 2000,
    matchLevel: "Strict",
    forceFullPageScreenshot: false,
    hideScrollbars: true,
    useHttpProxy
  },
  // ...
  services: ['applitools'],
  // ...
};

browser.checkWindow(windowName, matchTimeout); browser.checkElement(selector, matchTimeout, "tag"); browser.checkRegion(selector, "window_name", matchTimeout); browser.checkFrame(selector, matchTimeout, "tag"); browser.checkRegionInFrame(selector, matchTimeout, "tag", isScrollable);

eyes.setMatchLevel("Level"); eyes.setSaveNewTests(true/false);