Socket
Socket
Sign inDemoInstall

firefox-profile

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

firefox-profile - npm Package Compare versions

Comparing version 0.2.7 to 0.2.9

example-wd.js

13

CHANGELOG.md

@@ -0,1 +1,14 @@

# 0.2.9
* support for jetpack extensions (jpm now in beta) (thanks @jsantell)
# 0.2.8
* updated package versions.
* dropping support for nodejs 0.8.
# 0.2.7
* updated package versions + fixed coverage report
# 0.2.6

@@ -2,0 +15,0 @@

2

example.js

@@ -8,3 +8,3 @@ var webdriver = require('selenium-webdriver');

// add an extension by specifying the path to the xpi file or to the unzipped extension directory
myProfile.addExtensions([__dirname + '/test/extensions/png-extension.xpi', __dirname + '/test/extensions/firebug-1.12.4-fx.xpi'], function() {
myProfile.addExtensions([ __dirname + '/test/extensions/firebug-2.0.1-fx.xpi'], function() {

@@ -11,0 +11,0 @@ var capabilities = webdriver.Capabilities.firefox();

@@ -14,3 +14,4 @@ 'use strict';

async = require('async'),
uuid = require('node-uuid');
uuid = require('node-uuid'),
getID = require('jetpack-id');

@@ -429,3 +430,3 @@ var config = {

this._addonDetails(addon, function(addonDetails) {
var addonId = addonDetails.id;
var addonId = getID(addonDetails);
var unpack = addonDetails.unpack === undefined ? true : addonDetails.unpack;

@@ -463,3 +464,4 @@

'unpack': true,
'version': null
'version': null,
'isNative': false
}, self = this;

@@ -491,2 +493,3 @@

details.unpack = false;
details.isNative = true;
Object.keys(details).forEach(function (prop) {

@@ -493,0 +496,0 @@ if (manifest[prop] !== undefined) {

{
"name": "firefox-profile",
"version": "0.2.7",
"version": "0.2.9",
"description": "firefox profile for selenium WebDriverJs, admc/wd or any other node selenium driver that supports capabilities",

@@ -60,6 +60,6 @@ "main": "lib/firefox_profile",

"grunt-mocha-cov": "0.2.1",
"mocha": "~1.18.0",
"mocha": "~1.20.1",
"mocha-lcov-reporter": "0.0.1",
"request": "~2.34.0",
"sinon": "~1.9.0",
"request": "~2.36.0",
"sinon": "~1.10.2",
"sinon-chai": "~2.5.0",

@@ -69,6 +69,7 @@ "wd": "~0.2.5"

"dependencies": {
"jetpack-id": "0.0.4",
"adm-zip": "~0.4.3",
"archiver": "~0.7.1",
"async": "~0.2.9",
"fs-extra": "~0.8.1",
"archiver": "~0.10",
"async": "~0.9.0",
"fs-extra": "~0.9.1",
"lazystream": "~0.1.0",

@@ -75,0 +76,0 @@ "node-uuid": "~1.4.1",

@@ -175,2 +175,3 @@ /*jshint camelcase:false*/

unpack: true,
isNative: false,
version: '2.1.0'

@@ -188,2 +189,3 @@ });

unpack: false,
isNative: false,
version: '2.2.99'

@@ -201,2 +203,3 @@ });

unpack: false,
isNative: true,
version: '0.0.1'

@@ -203,0 +206,0 @@ });

@@ -55,5 +55,10 @@ /*jshint camelcase:false*/

fp.setPreference('extensions.firebug.console.enableSites', true);
fp.setPreference('extensions.firebug.cookies.enableSites', true);
fp.setPreference('extensions.firebug.net.enableSites', true);
fp.setPreference('extensions.firebug.script.enableSites', true);
fp.setPreference('extensions.firebug.currentVersion', '2.0.1');
fp.setPreference('extensions.firebug.defaultPanelName', 'console');
// calling updatePreferences is now optional
// fp.updatePreferences();
// no longer works with ff 30+: have to be called explicitly
fp.updatePreferences();
fp.addExtensions(testProfile.extensions, function() {

@@ -76,3 +81,3 @@ fp.encoded(function(zippedProfile) {

.init({
browserName:'firefox',
browserName:'firefox', // latest
firefox_profile: zippedProfile,

@@ -90,6 +95,10 @@ name: 'firefox-profile-js',

res.should.contain('function');
sendStatusToSauceLabs(browser.sessionID, true, function() { done(); });
if (browser.sessionID) {
sendStatusToSauceLabs(browser.sessionID, true, function() { done(); });
}
})
.fail(function(err) {
sendStatusToSauceLabs(browser.sessionID, true, function() { done(err); });
if (browser.sessionID) {
sendStatusToSauceLabs(browser.sessionID, true, function() { done(err); });
}
})

@@ -96,0 +105,0 @@ .done();

@@ -12,3 +12,3 @@ var path = require('path');

profileWithFirebug: {
extensions: [path.join(__dirname, 'extensions/firebug-1.12.4-fx.xpi')]
extensions: [path.join(__dirname, 'extensions/firebug-2.0.1-fx.xpi')]

@@ -15,0 +15,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc