
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
firefox-profile
Advanced tools
Firefox Profile for Selenium WebdriverJS
This class allows you to:
You can add extensions to your profile, specify proxy settings, set the user preferences... More info on user preferences here.
"real" npm support is on its way... soon... maybe... Open an issue if you need it...
npm install git@github.com:saadtazi/firefox-profile-js.git
Make sur you have selenium server running... or use 'selenium-webdriver/remote' class.
var webdriver = require('selenium-webdriver');
// create profile
var FirefoxProfile = require('firefox-profile-js');
var myProfile = new FirefoxProfile();
// add an extension by specifying the path to the xpi file or to the unzipped extension directory
myProfile.addExtension('./path/to/a/firefox/extension-file.xpi', function() {
var capabilities = webdriver.Capabilities.firefox();
// attach your newly created profile
capabilities.set('firefox_profile', myProfile.encoded());
myProfile.setPreference('browser.newtab.url', 'http://saadtazi.com');
// required to create or update user.js
myProfile.updatePreferences();
// start the browser
var wd = new webdriver.Builder().
withCapabilities(capabilities).
build();
// woot!
wd.get('http://en.wikipedia.org');
});
This class is actually a port of the python class.
I currently only use the addExtension(), I only quickly manually tested the user preference and it now seems to work.
f.setPreference('browser.newtab.url', 'http://saadtazi.com');
f.updatePreferences();
FAQs
firefox profile for selenium WebDriverJs, admc/wd or any other node selenium driver that supports capabilities
We found that firefox-profile demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.