python - how to enable firefox addons in Ghost.py -


is possible run imacro firefox script inside ghost.py? want automate heavy ajax sites.

i'm trying this:

from ghost import ghost  ghost = ghost(plugins_enabled=true,plugin_path=['c:\documents , settings\my\desktop\addons\addon-3863-latest.xpi'],) 

within ghost.py find code snippet:

if plugin_path:   p in plugin_path:     ghost._app.addlibrarypath(p) 

from of things, it's expecting path (addlibrarypath) , discoveries itself. so, give path containing .xpi

note: isn't tested.

on windows 10, typed windows address bar:

%appdata%\mozilla\firefox\profiles

i saw folder named "kswjuot9.default" (it might named things on pc) , clicked it. finally, found folder named "extensions".

try give ghost.py full address of "extensions" folder. recommend use forward slashes e.g.

c:/users/ichux/appdata/roaming/mozilla/firefox/profiles/kswjuot9.default/extensions

i saw online link on dealing how extract .xpi file


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - How to Hide Date Menu from Datepicker in yii2 -