Skip to content

Instantly share code, notes, and snippets.

@kurozumi
Last active March 16, 2016 13:17
Show Gist options
  • Save kurozumi/693ecc6c02bd11183f8c to your computer and use it in GitHub Desktop.
Save kurozumi/693ecc6c02bd11183f8c to your computer and use it in GitHub Desktop.
【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