7.14.1 • Published 12 days ago

webdriverio v7.14.1

Weekly downloads
854,893
License
MIT
Repository
github
Last release
12 days ago

WebdriverIO

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

This package provides an 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 Chrome installed, 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.

test-framework-commonklassi-cucumber-jsyoutube-bookmarks-playernlisgo-pattern-librarychili-test@dry-stack/testing@logigear/gondolajssoliculusjest-varmonwdio5-cucumber-automationoptimuscloud-typescript-clientselenium-sauce@startdt/cli-plugin-e2e-webdriverio@springworks/android-plankanaft-ui-mobile-appsaeopus-pattern-libraryaddon-storyshots-wdioagenta.jsamishp-page-object-node-module@wdio/devtools-service@wdio/eyes.webdriverio@wdio/crossbrowsertesting-service@wdio/sauce-service@wdio/shared-store-service@wdio/runner@wdio/cli@wdio/applitools-service@wdio/browserstack-service@wdio/sync@wdio/testingbot-service@wdio/webdriver-mock-service@web/test-runner-saucelabs@web/test-runner-webdriver@zohodesk/screenshot-test@xolvio/sync-webdriverioPTC-Creator@startdt/plugin-e2e-webdriverio@vue/cli-plugin-e2e-webdriverio@therebel/spectroneyes.webdriverio@best/runner-webdriverioreact-screenshot-testreact-screenshot-test-tt-fork@bretkikehara/karma-webdriverio-launcher@cerner/terra-functional-testingrecordWebsiteresemble-tests-with-forkreflow-clientroc-plugin-test-webdriveriorallf-js-sdkrc-pluggable-widgets-toolsspotify-webdriverio-wrapperso-acceptancescreenie-webdriverscrshotscreenshottyscreenstoryscholar-runnershoov-webdrivercssshimiteerselenium-phantom-serverselsasgmf-scriptssharpeyeshottysmartwebdriverspectron-sky-ukspectron-testspectroscopesunrise-scenariosspectronspectron-8.0.0spectron-execspeedo@awam/ti.appium@appium/base-drivernativescript-dev-appiumnetwork_logsnode-scrapperns-traderntafnull-nulloactloptimuscloud-js-clientplugin-lightning-testing-serviceplugin-lightning-testing-service-customoxygen-clione-calculatorpcloudy-appiumpcloudy-appium-clientpcloudy-appium-connectorpcloudy-appium-connector-utilitypcloudy-appium-utilitynode-red-contrib-scw-wdionpm-page-object-pub-demonode-red-contrib-webdriverionode-red-contrib-wdionpmtestprojectpublishporchmarkreact-visual-regression-test
7.14.1

12 days ago

7.13.2

19 days ago

7.13.1

23 days ago

7.13.0

24 days ago

7.12.5

1 month ago

7.12.4

1 month ago

7.12.3

1 month ago

7.12.2

1 month ago

7.12.1

1 month ago

7.12.0

1 month ago

7.11.1

2 months ago

7.11.0

2 months ago

7.10.1

2 months ago

7.10.0

2 months ago

7.9.1

2 months ago

7.9.0

3 months ago

7.8.0

3 months ago

7.7.8

3 months ago

7.7.7

3 months ago

7.7.6

3 months ago

7.7.5

3 months ago

7.7.4

4 months ago

7.7.0

5 months ago

7.7.3

4 months ago

7.7.2

5 months ago

7.5.3

6 months ago

7.5.2

6 months ago

7.5.1

6 months ago

7.5.0

6 months ago

7.5.7

5 months ago

7.5.6

5 months ago

7.6.1

5 months ago

7.6.0

5 months ago

7.4.6

6 months ago

7.4.5

6 months ago

7.4.2

6 months ago

7.4.1

6 months ago

7.4.0

6 months ago

7.3.1

6 months ago

7.3.0

7 months ago

7.2.3

7 months ago

7.2.2

7 months ago

7.2.1

7 months ago

7.2.0

7 months ago

7.1.1

7 months ago

7.1.0

7 months ago

7.0.9

8 months ago

7.0.8

8 months ago

7.0.7

8 months ago

7.0.5

8 months ago

7.0.4

8 months ago

7.0.3

8 months ago

7.0.2

8 months ago

7.0.1

8 months ago

7.0.0

8 months ago

7.0.0-beta.4

8 months ago

7.0.0-beta.3

8 months ago

7.0.0-beta.2

9 months ago

7.0.0-beta.1

9 months ago

7.0.0-beta.0

9 months ago

6.12.1

9 months ago

6.12.0

9 months ago

6.11.3

9 months ago

6.11.0

9 months ago

6.10.11

10 months ago

6.10.10

10 months ago

6.10.7

10 months ago

6.10.6

10 months ago

6.10.5

11 months ago

6.10.4

11 months ago

6.10.2

11 months ago

6.10.0

11 months ago

6.9.1

11 months ago

6.8.2

11 months ago

6.9.0

11 months ago

6.8.1

11 months ago

6.8.0

11 months ago

6.7.3

11 months ago

6.7.2

12 months ago

6.7.1

12 months ago

