Last active
March 16, 2016 13:17
-
-
Save kurozumi/693ecc6c02bd11183f8c to your computer and use it in GitHub Desktop.
【Python】SeleniumでFirebugを使う方法
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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