selenium-webdriver 2.29.0 → 2.30.0

Sign up to get free protection for your applications and to get access to all the features.
data/README CHANGED
@@ -9,7 +9,7 @@ gem install selenium-webdriver
9
9
  = LINKS
10
10
 
11
11
  * http://rubygems.org/gems/selenium-webdriver
12
- * http://selenium.googlecode.com/svn/trunk/docs/api/rb/index.html
12
+ * http://selenium.googlecode.com/git/docs/api/rb/index.html
13
13
  * http://code.google.com/p/selenium/wiki/RubyBindings
14
14
  * http://code.google.com/p/selenium/issues/list
15
15
 
@@ -2,11 +2,11 @@ module Selenium
2
2
  module WebDriver
3
3
  class Alert
4
4
 
5
- attr_reader :text
6
-
7
5
  def initialize(bridge)
8
6
  @bridge = bridge
9
- @text = bridge.getAlertText
7
+
8
+ # fail fast if the alert doesn't exist
9
+ bridge.getAlertText
10
10
  end
11
11
 
12
12
  def accept
@@ -21,6 +21,10 @@ module Selenium
21
21
  @bridge.setAlertValue keys
22
22
  end
23
23
 
24
+ def text
25
+ @bridge.getAlertText
26
+ end
27
+
24
28
  end # Alert
25
29
  end # WebDriver
26
30
  end # Selenium
@@ -219,8 +219,8 @@ module Selenium
219
219
  hash['firefox_profile'] = value.as_json['zip'] if value
220
220
  when :proxy
221
221
  hash['proxy'] = value.as_json if value
222
- when String
223
- hash[key] = value
222
+ when String, :firefox_binary
223
+ hash[key.to_s] = value
224
224
  when Symbol
225
225
  hash[camel_case(key.to_s)] = value
226
226
  else
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: selenium-webdriver
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 2.29.0
5
+ version: 2.30.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jari Bakken
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2013-01-21 00:00:00 +01:00
13
+ date: 2013-02-20 00:00:00 +01:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency