webdriverio
Next-gen browser and mobile automation test framework for Node.js
Last updated 5 days ago by christian-bromann .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install webdriverio 
SYNC missed versions from official npm registry.

WebdriverIO

Next-gen browser and mobile automation test framework for Node.js

This package provides and easy to manage API and a lot of syntactical sugar on top of the WebDriver specification. You can use WebdriverIO as a standalone package or via a testrunner using @wdio/cli. WebdriverIO allows to run tests locally using the WebDriver or Chrome DevTools protocol as well as remote user agents using cloud providers like Sauce Labs.

Installation

You can install WebdriverIO via NPM:

$ npm install webdriverio

Usage

WebdriverIO by default uses Puppeteer to automate a browser like Chrome, Firefox or Chromium Edge. So if you have these installs the following script should start a browser for you and get the title of the page:

import { remote } from 'webdriverio'

let browser

;(async () => {
    browser = await remote({
        capabilities: { browserName: 'chrome' }
    })

    await browser.navigateTo('https://www.google.com/ncr')

    const searchInput = await browser.$('#lst-ib')
    await searchInput.setValue('WebdriverIO')

    const searchBtn = await browser.$('input[value="Google Search"]')
    await searchBtn.click()

    console.log(await browser.getTitle()) // outputs "WebdriverIO - Google Search"

    await browser.deleteSession()
})().catch((err) => {
    console.error(err)
    return browser.deleteSession()
})

See the raw protocol example using the webdriver package to get a glance on the differences.

For more information on options, multiremote usage or integration into cloud services please check out the docs. If you want to use WebdriverIO for testing purposes, it is recommended to use the WebdriverIO Testrunner.

Current Tags

  • 5.0.0-alpha.14                                ...           alpha (2 years ago)
  • 5.0.0-beta.0                                ...           beta (2 years ago)
  • 6.1.25                                ...           latest (5 days ago)
  • 5.23.0                                ...           latest-5 (2 months ago)
  • 6.0.0-beta.1                                ...           next (4 months ago)

