3

捆绑包中包含的宝石:

  • 捆绑器 (1.2.4)
  • 子进程(0.3.9)
  • 菲(1.4.0)
  • json (1.7.7)
  • 哑剧类型 (1.21)
  • multi_json (1.6.1)
  • 机架 (1.5.2)
  • 休息客户端(1.6.7)
  • rubyzip (0.9.9)
  • 硒网络驱动程序(2.31.0)
  • 西纳特拉 (1.3.0 063bcb1)
  • sqlite3 (1.3.7)
  • sqlite3-ruby (1.3.3)
  • 系统名称 (0.9.1)
  • 测试员(0.1.15)
  • 倾斜 (1.3.5)
  • 特洛普 (2.0)
  • 用户代理(0.4.16)
  • 网络套接字(1.0.7)
  • xml-简单 (1.1.2)

代码/异常:

csut11:current demo$ bundle exec irb
1.9.2-p290 :001 > require "selenium-webdriver"
=> true
1.9.2-p290 :002 > browser = Selenium::WebDriver.for :safari
EOFError: end of file reached
from /Users/demo/.rvm/gems/ruby-1.9.2-p290/gems/selenium-webdriver-2.31.0/lib/selenium/webdriver/safari/server.rb:37:in `read_nonblock'
from /Users/demo/.rvm/gems/ruby-1.9.2-p290/gems/selenium-webdriver-2.31.0/lib/selenium/webdriver/safari/server.rb:37:in `receive'
from /Users/demo/.rvm/gems/ruby-1.9.2-p290/gems/selenium-webdriver-2.31.0/lib/selenium/webdriver/safari/bridge.rb:60:in `raw_execute'
from /Users/demo/.rvm/gems/ruby-1.9.2-p290/gems/selenium-webdriver-2.31.0/lib/selenium/webdriver/safari/bridge.rb:40:in `create_session'
from /Users/demo/.rvm/gems/ruby-1.9.2-p290/gems/selenium-webdriver-2.31.0/lib/selenium/webdriver/remote/bridge.rb:68:in `initialize'
from /Users/demo/.rvm/gems/ruby-1.9.2-p290/gems/selenium-webdriver-2.31.0/lib/selenium/webdriver/safari/bridge.rb:23:in `initialize'
from /Users/demo/.rvm/gems/ruby-1.9.2-p290/gems/selenium-webdriver-2.31.0/lib/selenium/webdriver/common/driver.rb:47:in `new'
from /Users/demo/.rvm/gems/ruby-1.9.2-p290/gems/selenium-webdriver-2.31.0/lib/selenium/webdriver/common/driver.rb:47:in `for'
from /Users/demo/.rvm/gems/ruby-1.9.2-p290/gems/selenium-webdriver-2.31.0/lib/selenium/webdriver.rb:67:in `for'
from (irb):2
from /Users/demo/.rvm/rubies/ruby-1.9.2-p290/bin/irb:16:in `<main>'
1.9.2-p290 :003 >
4

1 回答 1

3

在 selenium 中记录的 问题http://code.google.com/p/selenium/issues/detail?id=5318
跟踪问题以修复 http://code.google.com/p/selenium/issues/detail?id=5322

于 2013-03-12T12:32:47.113 回答