/meteor-webdriver

Webdriver.io for Meteor

Primary LanguageJavaScript

meteor-webdriver

A webdriver.io for UI testing using any testing framework.

  1. Starts PhantomJS in webdriver mode
  2. Provides you with a browser you can automate using the industry standard Selenium Webdriver

##Installation

meteor add xolvio:webdriver

Usage

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