302 Versions

  • 6.1.25                                ...           5 days ago
  • 6.1.24                                ...           10 days ago
  • 6.1.23                                ...           11 days ago
  • 6.1.22                                ...           17 days ago
  • 6.1.20                                ...           21 days ago
  • 6.1.19                                ...           24 days ago
  • 6.1.17                                ...           a month ago
  • 6.1.16                                ...           a month ago
  • 6.1.14                                ...           a month ago
  • 5.23.0                                ...           2 months ago
  • 6.1.12                                ...           2 months ago
  • 6.1.11                                ...           2 months ago
  • 6.1.9                                ...           2 months ago
  • 6.1.8                                ...           2 months ago
  • 6.1.7                                ...           2 months ago
  • 6.1.5                                ...           2 months ago
  • 6.1.4                                ...           3 months ago
  • 6.1.3                                ...           3 months ago
  • 6.1.2                                ...           3 months ago
  • 6.1.0                                ...           3 months ago
  • 6.0.18                                ...           3 months ago
  • 6.0.16                                ...           3 months ago
  • 6.0.15                                ...           3 months ago
  • 6.0.14                                ...           3 months ago
  • 6.0.13                                ...           3 months ago
  • 6.0.12                                ...           3 months ago
  • 6.0.11                                ...           3 months ago
  • 6.0.10                                ...           3 months ago
  • 6.0.9                                ...           3 months ago
  • 6.0.8                                ...           3 months ago
  • 6.0.7                                ...           3 months ago
  • 6.0.6                                ...           3 months ago
  • 6.0.5                                ...           4 months ago
  • 6.0.4                                ...           4 months ago
  • 6.0.2                                ...           4 months ago
  • 6.0.1                                ...           4 months ago
  • 6.0.0                                ...           4 months ago
  • 5.22.4                                ...           4 months ago
  • 5.22.3                                ...           4 months ago
  • 5.22.2                                ...           4 months ago
  • 6.0.0-beta.1                                ...           4 months ago
  • 5.22.1                                ...           4 months ago
  • 5.21.0                                ...           4 months ago
  • 5.20.2                                ...           4 months ago
  • 5.20.1                                ...           4 months ago
  • 5.19.0                                ...           4 months ago
  • 6.0.0-beta.0                                ...           4 months ago
  • 5.18.7                                ...           5 months ago
  • 5.18.6                                ...           6 months ago
  • 6.0.0-alpha.1                                ...           6 months ago
  • 5.18.5                                ...           6 months ago
  • 5.18.4                                ...           6 months ago
  • 5.18.2                                ...           6 months ago
  • 5.18.0                                ...           7 months ago
  • 6.0.0-alpha.0                                ...           7 months ago
  • 5.17.0                                ...           7 months ago
  • 5.16.15                                ...           7 months ago
  • 5.16.13                                ...           7 months ago
  • 5.16.12                                ...           7 months ago
  • 5.16.11                                ...           7 months ago
  • 5.16.10                                ...           8 months ago
  • 5.16.9                                ...           8 months ago
  • 5.16.8                                ...           8 months ago
  • 5.16.7                                ...           8 months ago
  • 5.16.6                                ...           8 months ago
  • 5.16.5                                ...           8 months ago
  • 5.16.4                                ...           8 months ago
  • 5.16.3                                ...           8 months ago
  • 5.16.2                                ...           8 months ago
  • 5.16.0                                ...           8 months ago
  • 5.15.6                                ...           8 months ago
  • 5.15.5                                ...           8 months ago
  • 5.15.4                                ...           9 months ago
  • 5.15.3                                ...           9 months ago
  • 5.15.2                                ...           9 months ago
  • 5.15.1                                ...           9 months ago
  • 5.15.0                                ...           9 months ago
  • 5.14.5                                ...           9 months ago
  • 5.14.4                                ...           9 months ago
  • 5.14.3                                ...           9 months ago
  • 5.14.0                                ...           9 months ago
  • 5.13.2                                ...           10 months ago
  • 5.13.1                                ...           10 months ago
  • 5.13.0                                ...           10 months ago
  • 5.13.0-alpha.0                                ...           10 months ago
  • 5.12.5                                ...           a year ago
  • 5.12.4                                ...           a year ago
  • 5.12.1                                ...           a year ago
  • 5.12.0                                ...           a year ago
  • 5.11.14                                ...           a year ago
  • 5.11.13                                ...           a year ago
  • 5.11.12                                ...           a year ago
  • 5.11.11                                ...           a year ago
  • 5.11.10                                ...           a year ago
  • 5.11.7                                ...           a year ago
  • 5.11.6                                ...           a year ago
  • 5.11.5                                ...           a year ago
  • 5.11.2                                ...           a year ago
  • 5.11.1                                ...           a year ago
  • 5.11.0                                ...           a year ago
  • 5.10.10                                ...           a year ago
  • 5.10.9                                ...           a year ago
  • 5.10.8                                ...           a year ago
  • 5.10.7                                ...           a year ago
  • 5.10.5                                ...           a year ago
  • 5.10.4                                ...           a year ago
  • 5.10.1                                ...           a year ago
  • 5.10.0                                ...           a year ago
  • 5.9.6                                ...           a year ago
  • 5.9.5                                ...           a year ago
  • 5.9.4                                ...           a year ago
  • 5.9.3                                ...           a year ago
  • 5.9.2                                ...           a year ago
  • 5.9.1                                ...           a year ago
  • 5.9.0                                ...           a year ago
  • 5.8.6                                ...           a year ago
  • 5.8.5                                ...           a year ago
  • 5.8.4                                ...           a year ago
  • 5.8.3                                ...           a year ago
  • 5.8.2                                ...           a year ago
  • 5.8.1                                ...           a year ago
  • 5.8.0                                ...           a year ago
  • 5.7.15                                ...           a year ago
  • 5.7.14                                ...           a year ago
  • 5.7.13                                ...           a year ago
  • 5.7.12                                ...           a year ago
  • 5.7.9                                ...           a year ago
  • 5.7.8                                ...           a year ago
  • 5.7.6                                ...           a year ago
  • 5.7.5                                ...           a year ago
  • 5.7.4                                ...           a year ago
  • 4.14.4 [deprecated]           ...           a year ago
  • 5.7.3                                ...           a year ago
  • 5.7.2                                ...           a year ago
  • 5.7.1                                ...           a year ago
  • 5.7.0                                ...           a year ago
  • 5.6.6                                ...           a year ago
  • 4.14.3 [deprecated]           ...           a year ago
  • 5.6.5                                ...           a year ago
  • 5.6.4                                ...           a year ago
  • 5.6.3                                ...           a year ago
  • 5.6.2                                ...           a year ago
  • 5.6.1                                ...           a year ago
  • 5.6.0                                ...           a year ago
  • 5.5.0                                ...           a year ago
  • 5.4.20                                ...           a year ago
  • 5.4.19                                ...           a year ago
  • 5.4.18                                ...           a year ago
  • 5.4.17                                ...           a year ago
  • 5.4.15                                ...           a year ago
  • 5.4.14                                ...           a year ago
  • 5.4.13                                ...           a year ago
  • 5.4.12                                ...           a year ago
  • 5.4.11                                ...           a year ago
  • 5.4.10                                ...           a year ago
  • 5.4.9                                ...           a year ago
  • 5.4.8                                ...           a year ago
  • 5.4.7                                ...           a year ago
  • 5.4.6                                ...           a year ago
  • 5.4.3                                ...           a year ago
  • 5.4.2                                ...           a year ago
  • 5.4.1                                ...           a year ago
  • 5.4.0                                ...           a year ago
  • 5.3.5                                ...           a year ago
  • 5.3.4                                ...           a year ago
  • 5.3.3                                ...           a year ago
  • 5.3.2                                ...           a year ago
  • 5.3.1                                ...           a year ago
  • 5.3.0                                ...           2 years ago
  • 4.14.2 [deprecated]           ...           2 years ago
  • 5.2.8                                ...           2 years ago
  • 5.2.7                                ...           2 years ago
  • 5.2.6                                ...           2 years ago
  • 5.2.5                                ...           2 years ago
  • 5.2.4                                ...           2 years ago
  • 5.2.3                                ...           2 years ago
  • 5.2.2                                ...           2 years ago
  • 5.2.1                                ...           2 years ago
  • 5.2.0                                ...           2 years ago
  • 5.1.1                                ...           2 years ago
  • 5.1.0                                ...           2 years ago
  • 5.0.3                                ...           2 years ago
  • 5.0.0                                ...           2 years ago
  • 5.0.0-beta.16                                ...           2 years ago
  • 5.0.0-beta.15                                ...           2 years ago
  • 5.0.0-beta.14                                ...           2 years ago
  • 5.0.0-beta.13                                ...           2 years ago
  • 5.0.0-beta.12                                ...           2 years ago
  • 4.14.1 [deprecated]           ...           2 years ago
  • 5.0.0-beta.10                                ...           2 years ago
  • 5.0.0-beta.9                                ...           2 years ago
  • 5.0.0-beta.8                                ...           2 years ago
  • 5.0.0-beta.7                                ...           2 years ago
  • 5.0.0-beta.6                                ...           2 years ago
  • 5.0.0-beta.5                                ...           2 years ago
  • 4.14.0 [deprecated]           ...           2 years ago
  • 5.0.0-beta.3                                ...           2 years ago
  • 5.0.0-beta.2                                ...           2 years ago
  • 5.0.0-beta.1                                ...           2 years ago
  • 5.0.0-beta.0 [deprecated]           ...           2 years ago
  • 4.13.2 [deprecated]           ...           2 years ago
  • 5.0.0-alpha.14 [deprecated]           ...           2 years ago
  • 5.0.0-alpha.13 [deprecated]           ...           2 years ago
  • 5.0.0-alpha.12 [deprecated]           ...           2 years ago
  • 5.0.0-alpha.11 [deprecated]           ...           2 years ago
  • 5.0.0-alpha.10 [deprecated]           ...           2 years ago
  • 5.0.0-alpha.9 [deprecated]           ...           2 years ago
  • 4.13.1 [deprecated]           ...           2 years ago
  • 5.0.0-alpha.7 [deprecated]           ...           2 years ago
  • 5.0.0-alpha.6 [deprecated]           ...           2 years ago
  • 5.0.0-alpha.5 [deprecated]           ...           2 years ago
  • 5.0.0-alpha.4 [deprecated]           ...           2 years ago
  • 5.0.0-alpha.3 [deprecated]           ...           2 years ago
  • 5.0.0-alpha.2 [deprecated]           ...           2 years ago
  • 4.13.0 [deprecated]           ...           2 years ago
  • 4.12.0 [deprecated]           ...           2 years ago
  • 4.12.0-beta.1                                ...           2 years ago
  • 4.11.0 [deprecated]           ...           2 years ago
  • 4.10.2 [deprecated]           ...           2 years ago
  • 4.10.1 [deprecated]           ...           3 years ago
  • 4.10.0 [deprecated]           ...           3 years ago
  • 4.9.11 [deprecated]           ...           3 years ago
  • 4.9.10 [deprecated]           ...           3 years ago
  • 4.9.9 [deprecated]           ...           3 years ago
  • 4.9.8 [deprecated]           ...           3 years ago
  • 4.9.7 [deprecated]           ...           3 years ago
  • 4.9.6 [deprecated]           ...           3 years ago
  • 4.9.5 [deprecated]           ...           3 years ago
  • 4.9.4 [deprecated]           ...           3 years ago
  • 4.9.3 [deprecated]           ...           3 years ago
  • 4.9.2 [deprecated]           ...           3 years ago
  • 4.9.1 [deprecated]           ...           3 years ago
  • 4.9.0 [deprecated]           ...           3 years ago
  • 4.8.0 [deprecated]           ...           3 years ago
  • 4.7.1 [deprecated]           ...           3 years ago
  • 4.7.0 [deprecated]           ...           3 years ago
  • 4.6.2 [deprecated]           ...           3 years ago
  • 4.6.1 [deprecated]           ...           4 years ago
  • 4.6.0 [deprecated]           ...           4 years ago
  • 4.5.2 [deprecated]           ...           4 years ago
  • 4.5.1 [deprecated]           ...           4 years ago
  • 4.5.0 [deprecated]           ...           4 years ago
  • 4.4.0 [deprecated]           ...           4 years ago
  • 4.3.0 [deprecated]           ...           4 years ago
  • 4.2.16 [deprecated]           ...           4 years ago
  • 4.2.15 [deprecated]           ...           4 years ago
  • 4.2.14 [deprecated]           ...           4 years ago
  • 4.2.13 [deprecated]           ...           4 years ago
  • 4.2.12 [deprecated]           ...           4 years ago
  • 4.2.11 [deprecated]           ...           4 years ago
  • 4.2.10 [deprecated]           ...           4 years ago
  • 4.2.9 [deprecated]           ...           4 years ago
  • 4.2.8 [deprecated]           ...           4 years ago
  • 4.2.7 [deprecated]           ...           4 years ago
  • 4.2.5 [deprecated]           ...           4 years ago
  • 4.2.4 [deprecated]           ...           4 years ago
  • 4.2.3 [deprecated]           ...           4 years ago
  • 4.2.1 [deprecated]           ...           4 years ago
  • 4.2.0 [deprecated]           ...           4 years ago
  • 4.1.1 [deprecated]           ...           4 years ago
  • 4.1.0 [deprecated]           ...           4 years ago
  • 4.0.9 [deprecated]           ...           4 years ago
  • 4.0.8 [deprecated]           ...           4 years ago
  • 4.0.7 [deprecated]           ...           4 years ago
  • 4.0.5 [deprecated]           ...           4 years ago
  • 4.0.4 [deprecated]           ...           4 years ago
  • 4.0.3 [deprecated]           ...           4 years ago
  • 4.0.2 [deprecated]           ...           4 years ago
  • 4.0.1 [deprecated]           ...           4 years ago
  • 4.0.0 [deprecated]           ...           4 years ago
  • 3.4.0 [deprecated]           ...           5 years ago
  • 3.3.0 [deprecated]           ...           5 years ago
  • 3.2.6 [deprecated]           ...           5 years ago
  • 3.2.5 [deprecated]           ...           5 years ago
  • 3.2.4 [deprecated]           ...           5 years ago
  • 3.2.3 [deprecated]           ...           5 years ago
  • 3.2.2 [deprecated]           ...           5 years ago
  • 3.2.1 [deprecated]           ...           5 years ago
  • 3.2.0 [deprecated]           ...           5 years ago
  • 3.1.0 [deprecated]           ...           5 years ago
  • 3.0.5 [deprecated]           ...           5 years ago
  • 3.0.4 [deprecated]           ...           5 years ago
  • 3.0.3 [deprecated]           ...           5 years ago
  • 3.0.2 [deprecated]           ...           5 years ago
  • 3.0.1 [deprecated]           ...           5 years ago
  • 3.0.0 [deprecated]           ...           5 years ago
  • 2.4.5 [deprecated]           ...           5 years ago
  • 2.4.4 [deprecated]           ...           5 years ago
  • 2.4.3 [deprecated]           ...           6 years ago
  • 2.4.2 [deprecated]           ...           6 years ago
  • 2.4.1 [deprecated]           ...           6 years ago
  • 2.4.0 [deprecated]           ...           6 years ago
  • 2.3.0 [deprecated]           ...           6 years ago
  • 2.2.3 [deprecated]           ...           6 years ago
  • 2.2.2 [deprecated]           ...           6 years ago
  • 2.2.1 [deprecated]           ...           6 years ago
  • 2.2.0 [deprecated]           ...           6 years ago
  • 2.1.2 [deprecated]           ...           6 years ago
  • 2.1.1 [deprecated]           ...           6 years ago
  • 2.1.0 [deprecated]           ...           6 years ago
  • 2.0.1 [deprecated]           ...           6 years ago
  • 2.0.0 [deprecated]           ...           6 years ago
Downloads
Today 51
This Week 51
This Month 8,084
Last Day 341
Last Week 5,517
Last Month 17,141
Dependencies (16)
Dev Dependencies (0)
None
Dependents (348)

Copyright 2014 - 2017 © taobao.org |