wdio-applitools-cucumber-service

1.0.6 • Public • Published

WDIO5 with CucumberJS Applitools Service

Configuration

Properties

Property name Is required Default value Description
apiKey true - API_KEY you use to connect to applitools eyes
appName false -
viewportSize false width: 1440, height: 900
forceFullPageScreenshot false true

Example

services: [
    [ 'wdio-applitools-cucumber-service' , {
      appName: "app name",
      apiKey: "apiKey", 
      forceFullPageScreenshot: true,
      viewportSize: {
        width: 1440,
        height: 900,
      }
    }]
  ]

Usage

The service adds 2 global.browser commands:

  • takeSnapshot
  • takeSnapshotOfRegion

Example

browser.takeSnapshot('Login page');

browser.takeSnapshotOfRegion('Login page', Target.window().fully())

Package Sidebar

Install

npm i wdio-applitools-cucumber-service

Weekly Downloads

1

Version

1.0.6

License

ISC

Unpacked Size

41.3 kB

Total Files

8

Last publish

Collaborators

  • vilkg