safariwatir 0.2.9 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -359,7 +359,7 @@ for (var i = 0; i < elements.length; i++) {
359
359
  var elements = document.getElementsByName('#{element.what}');
360
360
  var element = undefined;
361
361
  for (var i = 0; i < elements.length; i++) {
362
- if (elements[i].tagName != 'META') {
362
+ if (elements[i].tagName != 'META' && elements[i].tagName == '#{element.tag}') {
363
363
  #{handle_form_element_name_match(element)}
364
364
  }
365
365
  }|, yield)
@@ -148,6 +148,4 @@ begin
148
148
  safari.tables
149
149
  safari.onchange
150
150
  safari.ruby_sponsor_images
151
- # ensure
152
- # safari.close
153
151
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: safariwatir
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.9
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dave Hoover
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-10-10 00:00:00 -05:00
12
+ date: 2008-10-17 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency