Skip to content
This repository has been archived by the owner on May 28, 2022. It is now read-only.

Automatically downloads selenium server drivers to work with grunt-selenium-server

Notifications You must be signed in to change notification settings

chrinor2002/grunt-selenium-server-drivers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

grunt-selenium-server-drivers

Start/stop a local Selenium standalon server.

Grunt config example (with default options):

module.exports = function (grunt) {
  grunt.loadNpmTasks('grunt-selenium-server');
  grunt.loadNpmTasks('grunt-selenium-server-drivers');
  var os = require('os');
  os.arch();
  grunt.initConfig({
    'selenium-server-drivers': {
      dev: {
        options: {
          chromedriver: {
            downloadUrl: 'http://chromedriver.storage.googleapis.com/2.21/chromedriver_linux64.zip',
            downloadLocation: '<%= start-selenium-server.dev.options.downloadLocation %>',
          }
        }
      }
    },
    'start-selenium-server': {
      dev: {
        options: {
          autostop: false,
          downloadUrl: 'https://selenium-release.storage.googleapis.com/2.46/selenium-server-standalone-2.46.0.jar',
          downloadLocation: os.tmpdir(),
          serverOptions: {},
          systemProperties: {}
        }
      }
    },
    'stop-selenium-server': {
      dev: {}
    }
  });
};

Supported Drivers

chromedriver

About

Automatically downloads selenium server drivers to work with grunt-selenium-server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published