Skip to content

Firefox Extensions #3258

Answered by mdmintz
BelugaByte asked this question in Q&A
Discussion options

You must be logged in to vote

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:

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mdmintz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants