Open vringar opened 3 years ago
I was trying to run a crawl with the uBlock Origin extension and I am unable to get it working.
The steps I took were:
display_mode='native'
and added seed_tar=Path('path/to/profile.tar')
This was done inside of a Linux mint VM.
One thing I noticed while trying to confirm that the profile was loaded is that the profile directory is created ( the uBO_profile ) inside of the firefox profile created in the tmp directory. But that may be intended.
I just remembered that we already wrote something on the topic. See here.
It sounds to me like you tarred the profile directory instead of the contents of the profile directory. That's why your profile is copied in a subfolder in the active profile instead overwriting the active profile.
Okay, thanks for clarifying. I did not see the doc entry about profiles. I think it is because I do not have much experience with Firefox profiles, so I was looking for 'adding extensions' instead of 'adding profiles'.
I appreciate all the help.
No worries. I just had the feeling that I had already seen some docs for this. And then I found the solution to your error there.
I'll write up something explicitly mentioning add-ons
@8-legged-elephant Did you try just installing the xpi with selenium's install_addon function in the deploy_firefox.py file?
Currently there is no documentation on how to use primed profiles e.g. to run crawls with Addons or with some previous set of Cookies and Site Data.