wdio-responsive-service

0.0.3 • Public • Published

WebdriverIO Responsive Service

This service allows you to more easily configure your capabilities to run on multiple viewport sizes.

Installation

npm install --save wdio-responsive-service

Configuration

// wdio.conf.js
const ResponsiveService = require('wdio-responsive-service/lib/responsive-service');
 
export.config = {
  capabilitiesResponsiveService.buildCapabilities(
    [
      {
        browserName: 'chrome'
      },
      {
        browserName: 'firefox'
      }
    ],
    [
      {
        width: 480,
        height:   
      }, {
        width: 1200,
        height: 900
      }
    ]
  ),
  // ...
  services: ['responsive'],
  // ...
};

¯\(ツ)

Package Sidebar

Install

npm i wdio-responsive-service

Weekly Downloads

2

Version

0.0.3

License

ISC

Unpacked Size

312 kB

Total Files

8

Last publish

Collaborators

  • klamping