HomePhabricator

Selenium: Update to WebdriverIO v5

Authored by Vidhi-Mody on May 23 2020, 6:23 PM.

Description

Selenium: Update to WebdriverIO v5

Update NPM packages: webdriverio, wdio-mediawiki.

Replace NPM packages:

  • wdio-mocha-framework with @wdio/mocha-framework.
  • wdio-spec-reporter with @wdio/spec-reporter.
  • wdio-junit-reporter with @wdio/junit-reporter.

New NPM packages: @wdio/cli, @wdio/local-runner, @wdio/sync.

Replace:

  • browser.element with $.
  • chromeOptions with 'goog:chromeOptions'.
  • isVisible() with isDisplayed().

Bug: T250179
Change-Id: I953d9c503d42a3418fd4276877c44fed199941c3

Details

Committed
Vidhi-ModyMay 23 2020, 7:52 PM
Parents
rEEPS325235a1a2f9: Convert to manifest_version 2
Branches
Unknown
Tags
Unknown
References
wmf/1.35.0-wmf.34
ChangeId
I953d9c503d42a3418fd4276877c44fed199941c3