operawatir 0.4.3.pre1-jruby → 0.5-jruby

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. data/.gitmodules +1 -1
  2. data/CHANGES +230 -0
  3. data/Gemfile +4 -0
  4. data/Rakefile +3 -2
  5. data/VERSION +1 -1
  6. data/bin/desktopwatir +1 -1
  7. data/bin/operawatir +16 -4
  8. data/lib/operadriver/guava-r09.jar +0 -0
  9. data/lib/operadriver/operadriver-v0.7.2.jar +0 -0
  10. data/lib/operadriver/selenium-nodeps-20100909.jar +0 -0
  11. data/lib/operawatir.rb +10 -3
  12. data/lib/operawatir/actions.rb +111 -0
  13. data/lib/operawatir/browser.rb +24 -20
  14. data/lib/operawatir/clickable_item.rb +68 -0
  15. data/lib/operawatir/compat.rb +4 -4
  16. data/lib/operawatir/compat/collection.rb +1 -1
  17. data/lib/operawatir/compat/element.rb +1 -1
  18. data/lib/operawatir/compat/window.rb +4 -3
  19. data/lib/operawatir/desktop_browser.rb +299 -95
  20. data/lib/operawatir/desktop_common.rb +88 -23
  21. data/lib/operawatir/desktop_container.rb +103 -34
  22. data/lib/operawatir/desktop_enums.rb +4 -4
  23. data/lib/operawatir/desktop_exceptions.rb +2 -2
  24. data/lib/operawatir/desktop_helper.rb +31 -8
  25. data/lib/operawatir/element.rb +6 -2
  26. data/lib/operawatir/exceptions.rb +4 -4
  27. data/lib/operawatir/helper.rb +6 -6
  28. data/lib/operawatir/keys.rb +4 -4
  29. data/lib/operawatir/preferences.rb +126 -155
  30. data/lib/operawatir/quickwidgets.rb +3 -3
  31. data/lib/operawatir/quickwidgets/quick_addressfield.rb +12 -5
  32. data/lib/operawatir/quickwidgets/quick_button.rb +39 -53
  33. data/lib/operawatir/quickwidgets/quick_checkbox.rb +6 -6
  34. data/lib/operawatir/quickwidgets/quick_dialogtab.rb +5 -5
  35. data/lib/operawatir/quickwidgets/quick_dropdown.rb +28 -4
  36. data/lib/operawatir/quickwidgets/quick_dropdownitem.rb +46 -0
  37. data/lib/operawatir/quickwidgets/quick_editfield.rb +16 -13
  38. data/lib/operawatir/quickwidgets/quick_label.rb +1 -1
  39. data/lib/operawatir/quickwidgets/quick_menu.rb +155 -0
  40. data/lib/operawatir/quickwidgets/quick_menuitem.rb +387 -0
  41. data/lib/operawatir/quickwidgets/quick_searchfield.rb +7 -4
  42. data/lib/operawatir/quickwidgets/quick_tab.rb +23 -12
  43. data/lib/operawatir/quickwidgets/quick_thumbnail.rb +4 -4
  44. data/lib/operawatir/quickwidgets/quick_toolbar.rb +1 -1
  45. data/lib/operawatir/quickwidgets/quick_treeitem.rb +45 -29
  46. data/lib/operawatir/quickwidgets/quick_treeview.rb +2 -2
  47. data/lib/operawatir/quickwidgets/quick_widget.rb +267 -77
  48. data/lib/operawatir/quickwidgets/quick_window.rb +64 -38
  49. data/lib/operawatir/screenshot.rb +1 -1
  50. data/lib/operawatir/utils.rb +31 -0
  51. data/lib/operawatir/window.rb +1 -1
  52. data/operawatir.gemspec +38 -132
  53. data/spec/operawatir/core/actions_spec.rb +202 -0
  54. data/spec/operawatir/core/browser_spec.rb +8 -8
  55. data/spec/operawatir/core/element_spec.rb +11 -2
  56. data/spec/operawatir/core/keys_spec.rb +50 -2
  57. data/spec/operawatir/core/preferences_spec.rb +44 -128
  58. data/spec/operawatir/core/spatnav_spec.rb +16 -16
  59. data/spec/operawatir/core/utils_spec.rb +47 -0
  60. data/spec/operawatir/core/window_spec.rb +1 -1
  61. data/spec/operawatir/desktop/desktopbrowser_spec.rb +191 -22
  62. data/spec/operawatir/desktop/quickbutton_spec.rb +197 -164
  63. data/spec/operawatir/desktop/quickcheckbox_spec.rb +12 -12
  64. data/spec/operawatir/desktop/quickdialogtab_spec.rb +11 -11
  65. data/spec/operawatir/desktop/quickdropdown_spec.rb +25 -25
  66. data/spec/operawatir/desktop/quickeditfield_spec.rb +31 -31
  67. data/spec/operawatir/desktop/quickmenu_spec.rb +57 -0
  68. data/spec/operawatir/desktop/quickmenuitem_spec.rb +168 -0
  69. data/spec/operawatir/desktop/quicktab_spec.rb +26 -15
  70. data/spec/operawatir/desktop/quickthumbnail_spec.rb +18 -4
  71. data/spec/operawatir/desktop/quicktreeitem_spec.rb +72 -72
  72. data/spec/operawatir/desktop/quicktreeview_spec.rb +13 -13
  73. data/spec/operawatir/desktop/quickwidget_spec.rb +51 -13
  74. data/spec/operawatir/desktop/quickwindow_spec.rb +4 -0
  75. data/spec/operawatir/desktop/shared/shared.rb +25 -9
  76. data/spec/operawatir/fixtures/draggableLists.html +67 -0
  77. data/spec/operawatir/fixtures/formSelectionPage.html +46 -0
  78. data/spec/operawatir/fixtures/js/jquery-1.4.4.min.js +167 -0
  79. data/spec/operawatir/fixtures/js/jquery-ui-1.8.10.custom.min.js +782 -0
  80. data/spec/operawatir/fixtures/keys.html +40 -0
  81. data/spec/operawatir/fixtures/label_submit.html +5 -0
  82. data/spec/operawatir/fixtures/mouse.html +59 -0
  83. data/spec/operawatir/fixtures/simple.html +10 -0
  84. data/spec/operawatir/matchers.rb +20 -19
  85. data/spec/operawatir/watirspec_desktophelper.rb +51 -3
  86. data/spec/operawatir/watirspec_helper.rb +0 -2
  87. metadata +91 -220
  88. data/lib/operadriver/client-combined-nodeps.jar +0 -0
  89. data/lib/operadriver/webdriver-opera.jar +0 -0
  90. data/spec/watir3/browser_spec.rb +0 -190
  91. data/spec/watir3/clipboard_spec.rb +0 -64
  92. data/spec/watir3/collection_spec.rb +0 -387
  93. data/spec/watir3/element_spec.rb +0 -474
  94. data/spec/watir3/guards.rb +0 -39
  95. data/spec/watir3/keys_spec.rb +0 -204
  96. data/spec/watir3/server.rb +0 -91
  97. data/spec/watir3/watirspec_helper.rb +0 -62
  98. data/spec/watir3/window_spec.rb +0 -295
@@ -0,0 +1,40 @@
1
+ <!doctype HTML>
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5
+ <title>Keys fixture</title>
6
+ </head>
7
+ <body>
8
+ <h1>Keys test</h1>
9
+ <pre id="log"></pre>
10
+
11
+ <script type="text/javascript">
12
+ logEl = document.getElementById("log");
13
+
14
+ function handler(e) {
15
+ e.preventDefault();
16
+
17
+ var modifiers = []
18
+ if (e.altKey) modifiers.push('alt');
19
+ if (e.ctrlKey) modifiers.push('ctrl');
20
+ if (e.metaKey) modifiers.push('meta');
21
+ if (e.shiftKey) modifiers.push('shift');
22
+
23
+ logEl.innerHTML = logEl.innerHTML + [
24
+ e.type.substr(3),
25
+ e.keyCode,
26
+ (e.keyCode >= 32) ? String.fromCharCode(e.keyCode) : "",
27
+ modifiers
28
+ ].join(", ") +
29
+ "\n";
30
+
31
+ console.log(e);
32
+ }
33
+
34
+ document.addEventListener('keydown', handler, false);
35
+ document.addEventListener('keyup', handler, false);
36
+ document.addEventListener('keypress', handler, false);
37
+ </script>
38
+
39
+ </body>
40
+ </html>
@@ -0,0 +1,5 @@
1
+ <!doctype html>
2
+ <meta charset="utf-8" />
3
+ <title>LABEL element tied to form submission</title>
4
+
5
+ <form action="data:text/html;charset=utf-8,PASS"><label>Click me <input type="submit" /></label></form>
@@ -0,0 +1,59 @@
1
+ <!doctype HTML>
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5
+ <title>Mouse fixture</title>
6
+ </head>
7
+ <body>
8
+
9
+ <h1>Mouse test</h1>
10
+ <div id="test" style="">
11
+ Test area
12
+ </div>
13
+ <pre id="log"></pre>
14
+
15
+ <style type="text/css">
16
+ #test {
17
+ width: 100px;
18
+ height: 100px;
19
+ background: #CCC;
20
+ }
21
+
22
+ #test:hover {
23
+ background: #FAA;
24
+ }
25
+ </style>
26
+
27
+ <script type="text/javascript">
28
+ logEl = document.getElementById("log");
29
+
30
+ function handler(e) {
31
+ e.preventDefault();
32
+
33
+ var modifiers = []
34
+ if (e.altKey) modifiers.push('alt');
35
+ if (e.ctrlKey) modifiers.push('ctrl');
36
+ if (e.metaKey) modifiers.push('meta');
37
+ if (e.shiftKey) modifiers.push('shift');
38
+
39
+ logEl.innerHTML = logEl.innerHTML + [
40
+ e.type,
41
+ e.button,
42
+ modifiers
43
+ ].join(" ") +
44
+ "\n";
45
+
46
+ console.log(e);
47
+
48
+ return false;
49
+ }
50
+
51
+ document.getElementById("test");
52
+ test.addEventListener('mousedown', handler, false);
53
+ test.addEventListener('mouseup', handler, false);
54
+ test.addEventListener('click', handler, false);
55
+ test.addEventListener('dblclick', handler, false);
56
+ </script>
57
+
58
+ </body>
59
+ </html>
@@ -0,0 +1,10 @@
1
+ <!doctype html>
2
+ <meta charset="utf-8" />
3
+ <title>Simple Title</title>
4
+
5
+ <h1>Simple Heading</h1>
6
+
7
+ <p>
8
+ foo <span>bar</span>. <a href="http://example.org/">baz</a>.
9
+ </p>
10
+
@@ -1,7 +1,5 @@
1
1
  RSpec::Matchers.define :close_window do
