Last active
February 26, 2016 11:19
-
-
Save kurozumi/0b887cc6767abd0e430b to your computer and use it in GitHub Desktop.
【Python】SeleniumでF5キーを押す方法
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 | |
from selenium.webdriver.common.keys import Keys | |
driver = webdriver.Firefox() | |
driver.get("http://www.yahoo.co.jp") | |
driver.find_element_by_tag_name("body").send_keys(Keys.F5) | |
driver.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment