Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"quotes": [2, "single"],
"no-use-before-define": 2,
"indent": [2, "tab"],
"linebreak-style": [1, "windows"],
"no-mixed-spaces-and-tabs": [2, "smart-tabs"],
"camelcase": [2, {"properties": "never"}],
"no-trailing-spaces": [1, { "skipBlankLines": true }],
Expand Down
4 changes: 2 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = function(grunt) {

var testDrivers = {};
Object.keys(automatedBrowsers).forEach(function(browserName) {
var automationConfig = automatedBrowsers[browserName];
var automationConfig = automatedBrowsers[browserName].driver;
testDrivers[browserName] = {
version: automationConfig.version,
arch: process.arch,
Expand All @@ -29,7 +29,7 @@ module.exports = function(grunt) {
// Configuration to run the tests
'selenium_standalone': {
testConfig: {
seleniumVersion: '2.53.0',
seleniumVersion: '3.141.59',
seleniumDownloadURL: 'http://selenium-release.storage.googleapis.com',
drivers: testDrivers
}
Expand Down
30 changes: 26 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
> Grunt tasks for running a standalone Selenium server using the popular selenium-standalone package

## Getting Started
This plugin requires Grunt `>=0.4.0`
This plugin requires Grunt `>=1.0.0`

If you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

Expand All @@ -30,16 +30,31 @@ grunt.initConfig({
stopOnExit: true
}
your_target: {
seleniumVersion: '2.53.0',
seleniumVersion: '3.141.59',
seleniumDownloadURL: 'http://selenium-release.storage.googleapis.com',
drivers: {
chrome: {
version: '2.21',
version: '81.0.4044.69',
arch: process.arch,
baseURL: 'http://chromedriver.storage.googleapis.com'
},
firefox: {
version: '0.26.0',
arch: process.arch,
baseURL: 'https://github.com/mozilla/geckodriver/releases'
},
safari: {
version: '2.48',
arch: process.arch,
baseURL: 'https://selenium-release.storage.googleapis.com'
},
edge: {
version: '6.17134',
arch: 'ia32',
baseURL: 'https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/'
},
ie: {
version: '2.53.0',
version: '3.150',
arch: 'ia32',
baseURL: 'http://selenium-release.storage.googleapis.com'
}
Expand Down Expand Up @@ -69,9 +84,16 @@ For each target, you can specify if the selenium server should stop automaticall

### Run tests

With Chrome:

```js
grunt test
```
With Firefox:

```js
BROWSER=firefox grunt test
```

## Release History

Expand Down
Loading