2
- match do |actual|
3
- actual > 0
4
- end
2
+ match { |actual| actual > 0 }
5
3
 
6
4
  failure_message_for_should do |window_id|
7
5
  "expected close_window to close window, but window_id returned is not valid: #{window_id}"
@@ -9,19 +7,19 @@ RSpec::Matchers.define :close_window do
9
7
  end
10
8
 
11
9
  RSpec::Matchers.define :close_dialog do |expected|
12
- match do |window_id|
13
- window_id > 0
14
- end
10
+ match { |window_id| window_id > 0 }
15
11
 
16
12
  failure_message_for_should do |window_id|
17
13
  "expected close_dialog to close dialog, but window_id returned is not valid: #{window_id}"
18
14
  end
19
15
  end
20
16
 
17
+ RSpec::Matchers.define :close_menu do |expected|
18
+ match { |name| name.length > 0 }
19
+ end
20
+
21
21
  RSpec::Matchers.define :open_window do
22
- match do |actual|
23
- actual > 0
24
- end
22
+ match { |actual| actual > 0 }
25
23
 
26
24
  failure_message_for_should do |window_id|
27
25
  "expected open_window to open window, but window_id returned is not valid: #{window_id}"
@@ -29,20 +27,25 @@ RSpec::Matchers.define :open_window do
29
27
  end
30
28
 
31
29
  RSpec::Matchers.define :open_dialog do
32
- match do |actual|
33
- actual > 0
34
- end
30
+ match { |actual| actual > 0 }
35
31
 
36
32
  failure_message_for_should do |window_id|
37
33
  "expected open_dialog to close dialog, but window_id returned is not valid: #{window_id}"
38
34
  end
39
35
  end
40
36
 
37
+ RSpec::Matchers.define :open_menu do |expected|
38
+ # match { |actual| actual == expected } #menuname not accessible for mac, so leave this
39
+ match { |name| name.length > 0 }
40
+
41
+ #failure_message_for_should do |expected|
42
+ # "expected open_menu to open menu, #{expected}"
43
+ #end
44
+ end
45
+
41
46
 
42
47
  RSpec::Matchers.define :load_window do
43
- match do |actual|
44
- actual > 0
45
- end
48
+ match { |actual| actual > 0 }
46
49
 
47
50
  failure_message_for_should do |window_id|
48
51
  "expected load... to load in window, but window_id returned is not valid: #{window_id}"
@@ -50,10 +53,8 @@ RSpec::Matchers.define :load_window do
50
53
  end
51
54
 
52
55
  RSpec::Matchers.define :load_page do
53
- match do |actual|
54
- actual > 0
55
- end
56
-
56
+ match { |actual| actual > 0 }
57
+
57
58
  failure_message_for_should do |window_id|
58
59
  "expected load_page to load page, but window_id returned is not valid: #{window_id}"
59
60
  end
@@ -1,14 +1,62 @@
1
1
  # encoding: utf-8
2
2
  $LOAD_PATH.unshift File.dirname(__FILE__)
3
3
  $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
4
+ require 'rspec'
4
5
 
5
- require 'watirspec_helper'
6
- #require 'operawatir/desktop_helper'
6
+ require 'guards'
7
+ require 'server'
8
+
9
+ require 'operawatir/desktop_helper'
10
+
11
+ OperaWatir.api = 2
12
+
13
+ RSpec.configure do |config|
14
+ config.mock_with :rr
15
+ end
7
16
 
8
17
  module WatirSpec
18
+ extend self
19
+
20
+ attr_accessor :args, :guarded
21
+
22
+ def host
23
+ "http://#{Server.bind}:#{Server.port}"
24
+ end
25
+ alias_method :files, :host
26
+
27
+ def guards
28
+ @guards ||= []
29
+ end
30
+
31
+ def guarded?
32
+ !!@guarded
33
+ end
34
+
9
35
  module Helpers
10
36
  def browser
11
37
  OperaWatir::DesktopHelper.browser
12
38
  end
39
+
40
+ def window
41
+ browser.active_window
42
+ end
43
+
44
+ def fixture(*paths)
45
+ [WatirSpec.host, *paths].join('/')
46
+ end
47
+ end
48
+
49
+ end
50
+
51
+ include OperaWatir::DesktopExceptions
52
+
53
+ include WatirSpec::Guard::Helpers
54
+
55
+ RSpec.configure do |config|
56
+ config.include WatirSpec::Helpers
57
+
58
+ config.before(:suite) do
59
+ Thread.new { WatirSpec::Server.run! }
60
+ end
13
61
  end
14
- end
62
+ #####################################
@@ -48,8 +48,6 @@ module WatirSpec
48
48
 
49
49
  end
50
50
 
51
- include OperaWatir::DesktopExceptions
52
-
53
51
  include WatirSpec::Guard::Helpers
54
52
 
55
53
  RSpec.configure do |config|
metadata CHANGED
@@ -1,13 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: operawatir
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: true
5
- segments:
6
- - 0
7
- - 4
8
- - 3
9
- - pre1
10
- version: 0.4.3.pre1
4
+ prerelease:
5
+ version: "0.5"
11
6
  platform: jruby
12
7
  authors:
13
8
  - Andreas Tolf Tolfsen
@@ -18,7 +13,7 @@ autorequire:
18
13
  bindir: bin
19
14
  cert_chain: []
20
15
 
21
- date: 2011-05-24 00:00:00 +02:00
16
+ date: 2011-09-12 00:00:00 +02:00
22
17
  default_executable:
23
18
  dependencies:
24
19
  - !ruby/object:Gem::Dependency
@@ -28,10 +23,6 @@ dependencies:
28
23
  requirements:
29
24
  - - ~>
30
25
  - !ruby/object:Gem::Version
31
- segments:
32
- - 1
33
- - 0
34
- - 0
35
26
  version: 1.0.0
36
27
  requirement: *id001
37
28
  prerelease: false
@@ -43,8 +34,6 @@ dependencies:
43
34
  requirements:
44
35
  - - ">="
45
36
  - !ruby/object:Gem::Version
46
- segments:
47
- - 0
48
37
  version: "0"
49
38
  requirement: *id002
50
39
  prerelease: false
@@ -56,10 +45,6 @@ dependencies:
56
45
  requirements:
57
46
  - - "="
58
47
  - !ruby/object:Gem::Version
59
- segments:
60
- - 1
61
- - 0
62
- - 1
63
48
  version: 1.0.1
64
49
  requirement: *id003
65
50
  prerelease: false
@@ -71,8 +56,6 @@ dependencies:
71
56
  requirements:
72
57
  - - ">="
73
58
  - !ruby/object:Gem::Version
74
- segments:
75
- - 0
76
59
  version: "0"
77
60
  requirement: *id004
78
61
  prerelease: false
@@ -84,10 +67,6 @@ dependencies:
84
67
  requirements:
85
68
  - - ">="
86
69
  - !ruby/object:Gem::Version
87
- segments:
88
- - 1
89
- - 1
90
- - 5
91
70
  version: 1.1.5
92
71
  requirement: *id005
93
72
  prerelease: false
@@ -99,9 +78,6 @@ dependencies:
99
78
  requirements:
100
79
  - - ">="
101
80
  - !ruby/object:Gem::Version
102
- segments:
103
- - 1
104
- - 1
105
81
  version: "1.1"
106
82
  requirement: *id006
107
83
  prerelease: false
@@ -113,8 +89,6 @@ dependencies:
113
89
  requirements:
114
90
  - - ">="
115
91
  - !ruby/object:Gem::Version
116
- segments:
117
- - 0
118
92
  version: "0"
119
93
  requirement: *id007
120
94
  prerelease: false
@@ -126,8 +100,6 @@ dependencies:
126
100
  requirements:
127
101
  - - ">="
128
102
  - !ruby/object:Gem::Version
129
- segments:
130
- - 0
131
103
  version: "0"
132
104
  requirement: *id008
133
105
  prerelease: false
@@ -139,134 +111,151 @@ dependencies:
139
111
  requirements:
140
112
  - - ~>
141
113
  - !ruby/object:Gem::Version
142
- segments:
143
- - 2
144
- - 6
145
- - 0
146
114
  version: 2.6.0
147
115
  requirement: *id009
148
116
  prerelease: false
149
- type: :runtime
117
+ type: :development
150
118
  - !ruby/object:Gem::Dependency
151
- name: deprecated
119
+ name: ci_reporter
152
120
  version_requirements: &id010 !ruby/object:Gem::Requirement
153
121
  none: false
154
122
  requirements:
155
123
  - - ">="
156
124
  - !ruby/object:Gem::Version
157
- segments:
158
- - 0
159
125
  version: "0"
160
126
  requirement: *id010
161
127
  prerelease: false
162
- type: :runtime
128
+ type: :development
163
129
  - !ruby/object:Gem::Dependency