6.7.0

12 months ago

6.6.7

12 months ago

6.6.6

1 year ago

6.6.4

1 year ago

6.6.3

1 year ago

6.6.2

1 year ago

6.6.0

1 year ago

6.5.2

1 year ago

6.5.0

1 year ago

6.4.7

1 year ago

6.4.6

1 year ago

6.4.5

1 year ago

6.4.4

1 year ago

6.4.2

1 year ago

6.4.1

1 year ago

6.4.0

1 year ago

6.3.6

1 year ago

6.3.5

1 year ago

6.3.4

1 year ago

6.3.3

1 year ago

6.3.0

1 year ago

6.2.0

1 year ago

6.1.25

1 year ago

6.1.24

1 year ago

6.1.23

1 year ago

6.1.22

1 year ago

6.1.20

1 year ago

6.1.19

1 year ago

6.1.17

1 year ago

6.1.16

1 year ago

6.1.14

1 year ago

5.23.0

1 year ago

6.1.12

1 year ago

6.1.11

1 year ago

6.1.9

1 year ago

6.1.8

1 year ago

6.1.7

1 year ago

6.1.5

1 year ago

6.1.4

1 year ago

6.1.3

1 year ago

6.1.2

1 year ago

6.1.0

1 year ago

6.0.18

1 year ago

6.0.16

2 years ago

6.0.15

2 years ago

6.0.14

2 years ago

6.0.13

2 years ago

6.0.12

2 years ago

6.0.11

2 years ago

6.0.10

2 years ago

6.0.7

2 years ago

6.0.6

2 years ago

6.0.9

2 years ago

6.0.8

2 years ago

6.0.5

2 years ago

6.0.4

2 years ago

6.0.1

2 years ago

6.0.0

2 years ago

6.0.2

2 years ago

5.22.4

2 years ago

5.22.3

2 years ago

5.22.2

2 years ago

5.22.1

2 years ago

6.0.0-beta.1

2 years ago

5.21.0

2 years ago

5.20.2

2 years ago

5.20.1

2 years ago

5.19.0

2 years ago

6.0.0-beta.0

2 years ago

5.18.7

2 years ago

5.18.6

2 years ago

6.0.0-alpha.1

2 years ago

5.18.5

2 years ago

5.18.4

2 years ago

5.18.2

2 years ago

5.18.0

2 years ago

6.0.0-alpha.0

2 years ago

5.17.0

2 years ago

5.16.15

2 years ago

5.16.13

2 years ago

5.16.12

2 years ago

5.16.11

2 years ago

5.16.10

2 years ago

5.16.9

2 years ago

5.16.8

2 years ago

5.16.7

2 years ago

5.16.6

2 years ago

5.16.5

2 years ago

5.16.4

2 years ago

5.16.3

2 years ago

5.16.2

2 years ago

5.16.0

2 years ago

5.15.6

2 years ago

5.15.5

2 years ago

5.15.4

2 years ago

5.15.3

2 years ago

5.15.2

2 years ago

5.15.1

2 years ago

5.15.0

2 years ago

5.14.5

2 years ago

5.14.4

2 years ago

5.14.3

2 years ago

5.14.0

2 years ago

5.13.2

2 years ago

5.13.1

2 years ago

5.13.0

2 years ago

5.13.0-alpha.0

2 years ago

5.12.5

2 years ago

5.12.4

2 years ago

5.12.1

2 years ago

5.12.0

2 years ago

5.11.14

2 years ago

5.11.13

2 years ago

5.11.12

2 years ago

5.11.11

2 years ago

5.11.10

2 years ago

5.11.7

2 years ago

5.11.6

2 years ago

5.11.5

2 years ago

5.11.2

2 years ago

5.11.1

2 years ago

5.11.0

2 years ago

5.10.10

2 years ago

5.10.9

2 years ago

5.10.8

2 years ago

5.10.7

2 years ago

5.10.5

2 years ago

5.10.4

2 years ago

5.10.1

2 years ago

5.10.0

2 years ago

5.9.6

2 years ago

5.9.5

2 years ago

5.9.4

2 years ago

5.9.3

2 years ago

5.9.2

2 years ago

5.9.1

2 years ago

5.9.0

2 years ago

5.8.6

2 years ago

5.8.5

2 years ago

5.8.4

2 years ago

5.8.3

2 years ago

5.8.2

2 years ago

5.8.1

2 years ago

5.8.0

2 years ago

5.7.15

2 years ago

5.7.14

3 years ago

5.7.13

3 years ago

5.7.12

3 years ago

5.7.9

3 years ago

5.7.8

3 years ago

5.7.6

3 years ago

5.7.5

3 years ago

5.7.4

3 years ago

4.14.4

3 years ago

5.7.3

3 years ago

5.7.2

3 years ago

5.7.1

3 years ago

5.7.0

3 years ago

5.6.6

3 years ago

4.14.3

3 years ago

5.6.5

3 years ago

5.6.4

3 years ago

5.6.3

3 years ago

5.6.2

3 years ago

5.6.1

3 years ago

5.6.0

3 years ago

5.5.0

3 years ago

5.4.20

