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.3.8 to 0.3.9

1

lib/firefox_profile.js

@@ -142,3 +142,2 @@ /**

});
process.addListener('SIGINT', process.exit);
}

@@ -145,0 +144,0 @@

5

package.json
{
"name": "firefox-profile",
"version": "0.3.8",
"version": "0.3.9",
"description": "firefox profile for selenium WebDriverJs, admc/wd or any other node selenium driver that supports capabilities",

@@ -51,2 +51,5 @@ "main": "lib/firefox_profile",

"url": "https://github.com/XrXr"
}, {
"name": "Christoph Dorn",
"url": "http://www.christophdorn.com/"
}],

@@ -53,0 +56,0 @@ "devDependencies": {

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

beforeEach(function() {
// default basic profile
fp = new FirefoxProfile();

@@ -23,3 +24,3 @@ });

afterEach(function(done) {
// will remove the onexit() call (that deletes the dir folder)
// will remove the onexit() calls (that deletes the dir folder)
// prevents warning:

@@ -36,3 +37,3 @@ // possible EventEmitter memory leak detected.

it('with string parameter, lock files should not be copied over', function() {
it('with string parameter, lock files should not be copied over', function(done) {
var fp = new FirefoxProfile(testProfiles.emptyProfile.path);

@@ -45,5 +46,6 @@ expect(fp.profileDir.slice(-5)).to.be.equal('-copy');

expect(fs.existsSync(path.join(fp.profileDir, 'empty.file'))).to.be.true;
fp.deleteDir(done);
});
it('should copy the profile into destinationDirectory if specified', function() {
it('should copy the profile into destinationDirectory if specified', function(done) {
var fp = new FirefoxProfile({ profileDirectory: testProfiles.emptyProfile.path,

@@ -58,2 +60,4 @@ destinationDirectory: testProfiles.dest

expect(fs.existsSync(path.join(fp.profileDir, 'empty.file'))).to.be.true;
// to clean events
fp.deleteDir(done);
});

@@ -93,3 +97,4 @@

expect(fs.existsSync(path.join(fp.profileDir, 'empty.file'))).to.be.true;
done();
// to clean events
fp.deleteDir(done);
});

@@ -112,2 +117,3 @@ });

expect(fs.existsSync(path.join(fp.profileDir, 'empty.file'))).to.be.true;
// to clean events
fp.deleteDir(done);

@@ -136,3 +142,4 @@ });

expect(fs.existsSync(path.join(fp.profileDir, 'empty.file'))).to.be.true;
done();
// to clean events
fp.deleteDir(done);
});

@@ -139,0 +146,0 @@ });

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