164
- name: jeweler
130
+ name: deprecated
165
131
  version_requirements: &id011 !ruby/object:Gem::Requirement
166
132
  none: false
167
133
  requirements:
168
134
  - - ">="
169
135
  - !ruby/object:Gem::Version
170
- segments:
171
- - 0
172
136
  version: "0"
173
137
  requirement: *id011
174
138
  prerelease: false
175
139
  type: :development
176
140
  - !ruby/object:Gem::Dependency
177
- name: rake
141
+ name: builder
178
142
  version_requirements: &id012 !ruby/object:Gem::Requirement
179
143
  none: false
180
144
  requirements:
181
145
  - - ">="
182
146
  - !ruby/object:Gem::Version
183
- segments:
184
- - 0
185
147
  version: "0"
186
148
  requirement: *id012
187
149
  prerelease: false
188
150
  type: :development
189
151
  - !ruby/object:Gem::Dependency
190
- name: BlueCloth
152
+ name: rspec
191
153
  version_requirements: &id013 !ruby/object:Gem::Requirement
154
+ none: false
155
+ requirements:
156
+ - - ~>
157
+ - !ruby/object:Gem::Version
158
+ version: 2.6.0
159
+ requirement: *id013
160
+ prerelease: false
161
+ type: :runtime
162
+ - !ruby/object:Gem::Dependency
163
+ name: deprecated
164
+ version_requirements: &id014 !ruby/object:Gem::Requirement
165
+ none: false
166
+ requirements:
167
+ - - ">="
168
+ - !ruby/object:Gem::Version
169
+ version: "0"
170
+ requirement: *id014
171
+ prerelease: false
172
+ type: :runtime
173
+ - !ruby/object:Gem::Dependency
174
+ name: jeweler
175
+ version_requirements: &id015 !ruby/object:Gem::Requirement
176
+ none: false
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: "0"
181
+ requirement: *id015
182
+ prerelease: false
183
+ type: :development
184
+ - !ruby/object:Gem::Dependency
185
+ name: rake
186
+ version_requirements: &id016 !ruby/object:Gem::Requirement
187
+ none: false
188
+ requirements:
189
+ - - ">="
190
+ - !ruby/object:Gem::Version
191
+ version: "0"
192
+ requirement: *id016
193
+ prerelease: false
194
+ type: :development
195
+ - !ruby/object:Gem::Dependency
196
+ name: BlueCloth
197
+ version_requirements: &id017 !ruby/object:Gem::Requirement
192
198
  none: false
193
199
  requirements:
194
200
  - - "="
195
201
  - !ruby/object:Gem::Version
196
- segments:
197
- - 1
198
- - 0
199
- - 1
200
202
  version: 1.0.1
201
- requirement: *id013
203
+ requirement: *id017
202
204
  prerelease: false
203
205
  type: :development
204
206
  - !ruby/object:Gem::Dependency
205
207
  name: yard
206
- version_requirements: &id014 !ruby/object:Gem::Requirement
208
+ version_requirements: &id018 !ruby/object:Gem::Requirement
207
209
  none: false
208
210
  requirements:
209
211
  - - ">="
210
212
  - !ruby/object:Gem::Version
211
- segments:
212
- - 0
213
213
  version: "0"
214
- requirement: *id014
214
+ requirement: *id018
215
215
  prerelease: false
216
216
  type: :development
217
217
  - !ruby/object:Gem::Dependency
218
218
  name: mongrel
219
- version_requirements: &id015 !ruby/object:Gem::Requirement
219
+ version_requirements: &id019 !ruby/object:Gem::Requirement
220
220
  none: false
221
221
  requirements:
222
222
  - - ">="
223
223
  - !ruby/object:Gem::Version
224
- segments:
225
- - 1
226
- - 1
227
- - 5
228
224
  version: 1.1.5
229
- requirement: *id015
225
+ requirement: *id019
230
226
  prerelease: false
231
227
  type: :development
232
228
  - !ruby/object:Gem::Dependency
233
229
  name: sinatra
234
- version_requirements: &id016 !ruby/object:Gem::Requirement
230
+ version_requirements: &id020 !ruby/object:Gem::Requirement
235
231
  none: false
236
232
  requirements:
237
233
  - - ">="
238
234
  - !ruby/object:Gem::Version
239
- segments:
240
- - 1
241
- - 1
242
235
  version: "1.1"
243
- requirement: *id016
236
+ requirement: *id020
244
237
  prerelease: false
245
238
  type: :development
246
239
  - !ruby/object:Gem::Dependency
247
240
  name: rr
248
- version_requirements: &id017 !ruby/object:Gem::Requirement
241
+ version_requirements: &id021 !ruby/object:Gem::Requirement
249
242
  none: false
250
243
  requirements:
251
244
  - - ">="
252
245
  - !ruby/object:Gem::Version
253
- segments:
254
- - 0
255
246
  version: "0"
256
- requirement: *id017
247
+ requirement: *id021
257
248
  prerelease: false
258
249
  type: :development
259
250
  - !ruby/object:Gem::Dependency
260
251
  name: clipboard
261
- version_requirements: &id018 !ruby/object:Gem::Requirement
252
+ version_requirements: &id022 !ruby/object:Gem::Requirement
262
253
  none: false
263
254
  requirements:
264
255
  - - ">="
265
256
  - !ruby/object:Gem::Version
266
- segments:
267
- - 0
268
257
  version: "0"
269
- requirement: *id018
258
+ requirement: *id022
270
259
  prerelease: false
271
260
  type: :development
272
261
  description: " OperaWatir is a part of the Watir (pronounced water) family of\n free software Ruby libraries for automating web browsers.\n OperaWatir provides a querying engine and Ruby bindings for a\n backend Java library, OperaDriver, for driving the Opera web\n browser. It aims for full compliancy with the Watir 2 and Watir 3\n specifications.\n"
@@ -296,13 +285,16 @@ files:
296
285
  - bin/operawatir
297
286
  - lib/operadriver/APACHE_2.0_LICENSE.txt
298
287
  - lib/operadriver/NEW_BSD_LICENSE.txt
299
- - lib/operadriver/client-combined-nodeps.jar
300
288
  - lib/operadriver/commons-io-2.0.1.jar
301
289
  - lib/operadriver/commons-jxpath-1.3.jar
290
+ - lib/operadriver/guava-r09.jar
291
+ - lib/operadriver/operadriver-v0.7.2.jar
302
292
  - lib/operadriver/protobuf-java-2.3.0.jar
303
- - lib/operadriver/webdriver-opera.jar
293
+ - lib/operadriver/selenium-nodeps-20100909.jar
304
294
  - lib/operawatir.rb
295
+ - lib/operawatir/actions.rb
305
296
  - lib/operawatir/browser.rb
297
+ - lib/operawatir/clickable_item.rb
306
298
  - lib/operawatir/collection.rb
307
299
  - lib/operawatir/compat.rb
308
300
  - lib/operawatir/compat/browser.rb
@@ -330,11 +322,14 @@ files:
330
322
  - lib/operawatir/quickwidgets/quick_checkbox.rb
331
323
  - lib/operawatir/quickwidgets/quick_dialogtab.rb
332
324
  - lib/operawatir/quickwidgets/quick_dropdown.rb
325
+ - lib/operawatir/quickwidgets/quick_dropdownitem.rb
333
326
  - lib/operawatir/quickwidgets/quick_editfield.rb
334
327
  - lib/operawatir/quickwidgets/quick_find.rb
335
328
  - lib/operawatir/quickwidgets/quick_griditem.rb
336
329
  - lib/operawatir/quickwidgets/quick_gridlayout.rb
337
330
  - lib/operawatir/quickwidgets/quick_label.rb
331
+ - lib/operawatir/quickwidgets/quick_menu.rb
332
+ - lib/operawatir/quickwidgets/quick_menuitem.rb
338
333
  - lib/operawatir/quickwidgets/quick_radiobutton.rb
339
334
  - lib/operawatir/quickwidgets/quick_searchfield.rb
340
335
  - lib/operawatir/quickwidgets/quick_tab.rb
@@ -347,6 +342,7 @@ files:
347
342
  - lib/operawatir/screenshot.rb
348
343
  - lib/operawatir/selector.rb
349
344
  - lib/operawatir/spatnav.rb
345
+ - lib/operawatir/utils.rb
350
346
  - lib/operawatir/version.rb
351
347
  - lib/operawatir/window.rb
352
348
  - operawatir.gemspec
@@ -363,11 +359,14 @@ files:
363
359
  - spec/fire_event/interactive/onMouseUp.html
364
360
  - spec/fire_event/interactive/onScroll.html
365
361
  - spec/operawatir/README.md
362
+ - spec/operawatir/core/actions_spec.rb
366
363
  - spec/operawatir/core/browser_spec.rb
367
364
  - spec/operawatir/core/element_spec.rb
365
+ - spec/operawatir/core/keys_spec.rb
368
366
  - spec/operawatir/core/preferences_spec.rb
369
367
  - spec/operawatir/core/screenshot_spec.rb
370
368
  - spec/operawatir/core/spatnav_spec.rb
369
+ - spec/operawatir/core/utils_spec.rb
371
370
  - spec/operawatir/core/window_spec.rb
372
371
  - spec/operawatir/desktop/desktopbrowser_spec.rb
373
372
  - spec/operawatir/desktop/quickaddressfield_spec.rb
@@ -380,6 +379,8 @@ files:
380
379
  - spec/operawatir/desktop/quickgriditem_spec.rb
381
380
  - spec/operawatir/desktop/quickgridlayout_spec.rb
382
381
  - spec/operawatir/desktop/quicklabel_spec.rb
382
+ - spec/operawatir/desktop/quickmenu_spec.rb
383
+ - spec/operawatir/desktop/quickmenuitem_spec.rb
383
384
  - spec/operawatir/desktop/quickradiobutton_spec.rb
384
385
  - spec/operawatir/desktop/quicksearchfield_spec.rb
385
386
  - spec/operawatir/desktop/quicktab_spec.rb
@@ -391,11 +392,19 @@ files:
391
392
  - spec/operawatir/desktop/shared/shared.rb
392
393
  - spec/operawatir/fixtures/boxes.html
393
394
  - spec/operawatir/fixtures/browsers.svg
395
+ - spec/operawatir/fixtures/draggableLists.html
396
+ - spec/operawatir/fixtures/formSelectionPage.html
394
397
  - spec/operawatir/fixtures/frames.html
395
398
  - spec/operawatir/fixtures/grid.html
396
399
  - spec/operawatir/fixtures/input_fields_value.html
400
+ - spec/operawatir/fixtures/js/jquery-1.4.4.min.js
401
+ - spec/operawatir/fixtures/js/jquery-ui-1.8.10.custom.min.js
402
+ - spec/operawatir/fixtures/keys.html
403
+ - spec/operawatir/fixtures/label_submit.html
404
+ - spec/operawatir/fixtures/mouse.html
397
405
  - spec/operawatir/fixtures/onclick.html
398
406
  - spec/operawatir/fixtures/paragraphs.html
407
+ - spec/operawatir/fixtures/simple.html
399
408
  - spec/operawatir/fixtures/two_input_fields.html
400
409
  - spec/operawatir/guards.rb
401
410
  - spec/operawatir/matchers.rb
@@ -528,16 +537,6 @@ files:
528
537
  - utils/Rakefile
529
538
  - utils/formatters/operahelper_formatter.rb
530
539
  - utils/formatters/spartan_formatter.rb
531
- - spec/operawatir/core/keys_spec.rb
532
- - spec/watir3/browser_spec.rb
533
- - spec/watir3/clipboard_spec.rb
534
- - spec/watir3/collection_spec.rb
535
- - spec/watir3/element_spec.rb
536
- - spec/watir3/guards.rb
537
- - spec/watir3/keys_spec.rb
538
- - spec/watir3/server.rb
539
- - spec/watir3/watirspec_helper.rb
540
- - spec/watir3/window_spec.rb
541
540
  has_rdoc: true
542
541
  homepage: http://www.opera.com/developer/tools/operawatir/
543
542
  licenses: []
@@ -552,147 +551,19 @@ required_ruby_version: !ruby/object:Gem::Requirement
552
551
  requirements:
553
552
  - - ">="
554
553
  - !ruby/object:Gem::Version
555
- segments:
556
- - 0
557
554
  version: "0"
558
555
  required_rubygems_version: !ruby/object:Gem::Requirement
559
556
  none: false
560
557
  requirements:
561
- - - ">"
558
+ - - ">="
562
559
  - !ruby/object:Gem::Version
563
- segments:
564
- - 1
565
- - 3
566
- - 1
567
- version: 1.3.1
560
+ version: "0"
568
561
  requirements: []
569
562
 
570
563
  rubyforge_project: operawatir
571
- rubygems_version: 1.3.7
564
+ rubygems_version: 1.5.1
572
565
  signing_key:
573
566
  specification_version: 3
574
567
  summary: Toolkit for automating interactions with the Opera web browser.
575
- test_files:
576
- - spec/fire_event/fire_event.rb
577
- - spec/operawatir/core/browser_spec.rb
578
- - spec/operawatir/core/element_spec.rb
579
- - spec/operawatir/core/keys_spec.rb
580
- - spec/operawatir/core/preferences_spec.rb
581
- - spec/operawatir/core/screenshot_spec.rb
582
- - spec/operawatir/core/spatnav_spec.rb
583
- - spec/operawatir/core/window_spec.rb
584
- - spec/operawatir/desktop/desktopbrowser_spec.rb
585
- - spec/operawatir/desktop/quickaddressfield_spec.rb
586
- - spec/operawatir/desktop/quickbutton_spec.rb
587
- - spec/operawatir/desktop/quickcheckbox_spec.rb
588
- - spec/operawatir/desktop/quickdialogtab_spec.rb
589
- - spec/operawatir/desktop/quickdropdown_spec.rb
590
- - spec/operawatir/desktop/quickeditfield_spec.rb
591
- - spec/operawatir/desktop/quickfind_spec.rb
592
- - spec/operawatir/desktop/quickgriditem_spec.rb
593
- - spec/operawatir/desktop/quickgridlayout_spec.rb
594
- - spec/operawatir/desktop/quicklabel_spec.rb
595
- - spec/operawatir/desktop/quickradiobutton_spec.rb
596
- - spec/operawatir/desktop/quicksearchfield_spec.rb
597
- - spec/operawatir/desktop/quicktab_spec.rb
598
- - spec/operawatir/desktop/quickthumbnail_spec.rb
599
- - spec/operawatir/desktop/quicktreeitem_spec.rb
600
- - spec/operawatir/desktop/quicktreeview_spec.rb
601
- - spec/operawatir/desktop/quickwidget_spec.rb
602
- - spec/operawatir/desktop/quickwindow_spec.rb
603
- - spec/operawatir/desktop/shared/shared.rb
604
- - spec/operawatir/guards.rb
605
- - spec/operawatir/matchers.rb
606
- - spec/operawatir/server.rb
607
- - spec/operawatir/watirspec_desktophelper.rb
608
- - spec/operawatir/watirspec_helper.rb
609
- - spec/watir2/area_spec.rb
610
- - spec/watir2/areas_spec.rb
611
- - spec/watir2/browser_spec.rb
612
- - spec/watir2/button_spec.rb
613
- - spec/watir2/buttons_spec.rb
614
- - spec/watir2/checkbox_spec.rb
615
- - spec/watir2/checkboxes_spec.rb
616
- - spec/watir2/collections_spec.rb
617
- - spec/watir2/dd_spec.rb
618
- - spec/watir2/dds_spec.rb
619
- - spec/watir2/del_spec.rb
620
- - spec/watir2/dels_spec.rb
621
- - spec/watir2/div_spec.rb
622
- - spec/watir2/divs_spec.rb
623
- - spec/watir2/dl_spec.rb
624
- - spec/watir2/dls_spec.rb
625
- - spec/watir2/dt_spec.rb
626
- - spec/watir2/dts_spec.rb
627
- - spec/watir2/element_spec.rb
628
- - spec/watir2/em_spec.rb
629
- - spec/watir2/ems_spec.rb
630
- - spec/watir2/filefield_spec.rb
631
- - spec/watir2/filefields_spec.rb
632
- - spec/watir2/form_spec.rb
633
- - spec/watir2/forms_spec.rb
634
- - spec/watir2/frame_spec.rb
635
- - spec/watir2/frames_spec.rb
636
- - spec/watir2/guards.rb
637
- - spec/watir2/hidden_spec.rb
638
- - spec/watir2/hiddens_spec.rb
639
- - spec/watir2/hn_spec.rb
640
- - spec/watir2/hns_spec.rb
641
- - spec/watir2/image_spec.rb
642
- - spec/watir2/images_spec.rb
643
- - spec/watir2/ins_spec.rb
644
- - spec/watir2/inses_spec.rb
645
- - spec/watir2/label_spec.rb
646
- - spec/watir2/labels_spec.rb
647
- - spec/watir2/li_spec.rb
648
- - spec/watir2/link_spec.rb
649
- - spec/watir2/links_spec.rb
650
- - spec/watir2/lis_spec.rb
651
- - spec/watir2/map_spec.rb
652
- - spec/watir2/maps_spec.rb
653
- - spec/watir2/meta_spec.rb
654
- - spec/watir2/metas_spec.rb
655
- - spec/watir2/ol_spec.rb
656
- - spec/watir2/ols_spec.rb
657
- - spec/watir2/option_spec.rb
658
- - spec/watir2/p_spec.rb
659
- - spec/watir2/pre_spec.rb
660
- - spec/watir2/pres_spec.rb
661
- - spec/watir2/ps_spec.rb
662
- - spec/watir2/radio_spec.rb
663
- - spec/watir2/radios_spec.rb
664
- - spec/watir2/select_list_spec.rb
665
- - spec/watir2/select_lists_spec.rb
666
- - spec/watir2/server.rb
667
- - spec/watir2/span_spec.rb
668
- - spec/watir2/spans_spec.rb
669
- - spec/watir2/spec_helper.rb
670
- - spec/watir2/strong_spec.rb
671
- - spec/watir2/strongs_spec.rb
672
- - spec/watir2/table_bodies_spec.rb
673
- - spec/watir2/table_body_spec.rb
674
- - spec/watir2/table_cell_spec.rb
675
- - spec/watir2/table_cells_spec.rb
676
- - spec/watir2/table_footer_spec.rb
677
- - spec/watir2/table_footers_spec.rb
678
- - spec/watir2/table_header_spec.rb
679
- - spec/watir2/table_headers_spec.rb
680
- - spec/watir2/table_row_spec.rb
681
- - spec/watir2/table_rows_spec.rb
682
- - spec/watir2/table_spec.rb
683
- - spec/watir2/tables_spec.rb
684
- - spec/watir2/text_field_spec.rb
685
- - spec/watir2/text_fields_spec.rb
686
- - spec/watir2/ul_spec.rb
687
- - spec/watir2/uls_spec.rb
688
- - spec/watir2/watir_compatibility_spec.rb
689
- - spec/watir2/watirspec_helper.rb
690
- - spec/watir3/browser_spec.rb
691
- - spec/watir3/clipboard_spec.rb
692
- - spec/watir3/collection_spec.rb
693
- - spec/watir3/element_spec.rb
694
- - spec/watir3/guards.rb
695
- - spec/watir3/keys_spec.rb
696
- - spec/watir3/server.rb
697
- - spec/watir3/watirspec_helper.rb
698
- - spec/watir3/window_spec.rb
568
+ test_files: []
569
+