Socket
Socket
Sign inDemoInstall

@christian-bromann/webdriverio

Package Overview
Dependencies
168
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @christian-bromann/webdriverio

A nodejs bindings implementation for selenium 2.0/webdriver


Version published
Weekly downloads
19
increased by850%
Maintainers
1
Install size
17.4 MB
Created
Weekly downloads
 

Readme

Source

WebdriverIO WebdriverIO

Build Status NPM version Dependency Status npm Coveralls Gitter

Selenium Test Status


Homepage | Developer Guide | API Reference | Contribute

This library is a webdriver (browser automation) module for Node.JS. It makes it possible to write super easy Selenium tests in your favorite BDD/TDD test framework, that will run locally or in the cloud using Sauce Labs, BrowserStack or TestingBot.

WebdriverIO is agnostic with regards to the test framework you want to use. Cucumber, Jasmine and Mocha+Chai are supported by the configuration wizard, and you can use other frameworks as well - for example Yadda.

Installation

npm install webdriverio

or if you want to use the wdio test runner

npm install -g webdriverio

Getting started

Simply run wdio config and the configuration helper wizard will get you set up:

wdio wizard

With all that done, have a look at the many examples.

Plugins

Grunt Integration Gulp Integration Sublime Text Plugin Visual Regression Testing with Applitools Eyes WebRTC Analytics Plugin

Syntax example

client
    .url('http://google.com')
    .setValue('#q', 'webdriver')
    .click('#btnG')

Notice how this is far simpler than with the original selenium-webdriverjs,

driver.get('http://www.google.com');
driver.findElement(webdriver.By.id('q')).sendKeys('webdriver');
driver.findElement(webdriver.By.id('btnG')).click();

and significantly simpler than with WD.js:

browser
  .get("http://www.google.com")
  .elementById('q')
  .sendKeys('webdriver')
  .elementById('btnG')
  .click()

For more details on the comparison between WebdriverIO, selenium-webdriverjs and WD.js, read this discussion.

Need help?

If you have questions or any problems using WebdriverIO join the Gitter Chat, hit us contributor on Twitter or just file an issue on Github. We will try to get back to you as soon as possible.

Also if you miss any feature, let us know so we can make WebdriverIO even better. For news or announcements check @WebdriverIO on Twitter.

NPM Maintainers

The npm module for this library is maintained by:

History

WebdriverIO was originated by Camilo Tapia's initial Selenium project called WebdriverJS, which was the first webdriver project on NPM. In 2014, the project was renamed WebdriverIO later on.

License

MIT

Keywords

FAQs

Last updated on 17 Aug 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc