Created
May 26, 2017 14:46
-
-
Save kurozumi/ef2f7dc4d7377b594e5f0ad693a1acf7 to your computer and use it in GitHub Desktop.
【Python】Seleniumを使ってページタイトルを取得する方法
This file contains hidden or 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 | |
| try: | |
| driver = webdriver.Firefox() | |
| driver.get("https://a-zumi.net") | |
| print(driver.title) | |
| finally: | |
| driver.quit() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment