Selenium 2.0 and WebDriver â Selenium Documentation ãããã¸ãã®ãµã³ãã«ã³ã¼ããåèã« require 'rubygems' require 'selenium-webdriver' driver = Selenium::WebDriver.for :firefox driver.get "http://google.com" element = driver.find_element :name => "q" element.send_keys "Cheese!" element.submit puts "Page title is #{driver.title}" wait = Selenium::WebDriver::Wait.new(:timeout => 10) wait.until { driver.title.downcas
{{#tags}}- {{label}}
{{/tags}}