Firefox Extensions #3258
-
Hello, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Firefox calls them "Add-ons" (Chrome calls them "Extensions"). See https://github.com/seleniumbase/SeleniumBase/releases/tag/v1.55.1 self.install_addon(xpi_file) For some reason, it must be done at runtime after the browser has already been spun up, unlike Chrome extensions, which must be initialized before the web browser is launched. So, load your Chrome extensions on the command-line, and load your Firefox add-ons inside the tests. |
Beta Was this translation helpful? Give feedback.
Firefox calls them "Add-ons" (Chrome calls them "Extensions").
That's probably why you didn't find that in the docs (#803 (comment)).
See https://github.com/seleniumbase/SeleniumBase/releases/tag/v1.55.1
There's a method for loading
.xpi
files:For some reason, it must be done at runtime after the browser has already been spun up, unlike Chrome extensions, which must be initialized before the web browser is launched. So, load your Chrome extensions on the command-line, and load your Firefox add-ons inside the tests.