3 years ago

5.4.19

3 years ago

5.4.18

3 years ago

5.4.17

3 years ago

5.4.15

3 years ago

5.4.14

3 years ago

5.4.13

3 years ago

5.4.12

3 years ago

5.4.11

3 years ago

5.4.10

3 years ago

5.4.9

3 years ago

5.4.8

3 years ago

5.4.7

3 years ago

5.4.6

3 years ago

5.4.3

3 years ago

5.4.2

3 years ago

5.4.1

3 years ago

5.4.0

3 years ago

5.3.5

3 years ago

5.3.4

3 years ago

5.3.3

3 years ago

5.3.2

3 years ago

5.3.1

3 years ago

5.3.0

3 years ago

4.14.2

3 years ago

5.2.8

3 years ago

5.2.7

3 years ago

5.2.6

3 years ago

5.2.5

3 years ago

5.2.4

3 years ago

5.2.3

3 years ago

5.2.2

3 years ago

5.2.1

3 years ago

5.2.0

3 years ago

5.1.1

3 years ago

5.1.0

3 years ago

5.0.3

3 years ago

5.0.0

3 years ago

5.0.0-beta.16

3 years ago

5.0.0-beta.15

3 years ago

5.0.0-beta.14

3 years ago

5.0.0-beta.13

3 years ago

5.0.0-beta.12

3 years ago

4.14.1

3 years ago

5.0.0-beta.10

3 years ago

5.0.0-beta.9

3 years ago

5.0.0-beta.8

3 years ago

5.0.0-beta.7

3 years ago

5.0.0-beta.6

3 years ago

5.0.0-beta.5

3 years ago

4.14.0

3 years ago

5.0.0-beta.3

3 years ago

5.0.0-beta.2

3 years ago

5.0.0-beta.1

3 years ago

5.0.0-beta.0

3 years ago

4.13.2

3 years ago

5.0.0-alpha.14

3 years ago

5.0.0-alpha.13

3 years ago

5.0.0-alpha.12

3 years ago

5.0.0-alpha.11

3 years ago

5.0.0-alpha.10

3 years ago

5.0.0-alpha.9

3 years ago

4.13.1

3 years ago

5.0.0-alpha.7

3 years ago

5.0.0-alpha.6

3 years ago

5.0.0-alpha.5

3 years ago

5.0.0-alpha.4

3 years ago

5.0.0-alpha.3

3 years ago

5.0.0-alpha.2

3 years ago

4.13.0

3 years ago

4.12.0

4 years ago

4.12.0-beta.1

4 years ago

4.11.0

4 years ago

4.10.2

4 years ago

4.10.1

4 years ago

4.10.0

4 years ago

4.9.11

4 years ago

4.9.10

4 years ago

4.9.9

4 years ago

4.9.8

4 years ago

4.9.7

4 years ago

4.9.6

4 years ago

4.9.5

4 years ago

4.9.4

4 years ago

4.9.3

4 years ago

4.9.2

4 years ago

4.9.1

4 years ago

4.9.0

4 years ago

4.8.0

4 years ago

4.7.1

4 years ago

4.7.0

4 years ago

4.6.2

5 years ago

4.6.1

5 years ago

4.6.0

5 years ago

4.5.2

5 years ago

4.5.1

5 years ago

4.5.0

5 years ago

4.4.0

5 years ago

4.3.0

5 years ago

4.2.16

5 years ago

4.2.15

5 years ago

4.2.14

5 years ago

4.2.13

5 years ago

4.2.12

5 years ago

4.2.11

5 years ago

4.2.10

5 years ago

4.2.9

5 years ago

4.2.8

5 years ago

4.2.7

5 years ago

4.2.6

5 years ago

4.2.5

5 years ago

4.2.4

5 years ago

4.2.3

5 years ago

4.2.2

5 years ago

4.2.1

5 years ago

4.2.0

5 years ago

4.1.1

5 years ago

4.1.0

5 years ago

4.0.9

5 years ago

4.0.8

5 years ago

4.0.7

5 years ago

4.0.6

5 years ago

4.0.5

6 years ago

4.0.4

6 years ago

4.0.3

6 years ago

4.0.2

6 years ago

4.0.1

6 years ago

4.0.0

6 years ago

3.4.0

6 years ago

3.3.0

6 years ago

3.2.6

6 years ago

3.2.5

6 years ago

3.2.4

6 years ago

3.2.3

6 years ago

3.2.2

6 years ago

3.2.1

6 years ago

3.2.0

6 years ago

3.1.0

6 years ago

3.0.5

6 years ago

3.0.4

6 years ago

3.0.3

6 years ago

3.0.2

6 years ago

3.0.1

6 years ago

3.0.0

6 years ago

2.4.5

7 years ago

2.4.4

7 years ago

2.4.3

7 years ago

2.4.2

7 years ago

2.4.1

7 years ago

2.4.0

7 years ago

2.3.0

7 years ago

2.2.3

7 years ago

2.2.2

7 years ago

2.2.1

7 years ago

2.2.0

7 years ago

2.1.2

7 years ago

2.1.1

7 years ago

2.1.0

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago