Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@zol/webdriverio
Advanced tools
A Node.js bindings implementation for the W3C WebDriver protocol
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.
npm install webdriverio
or if you want to use the wdio test runner
npm install -g webdriverio
Simply run wdio config
and the configuration helper wizard will get you set up:
With all that done, have a look at the many examples.
browser.url('http://google.com');
$('#q').setValue('webdriver');
$('#btnG').click();
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. Also see more WebdriverIO examples in the example folder.
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.
The npm module for this library is maintained by:
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.
MIT
FAQs
A Node.js bindings implementation for the W3C WebDriver protocol
We found that @zol/webdriverio demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.