@coorpacademy/wdio-chromedriver-service
[![Npm version](https://img.shields.io/npm/v/@coorpacademy/wdio-chromedriver-service.svg)](https://www.npmjs.com/package/@coorpacademy/wdio-chromedriver-service) [![Build Status](https://travis-ci.com/CoorpAcademy/wdio-chromedriver-service.svg?branch=mast
Last updated a year ago by godu .
MIT · Original npm · Tarball · package.json
$ cnpm install @coorpacademy/wdio-chromedriver-service 
SYNC missed versions from official npm registry.

WDIO ChromeDriver service

Npm version Build Status

This service help you to run chromedriver from npm package or from local install when runnings test with WDIO.

Installation

Install @coorpacademy/wdio-chromedriver-service and chromedriver packages.

npm install --save-dev @coorpacademy/wdio-chromedriver-service chromedriver

Adds service in wdio.config.js

const ChromeDriverService = require('@coorpacademy/wdio-chromedriver-service');

exports.config = {
  host: '0.0.0.0',
  port: 9515,
  path: '/',

  services: [[ChromeDriverService, {}]],

  chromeDriverArgs: ['--port=9516'],
  chromeDriverPath: '/usr/bin/chromedriver',

  capabilities: [
    {
      browserName: 'chrome',
      chromeOptions: {
        args: ['--headless', '--disable-gpu', '--no-sandbox']
      }
    }
  ]
};

Options

chromeDriverArgs

Array of arguments to pass to the ChromeDriver executable, see https://helpmanual.io/help/chromedriver.

Type: string[]

chromeDriverPath

Path of chromedriver bin. Overwrite this value to use local chromedriver install.

Type: string

Current Tags

  • 2.0.0                                ...           latest (a year ago)

6 Versions

  • 2.0.0                                ...           a year ago
  • 2.0.0-gamma                                ...           a year ago
  • 2.0.0-beta                                ...           a year ago
  • 2.0.0-alpha.0                                ...           a year ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |