Last active
July 3, 2017 04:57
-
-
Save kurozumi/79fa8564616c2b9b6be1e54d0102bea1 to your computer and use it in GitHub Desktop.
RubyでSeleniumを操作する
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
require 'selenium-webdriver' | |
Selenium::WebDriver::Firefox::Binary.path="firefox/firefox" | |
driver = Selenium::WebDriver.for :firefox | |
driver.get "https://www.yahoo.co.jp" | |
driver.close |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment