6.0.13 • Published 4 days ago

webdriverio v6.0.13

Weekly downloads
563,355
License
MIT
Repository
github
Last release
4 days ago

WebdriverIO

Next-gen browser 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 'webdriver'

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.

chili-testporchmarkmeanworksmoonshotpcloudy-appiumpcloudy-appium-clientpcloudy-appium-utility@applitools/eyes-webdriverio@applitools/eyes.webdriveriorecordWebsiteone-calculatormsfeatureoactlns-tradershoov-webdrivercss@dry-stack/testing@erwinverdonk/bdd-test-runner@ephox/bedrock@ephox/bedrock-server@frames/automator@enact/ui-test-utils@faltest/remotespotify-webdriverio-wrapper@financial-times/n-test@fishawack/config-grunt@galante/gui-test@awam/ti.appium@bretkikehara/karma-webdriverio-launcherscrshotscholar-runnerscreenshotty@codeceptjs/aerokube-plugin@codeceptjs/configurereflow-clientreaktor@best/runner-webdriverionpm-page-object-pub-demorubbertiger@deployable/pageshimiteershottysmartwebdriverliferay-forms-ui-testsluga-jest-presetlets-testtestiowebdriveeriowebdriver-client-test-runnerwebdriver-fullpagescreenshotwebfiberunitcucumber-hubvizzyvisreg-config-filesvrtx-browsertest-stack-harnessthe-e2esunrise-scenariostest-featurestorfs-sgmf-scriptsvaltech-testing-frameworkwebdriverio-addonsutf-test-frameworktwisereyes.webdriveriogalenjsfunctional-testing-core-functionswdio-cucumber-utilitiesweb-auto-testwa11ywargocottontailtas-report-helpertcb-bdd@gr2m/frontend-test-setuptwitter-auto-oauthframework-lettuce@springworks/android-plankan@mendix/pluggable-widgets-toolsgtr-test-xray@londoner/appium-base-driver@lennym/so-acceptanceauto-regression-testing@pratico/gauge-web-steps@ukhomeoffice/asl-functional-testing@quailjs/quail@proof-ui/test@proof-ui/browser@wdio/cli@wdio/eyes.webdriverio@wdio/runneramishp-page-object-node-moduleappium-base-driverappium-pcloudyautomaxapigeek-dialect-webapp@ianwalter/webdriver-helper@ianwalter/bff-webdriver@iamkenos/ellie@kalamazoo/webdriver-runner
6.0.13

4 days ago

6.0.12

5 days ago

6.0.11

5 days ago

6.0.10

5 days ago

6.0.7

7 days ago

6.0.6

7 days ago

6.0.9

6 days ago

6.0.8

7 days ago

6.0.5

10 days ago

6.0.4

10 days ago

6.0.1

11 days ago

6.0.0

11 days ago

6.0.2

11 days ago

5.22.4

14 days ago

5.22.3

18 days ago

5.22.2

18 days ago

5.22.1

19 days ago

6.0.0-beta.1

19 days ago

5.21.0

24 days ago

5.20.2

24 days ago

5.20.1

25 days ago

5.19.0

27 days ago

6.0.0-beta.0

27 days ago

5.18.7

2 months ago

5.18.6

3 months ago

6.0.0-alpha.1

3 months ago

5.18.5

3 months ago

5.18.4

3 months ago

5.18.2

3 months ago

5.18.0

4 months ago

6.0.0-alpha.0

4 months ago

5.17.0

4 months ago

5.16.15

4 months ago

5.16.13

4 months ago

5.16.12

4 months ago

5.16.11

4 months ago

5.16.10

4 months ago

5.16.9

4 months ago

5.16.8

5 months ago

5.16.7

5 months ago

5.16.6

5 months ago

5.16.5

5 months ago

5.16.4

5 months ago

5.16.3

5 months ago

5.16.2

5 months ago

5.16.0

5 months ago

5.15.6

5 months ago

5.15.5

5 months ago

5.15.4

5 months ago

5.15.3

5 months ago

5.15.2

6 months ago

5.15.1

6 months ago

5.15.0

6 months ago

5.14.5

6 months ago

5.14.4

6 months ago

5.14.3

6 months ago

5.14.0

6 months ago

5.13.2

6 months ago

5.13.1

7 months ago

5.13.0

7 months ago

5.13.0-alpha.0

7 months ago

5.12.5

7 months ago

5.12.4

8 months ago

5.12.1

8 months ago

5.12.0

8 months ago

5.11.14

8 months ago

5.11.13

8 months ago

5.11.12

8 months ago

5.11.11

8 months ago

5.11.10

9 months ago

5.11.7

9 months ago

5.11.6

9 months ago

5.11.5

9 months ago

5.11.2

9 months ago

5.11.1

9 months ago

5.11.0

9 months ago

5.10.10

9 months ago

5.10.9

10 months ago

5.10.8

10 months ago

5.10.7

10 months ago

5.10.5

10 months ago

5.10.4

10 months ago

5.10.1

10 months ago

5.10.0

10 months ago

5.9.6

10 months ago

5.9.5

10 months ago

5.9.4

10 months ago

5.9.3

11 months ago

5.9.2

11 months ago

5.9.1

11 months ago

5.9.0

11 months ago

5.8.6

11 months ago

5.8.5

11 months ago

5.8.4

11 months ago

5.8.3

11 months ago

5.8.2

11 months ago

5.8.1

11 months ago

5.8.0

11 months ago

5.7.15

12 months ago

5.7.14

12 months ago

5.7.13

12 months ago

5.7.12

12 months ago

5.7.9

1 year ago

5.7.8

1 year ago

5.7.6

1 year ago

5.7.5

1 year ago

5.7.4

1 year ago

4.14.4

1 year ago

5.7.3

1 year ago

5.7.2

1 year ago

5.7.1

1 year ago

5.7.0

1 year ago

5.6.6

1 year ago

4.14.3

1 year ago

5.6.5

1 year ago

5.6.4

1 year ago

5.6.3

1 year ago

5.6.2

1 year ago

5.6.1

1 year ago

5.6.0

1 year ago

5.5.0

1 year ago

5.4.20

1 year ago

5.4.19

1 year ago

5.4.18

1 year ago

5.4.17

1 year ago

5.4.15

1 year ago

5.4.14

1 year ago

5.4.13

1 year ago

5.4.12

1 year ago

5.4.11

1 year ago

5.4.10

1 year ago

5.4.9

1 year ago

5.4.8

1 year ago

5.4.7

1 year ago

5.4.6

1 year ago

5.4.3

1 year ago

5.4.2

1 year ago

5.4.1

1 year ago

5.4.0

1 year ago

5.3.5

1 year ago

5.3.4

1 year ago

5.3.3

1 year ago

5.3.2

1 year ago

5.3.1

1 year ago

5.3.0

1 year ago

4.14.2

1 year ago

5.2.8

1 year ago

5.2.7

1 year ago

5.2.6

1 year ago

5.2.5

1 year ago

5.2.4

1 year ago

5.2.3

1 year ago

5.2.2

1 year ago

5.2.1

1 year ago

5.2.0

1 year ago

5.1.1

1 year ago

5.1.0

1 year ago

5.0.3

1 year ago

5.0.0

1 year ago

5.0.0-beta.16

1 year ago

5.0.0-beta.15

1 year ago

5.0.0-beta.14

1 year ago

5.0.0-beta.13

1 year ago

5.0.0-beta.12

1 year ago

4.14.1

1 year ago

5.0.0-beta.10

1 year ago

5.0.0-beta.9

1 year ago

5.0.0-beta.8

1 year ago

5.0.0-beta.7

1 year ago

5.0.0-beta.6

1 year ago

5.0.0-beta.5

1 year ago

4.14.0

1 year 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

2 years ago

4.13.2

2 years ago

5.0.0-alpha.14

2 years ago

5.0.0-alpha.13

2 years ago

5.0.0-alpha.12

2 years ago

5.0.0-alpha.11

2 years ago

5.0.0-alpha.10

2 years ago

5.0.0-alpha.9

2 years ago

4.13.1

2 years ago

5.0.0-alpha.7

2 years ago

5.0.0-alpha.6

2 years ago

5.0.0-alpha.5

2 years ago

5.0.0-alpha.4

2 years ago

5.0.0-alpha.3

2 years ago

5.0.0-alpha.2

2 years ago

4.13.0

2 years ago

4.12.0

2 years ago

4.12.0-beta.1

2 years ago

4.11.0

2 years ago

4.10.2

2 years ago

4.10.1

2 years ago

4.10.0

2 years ago

4.9.11

2 years ago

4.9.10

2 years ago

4.9.9

2 years ago

4.9.8

2 years ago

4.9.7

2 years ago

4.9.6

2 years ago

4.9.5

2 years ago

4.9.4

2 years ago

4.9.3

2 years ago

4.9.2

2 years ago

4.9.1

2 years ago

4.9.0

2 years ago

4.8.0

3 years ago

4.7.1

3 years ago

4.7.0

3 years ago

4.6.2

3 years ago

4.6.1

3 years ago

4.6.0

3 years ago

4.5.2

3 years ago

4.5.1

3 years ago

4.5.0

3 years ago

4.4.0

3 years ago

4.3.0

3 years ago

4.2.16

4 years ago

4.2.15

4 years ago

4.2.14

4 years ago

4.2.13

4 years ago

4.2.12

4 years ago

4.2.11

4 years ago

4.2.10

4 years ago

4.2.9

4 years ago

4.2.8

4 years ago

4.2.7

4 years ago

4.2.6

4 years ago

4.2.5

4 years ago

4.2.4

4 years ago

4.2.3

4 years ago

4.2.2

4 years ago

4.2.1

4 years ago

4.2.0

4 years ago

4.1.1

4 years ago

4.1.0

4 years ago

4.0.9

4 years ago

4.0.8

4 years ago

4.0.7

4 years ago

4.0.6

4 years ago

4.0.5

4 years ago

4.0.4

4 years ago

4.0.3

4 years ago

4.0.2

4 years ago

4.0.1

4 years ago

4.0.0

4 years ago

3.4.0

4 years ago

3.3.0

4 years ago

3.2.6

4 years ago

3.2.5

4 years ago

3.2.4

5 years ago

3.2.3

5 years ago

3.2.2

5 years ago

3.2.1

5 years ago

3.2.0

5 years ago

3.1.0

5 years ago

3.0.5

5 years ago

3.0.4

5 years ago

3.0.3

5 years ago

3.0.2

5 years ago

3.0.1

5 years ago

3.0.0

5 years ago

2.4.5

5 years ago

2.4.4

5 years ago

2.4.3

5 years ago

2.4.2

5 years ago

2.4.1

5 years ago

2.4.0

5 years ago

2.3.0

5 years ago

2.2.3

6 years ago

2.2.2

6 years ago

2.2.1

6 years ago

2.2.0

6 years ago

2.1.2

6 years ago

2.1.1

6 years ago

2.1.0

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago