Skip to content
Discussion options

You must be logged in to vote

There is no extension argument in the wrapper, but profile_dir= gives you a persistent Firefox profile, and an extension installed into that profile stays across runs:

InvisiblePlaywright(seed=42, profile_dir="/path/to/profile")

Launch once with that path, install the .xpi the normal way from about:addons, then reuse the same directory. Without profile_dir every session builds a fresh profile from the seed, which is why an extension installed in one run is gone in the next.

Worth knowing before you add one. A Firefox extension is visible to pages through its web-accessible resources, so it is a fingerprint surface of its own, and an extension that rewrites navigator or canvas will be argu…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by prog79315-eng
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