Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
【Python】SeleniumでFirebugを使う方法
from selenium import webdriver
fp = webdriver.FirefoxProfile()
fp.add_extension(extension='firebug-2.0.14b1.xpi')
fp.set_preference("extensions.firebug.currentVersion", "2.0.14b1") #Avoid startup screen
driver = webdriver.Firefox(firefox_profile=fp)
driver.get("https://www.google.co.jp")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment