Last active
October 21, 2019 06:43
-
-
Save johzzy/d9385c8d4d81c6b7adfd3fc57c09cd0c to your computer and use it in GitHub Desktop.
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
#coding = utf-8 | |
from selenium import webdriver | |
fp = webdriver.FirefoxProfile('C:/Users/XXX/AppData/Roaming/Mozilla/Firefox/Profiles/i4g2sert.default') | |
driver = webdriver.Firefox(fp) | |
# 或 driver = webdriver.Firefox() | |
driver.get("https://www.bing.com") | |
print "hello" | |
driver.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment