Skip to content

Commit

Permalink
3.0.3 – update geckodriver (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
RAMart authored Oct 10, 2022
1 parent 2193d0c commit b27ed5d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ Use `GECKODRIVER_SKIP_DOWNLOAD` to skip the download of the geckodriver file.
## Versions

* [npm module version] - [geckodriver version]
* 3.x.x - geckodriver 0.30.0, refactored logic, dependency updates.
* 3.0.3 - geckodriver 0.31.0
* 3.0.x - geckodriver 0.30.0, refactored logic, dependency updates.
* 2.00.x - geckodriver 0.29.1, support changed to node v12+
* 1.22.x - geckodriver 0.29.0
* 1.21.x - geckodriver 0.28.0
Expand All @@ -112,6 +113,7 @@ Use `GECKODRIVER_SKIP_DOWNLOAD` to skip the download of the geckodriver file.

## Changelog

* 3.0.3 - geckodriver 0.31.0
* 2.0.1 - fixed proxy download behaviour.
* 1.20.0 - geckodriver 27. Requires node 8 and higher. Support `HTTPS_PROXY` env and npm_config_geckodriver_version variables.
* 1.19.0 - geckodriver 26. Dependency updates.
Expand Down
2 changes: 1 addition & 1 deletion lib/geckodriver.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ process.env.PATH += path.delimiter + path.join(__dirname, '..');
exports.path = process.platform === 'win32' ? path.join(__dirname, '..', 'geckodriver.exe') : path.join(__dirname, '..', 'geckodriver');

// specify the version of geckodriver
exports.version = process.env.GECKODRIVER_VERSION || '0.30.0';
exports.version = process.env.GECKODRIVER_VERSION || '0.31.0';

exports.start = function(args) {
exports.defaultInstance = require('child_process').execFile(exports.path, args);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "geckodriver",
"version": "3.0.2",
"version": "3.0.3",
"description": "Downloader for https://github.com/mozilla/geckodriver/releases",
"scripts": {
"test": "ava",
Expand Down
2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ test.cb('properly extracts', t => {

test('programmatic usage', t => {
var driver = require('../lib/geckodriver')
t.is(driver.version, '0.30.0')
t.is(driver.version, '0.31.0')
});

0 comments on commit b27ed5d

Please sign in to comment.