node package manager

videojs-automation

videojs-automation

Build Status

Sauce Test Status

Automation for video.js projects.

Powered by BrowserStack

Getting Started

npm install --save-dev videojs-automation

If using Sauce Labs Add the secured Sauce Labs username and key to .travis.yml. If using BrowserStack add the secured BrowserStack username and key to .travis.yml or to the repository settings ### Example Task

videojs_automation: {
  test: ['test/test.js']
}

Example Test

var Player = require('videojs-automation');
 
describe('Player', function() {
  it('should play', function() {
    var player = new Player('http://www.videojs.com');
    player.bigPlayButton().click();
    expect(player.isPlaying()).toBe(true);
  });
});