meteor-webdriver
A webdriver.io for UI testing using any testing framework.
- Starts PhantomJS in webdriver mode
- Provides you with a browser you can automate using the industry standard Selenium Webdriver
##Installation
meteor add xolvio:webdriverUsage
describe('Browser testing', function(done) {
var browser;
before(function(done) {
wdio.getGhostDriver(function(browzer) {
browser = browzer;
done();
});
})
it('should have the correct title', function(done) {
browser.
init().
url('http://www.google.com').
title(function(err, res) {
console.log('Title was: ' + res.value);
}).
end().
call(done);
});
});
For more examples and usage, see the webdriver.io website.
Package Roadmap
- WebdriverIO
- Use PhantomJS in GhostDriver mode
- Automatically Download ChromeDriver / Selenium Server
- Reuse the selenium webdriver session between tests so the browser does not flicker on and off
- Support multiple window testing
- Specify the browser matrix to run in development
- Specify the browser matrix to run in continuous integration mode
- SauceLabs & BrowserStack support