python querry on firebug extention

Jai jaiprakashsingh213 at gmail.com
Sat Jan 11 13:16:31 EST 2014


hello

       i am working on selenium module of python, i know how to make extension  of firebug with selenium, but i  want to know how to use firebug  extension with request module / mechanize . i search a lot but unable to find it , please help .

technique similar like :-

from selenium import webdriver

fp = webdriver.FirefoxProfile()

fp.add_extension(extension='firebug-1.8.4.xpi')
fp.set_preference("extensions.firebug.currentVersion", "1.8.4") #Avoid startup screen
browser = webdriver.Firefox(firefox_profile=fp)



More information about the Python-list mailing list