Sha256: ee9de44425e873955ce52e92f752e8a001eeca0f64648a23fcce5730b5e1ffed

Contents?: true

Size: 436 Bytes

Versions: 7

Compression:

Stored size: 436 Bytes

Contents

#!/usr/bin/env ruby
#
# Sample Ruby script
#
require "rubygems"
require "selenium/selenese"

@browser = Selenium::Client::Driver.new(:browser => "*firefox",:url => "http://www.google.com",:timeout_in_second => 60)
@browser.start_new_browser_session
@browser.open "/"
@browser.type "q", "Selenium seleniumhq.org"
@browser.click "btnG", :wait_for => :page
puts @browser.text?("seleniumhq.org")
@browser.close_current_browser_session    

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
selenium-selenese-1.1.13 examples/script/google.rb
selenium-selenese-1.1.12 examples/script/google.rb
selenium-selenese-1.1.11 examples/script/google.rb
selenium-selenese-1.1.10 examples/script/google.rb
selenium-selenese-1.1.6 examples/script/google.rb
selenium-selenese-1.1.4 examples/script/google.rb
selenium-selenese-1.1.3 examples/script/google.rb