Skip to content

klamping/wdio-applitools-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

THIS IS IMPORTANT

This service has been ported to the official WebdriverIO v5 repo. Please see https://github.com/webdriverio/webdriverio/tree/master/packages/wdio-applitools-service for future usage

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);

About

Integration of applitools.eyes for WebdriverIO

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published