How to upload an extension on Firefox with Java-Selenide?

How to upload an extension on Firefox with Java-Selenide?

Hello Emma- crepeau,

You can refer to the sample code snippet below:

 FirefoxProfile firefoxProfile = new FirefoxProfile();
  File addonpath = new File("path of addon/extension (.xpi file)");
  firefoxProfile.addExtension(addonpath);