watir 6.0.0.beta5 → 6.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (200) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +5 -2
  3. data/CHANGES.md +10 -1
  4. data/Gemfile +4 -0
  5. data/README.md +37 -23
  6. data/Rakefile +6 -10
  7. data/appveyor.yml +13 -0
  8. data/lib/watir.rb +20 -21
  9. data/lib/watir/alert.rb +21 -5
  10. data/lib/watir/browser.rb +9 -3
  11. data/lib/watir/elements/checkbox.rb +0 -1
  12. data/lib/watir/elements/element.rb +92 -50
  13. data/lib/watir/elements/form.rb +1 -2
  14. data/lib/watir/elements/iframe.rb +6 -2
  15. data/lib/watir/elements/image.rb +1 -1
  16. data/lib/watir/elements/option.rb +0 -1
  17. data/lib/watir/elements/radio.rb +0 -1
  18. data/lib/watir/elements/select.rb +1 -10
  19. data/lib/watir/extensions/select_text.rb +1 -1
  20. data/lib/watir/legacy_wait.rb +126 -0
  21. data/lib/watir/locators/text_field/locator.rb +0 -3
  22. data/lib/watir/locators/text_field/selector_builder.rb +1 -4
  23. data/lib/watir/locators/text_field/selector_builder/xpath.rb +0 -2
  24. data/lib/watir/locators/text_field/validator.rb +1 -9
  25. data/lib/watir/row_container.rb +1 -1
  26. data/lib/watir/user_editable.rb +7 -5
  27. data/lib/watir/wait.rb +56 -135
  28. data/lib/watir/wait/timer.rb +29 -2
  29. data/lib/watir/window.rb +11 -1
  30. data/lib/watirspec.rb +81 -0
  31. data/lib/watirspec/guards.rb +58 -0
  32. data/lib/watirspec/implementation.rb +33 -0
  33. data/lib/watirspec/rake_tasks.rb +115 -0
  34. data/lib/watirspec/runner.rb +53 -0
  35. data/lib/watirspec/server.rb +99 -0
  36. data/lib/watirspec/server/app.rb +62 -0
  37. data/spec/browser_spec.rb +5 -5
  38. data/spec/click_spec.rb +1 -1
  39. data/spec/container_spec.rb +1 -1
  40. data/spec/element_locator_spec.rb +1 -1
  41. data/spec/element_spec.rb +20 -34
  42. data/spec/implementation_spec.rb +24 -0
  43. data/spec/input_spec.rb +1 -1
  44. data/spec/spec_helper.rb +35 -3
  45. data/spec/special_chars_spec.rb +1 -1
  46. data/spec/watirspec/.gitignore +2 -0
  47. data/spec/watirspec/after_hooks_spec.rb +179 -0
  48. data/spec/watirspec/alert_spec.rb +101 -0
  49. data/spec/watirspec/browser_spec.rb +291 -0
  50. data/spec/watirspec/cookies_spec.rb +147 -0
  51. data/spec/watirspec/drag_and_drop_spec.rb +49 -0
  52. data/spec/watirspec/element_hidden_spec.rb +65 -0
  53. data/spec/watirspec/elements/area_spec.rb +76 -0
  54. data/spec/watirspec/elements/areas_spec.rb +42 -0
  55. data/spec/watirspec/elements/button_spec.rb +270 -0
  56. data/spec/watirspec/elements/buttons_spec.rb +55 -0
  57. data/spec/watirspec/elements/checkbox_spec.rb +279 -0
  58. data/spec/watirspec/elements/checkboxes_spec.rb +44 -0
  59. data/spec/watirspec/elements/collections_spec.rb +16 -0
  60. data/spec/watirspec/elements/dd_spec.rb +126 -0
  61. data/spec/watirspec/elements/dds_spec.rb +42 -0
  62. data/spec/watirspec/elements/del_spec.rb +128 -0
  63. data/spec/watirspec/elements/dels_spec.rb +40 -0
  64. data/spec/watirspec/elements/div_spec.rb +199 -0
  65. data/spec/watirspec/elements/divs_spec.rb +42 -0
  66. data/spec/watirspec/elements/dl_spec.rb +144 -0
  67. data/spec/watirspec/elements/dls_spec.rb +43 -0
  68. data/spec/watirspec/elements/dt_spec.rb +126 -0
  69. data/spec/watirspec/elements/dts_spec.rb +42 -0
  70. data/spec/watirspec/elements/element_spec.rb +361 -0
  71. data/spec/watirspec/elements/elements_spec.rb +15 -0
  72. data/spec/watirspec/elements/em_spec.rb +100 -0
  73. data/spec/watirspec/elements/ems_spec.rb +43 -0
  74. data/spec/watirspec/elements/filefield_spec.rb +181 -0
  75. data/spec/watirspec/elements/filefields_spec.rb +43 -0
  76. data/spec/watirspec/elements/font_spec.rb +29 -0
  77. data/spec/watirspec/elements/form_spec.rb +70 -0
  78. data/spec/watirspec/elements/forms_spec.rb +44 -0
  79. data/spec/watirspec/elements/frame_spec.rb +121 -0
  80. data/spec/watirspec/elements/frames_spec.rb +41 -0
  81. data/spec/watirspec/elements/hidden_spec.rb +102 -0
  82. data/spec/watirspec/elements/hiddens_spec.rb +43 -0
  83. data/spec/watirspec/elements/hn_spec.rb +96 -0
  84. data/spec/watirspec/elements/hns_spec.rb +38 -0
  85. data/spec/watirspec/elements/iframe_spec.rb +174 -0
  86. data/spec/watirspec/elements/iframes_spec.rb +47 -0
  87. data/spec/watirspec/elements/image_spec.rb +164 -0
  88. data/spec/watirspec/elements/images_spec.rb +40 -0
  89. data/spec/watirspec/elements/ins_spec.rb +129 -0
  90. data/spec/watirspec/elements/inses_spec.rb +40 -0
  91. data/spec/watirspec/elements/label_spec.rb +79 -0
  92. data/spec/watirspec/elements/labels_spec.rb +40 -0
  93. data/spec/watirspec/elements/li_spec.rb +115 -0
  94. data/spec/watirspec/elements/link_spec.rb +174 -0
  95. data/spec/watirspec/elements/links_spec.rb +44 -0
  96. data/spec/watirspec/elements/lis_spec.rb +42 -0
  97. data/spec/watirspec/elements/map_spec.rb +79 -0
  98. data/spec/watirspec/elements/maps_spec.rb +41 -0
  99. data/spec/watirspec/elements/meta_spec.rb +23 -0
  100. data/spec/watirspec/elements/metas_spec.rb +40 -0
  101. data/spec/watirspec/elements/ol_spec.rb +89 -0
  102. data/spec/watirspec/elements/ols_spec.rb +40 -0
  103. data/spec/watirspec/elements/option_spec.rb +152 -0
  104. data/spec/watirspec/elements/p_spec.rb +115 -0
  105. data/spec/watirspec/elements/pre_spec.rb +115 -0
  106. data/spec/watirspec/elements/pres_spec.rb +40 -0
  107. data/spec/watirspec/elements/ps_spec.rb +40 -0
  108. data/spec/watirspec/elements/radio_spec.rb +263 -0
  109. data/spec/watirspec/elements/radios_spec.rb +43 -0
  110. data/spec/watirspec/elements/select_list_spec.rb +379 -0
  111. data/spec/watirspec/elements/select_lists_spec.rb +46 -0
  112. data/spec/watirspec/elements/span_spec.rb +129 -0
  113. data/spec/watirspec/elements/spans_spec.rb +40 -0
  114. data/spec/watirspec/elements/strong_spec.rb +92 -0
  115. data/spec/watirspec/elements/strongs_spec.rb +43 -0
  116. data/spec/watirspec/elements/table_nesting_spec.rb +51 -0
  117. data/spec/watirspec/elements/table_spec.rb +146 -0
  118. data/spec/watirspec/elements/tables_spec.rb +42 -0
  119. data/spec/watirspec/elements/tbody_spec.rb +96 -0
  120. data/spec/watirspec/elements/tbodys_spec.rb +62 -0
  121. data/spec/watirspec/elements/td_spec.rb +71 -0
  122. data/spec/watirspec/elements/tds_spec.rb +53 -0
  123. data/spec/watirspec/elements/text_field_spec.rb +302 -0
  124. data/spec/watirspec/elements/text_fields_spec.rb +44 -0
  125. data/spec/watirspec/elements/textarea_spec.rb +26 -0
  126. data/spec/watirspec/elements/textareas_spec.rb +24 -0
  127. data/spec/watirspec/elements/tfoot_spec.rb +91 -0
  128. data/spec/watirspec/elements/tfoots_spec.rb +68 -0
  129. data/spec/watirspec/elements/thead_spec.rb +91 -0
  130. data/spec/watirspec/elements/theads_spec.rb +68 -0
  131. data/spec/watirspec/elements/tr_spec.rb +80 -0
  132. data/spec/watirspec/elements/trs_spec.rb +61 -0
  133. data/spec/watirspec/elements/ul_spec.rb +79 -0
  134. data/spec/watirspec/elements/uls_spec.rb +39 -0
  135. data/spec/watirspec/html/alerts.html +12 -0
  136. data/spec/watirspec/html/aria_attributes.html +9 -0
  137. data/spec/watirspec/html/class_locator.html +8 -0
  138. data/spec/watirspec/html/clicks.html +19 -0
  139. data/spec/watirspec/html/closeable.html +13 -0
  140. data/spec/watirspec/html/collections.html +15 -0
  141. data/spec/watirspec/html/css/jquery-ui-1.8.17.custom.css +287 -0
  142. data/spec/watirspec/html/data_attributes.html +9 -0
  143. data/spec/watirspec/html/definition_lists.html +48 -0
  144. data/spec/watirspec/html/drag_and_drop.html +106 -0
  145. data/spec/watirspec/html/font.html +10 -0
  146. data/spec/watirspec/html/forms_with_input_elements.html +170 -0
  147. data/spec/watirspec/html/frame_1.html +22 -0
  148. data/spec/watirspec/html/frame_2.html +16 -0
  149. data/spec/watirspec/html/frames.html +11 -0
  150. data/spec/watirspec/html/hover.html +12 -0
  151. data/spec/watirspec/html/iframe_1.html +22 -0
  152. data/spec/watirspec/html/iframes.html +12 -0
  153. data/spec/watirspec/html/images.html +28 -0
  154. data/spec/watirspec/html/images/1.gif +0 -0
  155. data/spec/watirspec/html/images/2.gif +0 -0
  156. data/spec/watirspec/html/images/3.gif +0 -0
  157. data/spec/watirspec/html/images/button.png +0 -0
  158. data/spec/watirspec/html/images/circle.png +0 -0
  159. data/spec/watirspec/html/images/map.gif +0 -0
  160. data/spec/watirspec/html/images/map2.gif +0 -0
  161. data/spec/watirspec/html/images/minus.gif +0 -0
  162. data/spec/watirspec/html/images/originaltriangle.png +0 -0
  163. data/spec/watirspec/html/images/plus.gif +0 -0
  164. data/spec/watirspec/html/images/square.png +0 -0
  165. data/spec/watirspec/html/images/triangle.png +0 -0
  166. data/spec/watirspec/html/inner_outer.html +5 -0
  167. data/spec/watirspec/html/javascript/helpers.js +16 -0
  168. data/spec/watirspec/html/javascript/jquery-1.7.1.min.js +4 -0
  169. data/spec/watirspec/html/javascript/jquery-ui-1.8.17.custom.min.js +68 -0
  170. data/spec/watirspec/html/keylogger.html +15 -0
  171. data/spec/watirspec/html/modal_dialog.html +9 -0
  172. data/spec/watirspec/html/multiple_ids.html +14 -0
  173. data/spec/watirspec/html/nested_frame_1.html +1 -0
  174. data/spec/watirspec/html/nested_frame_2.html +9 -0
  175. data/spec/watirspec/html/nested_frame_3.html +14 -0
  176. data/spec/watirspec/html/nested_frames.html +10 -0
  177. data/spec/watirspec/html/nested_iframe_2.html +12 -0
  178. data/spec/watirspec/html/nested_iframes.html +9 -0
  179. data/spec/watirspec/html/nested_tables.html +203 -0
  180. data/spec/watirspec/html/non_control_elements.html +135 -0
  181. data/spec/watirspec/html/removed_element.html +24 -0
  182. data/spec/watirspec/html/right_click.html +11 -0
  183. data/spec/watirspec/html/special_chars.html +12 -0
  184. data/spec/watirspec/html/tables.html +121 -0
  185. data/spec/watirspec/html/timeout_window_location.html +19 -0
  186. data/spec/watirspec/html/uneven_table.html +20 -0
  187. data/spec/watirspec/html/wait.html +65 -0
  188. data/spec/watirspec/html/watirspec.css +0 -0
  189. data/spec/watirspec/html/window_switching.html +12 -0
  190. data/spec/watirspec/relaxed_locate_spec.rb +214 -0
  191. data/spec/watirspec/screenshot_spec.rb +29 -0
  192. data/spec/watirspec/wait_spec.rb +304 -0
  193. data/spec/watirspec/window_switching_spec.rb +411 -0
  194. data/spec/{implementation.rb → watirspec_helper.rb} +13 -13
  195. data/support/appveyor.cmd +9 -0
  196. data/support/doctest_helper.rb +5 -1
  197. data/support/travis.sh +0 -1
  198. data/watir.gemspec +3 -4
  199. metadata +323 -30
  200. data/.gitmodules +0 -3
@@ -1,4 +1,5 @@
1
- require File.expand_path("../spec_helper", __FILE__)
1
+ require 'watirspec'
2
+ require 'spec_helper'
2
3
 
3
4
  class ImplementationConfig
4
5
  def initialize(imp)
@@ -18,9 +19,6 @@ class ImplementationConfig
18
19
  start_remote_server if remote? && !ENV["REMOTE_SERVER_URL"]
19
20
  set_browser_args
20
21
  set_guard_proc
21
- add_html_routes
22
-
23
- WatirSpec.always_use_server = ie? || safari? || phantomjs? || remote?
24
22
  end
25
23
 
26
24
  private
@@ -39,10 +37,16 @@ class ImplementationConfig
39
37
  end
40
38
 
41
39
  def remote_server_jar
40
+ if ENV['LOCAL_SELENIUM']
41
+ local = File.expand_path('../selenium/buck-out/gen/java/server/src/org/openqa/grid/selenium/selenium.jar')
42
+ end
43
+
42
44
  if File.exist?(ENV['REMOTE_SERVER_BINARY'] || '')
43
45
  ENV['REMOTE_SERVER_BINARY']
44
- elsif !Dir.glob('selenium-server-standalone*.jar').empty?
45
- Dir.glob('selenium-server-standalone*.jar').first
46
+ elsif ENV['LOCAL_SELENIUM'] && File.exists?(local)
47
+ local
48
+ elsif !Dir.glob('*selenium*.jar').empty?
49
+ Dir.glob('*selenium*.jar').first
46
50
  else
47
51
  Selenium::Server.download :latest
48
52
  end
@@ -117,6 +121,8 @@ class ImplementationConfig
117
121
 
118
122
  matching_guards << matching_browser
119
123
  matching_guards << [matching_browser, Selenium::WebDriver::Platform.os]
124
+ matching_guards << :relaxed_locate if Watir.relaxed_locate?
125
+ matching_guards << :not_relaxed_locate unless Watir.relaxed_locate?
120
126
 
121
127
  if !Selenium::WebDriver::Platform.linux? || ENV['DESKTOP_SESSION']
122
128
  # some specs (i.e. Window#maximize) needs a window manager on linux
@@ -186,13 +192,6 @@ class ImplementationConfig
186
192
  {url: url, desired_capabilities: caps}
187
193
  end
188
194
 
189
- def add_html_routes
190
- glob = File.expand_path("../html/*.html", __FILE__)
191
- Dir[glob].each do |path|
192
- WatirSpec::Server.get("/#{File.basename path}") { File.read(path) }
193
- end
194
- end
195
-
196
195
  class SelectorListener < Selenium::WebDriver::Support::AbstractEventListener
197
196
  def initialize
198
197
  @counts = Hash.new(0)
@@ -214,3 +213,4 @@ class ImplementationConfig
214
213
  end
215
214
 
216
215
  ImplementationConfig.new(WatirSpec.implementation).configure
216
+ WatirSpec.run!
@@ -0,0 +1,9 @@
1
+ if "%RAKE_TASK%"=="spec:firefox" (
2
+ choco install -y curl
3
+ choco install -y 7zip.commandline
4
+ curl -L -O --insecure https://github.com/mozilla/geckodriver/releases/download/v0.11.1/geckodriver-v0.11.1-win32.zip
5
+ 7za e geckodriver-v0.11.1-win32.zip
6
+ move geckodriver.exe C:\Tools\WebDriver
7
+
8
+ geckodriver.exe --version
9
+ )
@@ -1,5 +1,5 @@
1
1
  require 'watir'
2
- require 'spec/watirspec/lib/watirspec'
2
+ require 'watirspec'
3
3
 
4
4
  #
5
5
  # 1. If example does not start browser, start new one, reuse until example
@@ -64,6 +64,10 @@ YARD::Doctest.configure do |doctest|
64
64
  end
65
65
  end
66
66
 
67
+ doctest.before do
68
+ WatirSpec.run!
69
+ end
70
+
67
71
  doctest.after do
68
72
  browser.quit
69
73
  @browser = nil
data/support/travis.sh CHANGED
@@ -4,7 +4,6 @@ set -e
4
4
  set -x
5
5
 
6
6
  sh -e /etc/init.d/xvfb start
7
- git submodule update --init
8
7
 
9
8
  if [[ "$RAKE_TASK" = "yard:doctest" ]]; then
10
9
  mkdir ~/.yard
data/watir.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'watir'
5
- s.version = '6.0.0.beta5'
5
+ s.version = '6.0.0'
6
6
  s.platform = Gem::Platform::RUBY
7
7
  s.authors = ['Alex Rodionov', 'Titus Fortner']
8
8
  s.email = ['p0deje@gmail.com', 'titusfortner@gmail.com']
@@ -21,17 +21,16 @@ It facilitates the writing of automated tests by mimicing the behavior of a user
21
21
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
22
22
  s.require_paths = ['lib']
23
23
 
24
- s.add_dependency "selenium-webdriver", ">= 3.0.0.beta2.1"
24
+ s.add_dependency "selenium-webdriver", "~> 3.0"
25
25
 
26
26
  s.add_development_dependency 'rspec', '~> 3.0'
27
27
  s.add_development_dependency 'yard', '> 0.8.2.1'
28
28
  s.add_development_dependency 'webidl', '>= 0.1.5'
29
- s.add_development_dependency 'sinatra', '~> 1.0'
30
29
  s.add_development_dependency 'rake', '~> 0.9.2'
31
30
  s.add_development_dependency 'fuubar'
32
31
  s.add_development_dependency 'nokogiri'
33
32
  s.add_development_dependency 'activesupport', '~> 3.0' # for pluralization during code generation
34
33
  s.add_development_dependency 'pry'
35
34
  s.add_development_dependency 'coveralls'
36
- s.add_development_dependency 'yard-doctest', '~> 0.1.5'
35
+ s.add_development_dependency 'yard-doctest', '>= 0.1.8'
37
36
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: watir
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.0.beta5
4
+ version: 6.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Rodionov
@@ -9,22 +9,22 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-09-25 00:00:00.000000000 Z
12
+ date: 2016-11-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: selenium-webdriver
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ">="
18
+ - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: 3.0.0.beta2.1
20
+ version: '3.0'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ">="
25
+ - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: 3.0.0.beta2.1
27
+ version: '3.0'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rspec
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -67,20 +67,6 @@ dependencies:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
69
  version: 0.1.5
70
- - !ruby/object:Gem::Dependency
71
- name: sinatra
72
- requirement: !ruby/object:Gem::Requirement
73
- requirements:
74
- - - "~>"
75
- - !ruby/object:Gem::Version
76
- version: '1.0'
77
- type: :development
78
- prerelease: false
79
- version_requirements: !ruby/object:Gem::Requirement
80
- requirements:
81
- - - "~>"
82
- - !ruby/object:Gem::Version
83
- version: '1.0'
84
70
  - !ruby/object:Gem::Dependency
85
71
  name: rake
86
72
  requirement: !ruby/object:Gem::Requirement
@@ -169,16 +155,16 @@ dependencies:
169
155
  name: yard-doctest
170
156
  requirement: !ruby/object:Gem::Requirement
171
157
  requirements:
172
- - - "~>"
158
+ - - ">="
173
159
  - !ruby/object:Gem::Version
174
- version: 0.1.5
160
+ version: 0.1.8
175
161
  type: :development
176
162
  prerelease: false
177
163
  version_requirements: !ruby/object:Gem::Requirement
178
164
  requirements:
179
- - - "~>"
165
+ - - ">="
180
166
  - !ruby/object:Gem::Version
181
- version: 0.1.5
167
+ version: 0.1.8
182
168
  description: |
183
169
  Watir stands for Web Application Testing In Ruby
184
170
  It facilitates the writing of automated tests by mimicing the behavior of a user interacting with a website.
@@ -191,13 +177,13 @@ extra_rdoc_files: []
191
177
  files:
192
178
  - ".document"
193
179
  - ".gitignore"
194
- - ".gitmodules"
195
180
  - ".travis.yml"
196
181
  - CHANGES.md
197
182
  - Gemfile
198
183
  - LICENSE
199
184
  - README.md
200
185
  - Rakefile
186
+ - appveyor.yml
201
187
  - lib/watir-webdriver.rb
202
188
  - lib/watir.rb
203
189
  - lib/watir/after_hooks.rb
@@ -261,6 +247,7 @@ files:
261
247
  - lib/watir/generator/svg/spec_extractor.rb
262
248
  - lib/watir/generator/svg/visitor.rb
263
249
  - lib/watir/has_window.rb
250
+ - lib/watir/legacy_wait.rb
264
251
  - lib/watir/locators.rb
265
252
  - lib/watir/locators/button/locator.rb
266
253
  - lib/watir/locators/button/selector_builder.rb
@@ -287,16 +274,173 @@ files:
287
274
  - lib/watir/wait/timer.rb
288
275
  - lib/watir/window.rb
289
276
  - lib/watir/xpath_support.rb
277
+ - lib/watirspec.rb
278
+ - lib/watirspec/guards.rb
279
+ - lib/watirspec/implementation.rb
280
+ - lib/watirspec/rake_tasks.rb
281
+ - lib/watirspec/runner.rb
282
+ - lib/watirspec/server.rb
283
+ - lib/watirspec/server/app.rb
290
284
  - spec/browser_spec.rb
291
285
  - spec/click_spec.rb
292
286
  - spec/container_spec.rb
293
287
  - spec/element_locator_spec.rb
294
288
  - spec/element_spec.rb
295
- - spec/implementation.rb
289
+ - spec/implementation_spec.rb
296
290
  - spec/input_spec.rb
297
291
  - spec/locator_spec_helper.rb
298
292
  - spec/spec_helper.rb
299
293
  - spec/special_chars_spec.rb
294
+ - spec/watirspec/.gitignore
295
+ - spec/watirspec/after_hooks_spec.rb
296
+ - spec/watirspec/alert_spec.rb
297
+ - spec/watirspec/browser_spec.rb
298
+ - spec/watirspec/cookies_spec.rb
299
+ - spec/watirspec/drag_and_drop_spec.rb
300
+ - spec/watirspec/element_hidden_spec.rb
301
+ - spec/watirspec/elements/area_spec.rb
302
+ - spec/watirspec/elements/areas_spec.rb
303
+ - spec/watirspec/elements/button_spec.rb
304
+ - spec/watirspec/elements/buttons_spec.rb
305
+ - spec/watirspec/elements/checkbox_spec.rb
306
+ - spec/watirspec/elements/checkboxes_spec.rb
307
+ - spec/watirspec/elements/collections_spec.rb
308
+ - spec/watirspec/elements/dd_spec.rb
309
+ - spec/watirspec/elements/dds_spec.rb
310
+ - spec/watirspec/elements/del_spec.rb
311
+ - spec/watirspec/elements/dels_spec.rb
312
+ - spec/watirspec/elements/div_spec.rb
313
+ - spec/watirspec/elements/divs_spec.rb
314
+ - spec/watirspec/elements/dl_spec.rb
315
+ - spec/watirspec/elements/dls_spec.rb
316
+ - spec/watirspec/elements/dt_spec.rb
317
+ - spec/watirspec/elements/dts_spec.rb
318
+ - spec/watirspec/elements/element_spec.rb
319
+ - spec/watirspec/elements/elements_spec.rb
320
+ - spec/watirspec/elements/em_spec.rb
321
+ - spec/watirspec/elements/ems_spec.rb
322
+ - spec/watirspec/elements/filefield_spec.rb
323
+ - spec/watirspec/elements/filefields_spec.rb
324
+ - spec/watirspec/elements/font_spec.rb
325
+ - spec/watirspec/elements/form_spec.rb
326
+ - spec/watirspec/elements/forms_spec.rb
327
+ - spec/watirspec/elements/frame_spec.rb
328
+ - spec/watirspec/elements/frames_spec.rb
329
+ - spec/watirspec/elements/hidden_spec.rb
330
+ - spec/watirspec/elements/hiddens_spec.rb
331
+ - spec/watirspec/elements/hn_spec.rb
332
+ - spec/watirspec/elements/hns_spec.rb
333
+ - spec/watirspec/elements/iframe_spec.rb
334
+ - spec/watirspec/elements/iframes_spec.rb
335
+ - spec/watirspec/elements/image_spec.rb
336
+ - spec/watirspec/elements/images_spec.rb
337
+ - spec/watirspec/elements/ins_spec.rb
338
+ - spec/watirspec/elements/inses_spec.rb
339
+ - spec/watirspec/elements/label_spec.rb
340
+ - spec/watirspec/elements/labels_spec.rb
341
+ - spec/watirspec/elements/li_spec.rb
342
+ - spec/watirspec/elements/link_spec.rb
343
+ - spec/watirspec/elements/links_spec.rb
344
+ - spec/watirspec/elements/lis_spec.rb
345
+ - spec/watirspec/elements/map_spec.rb
346
+ - spec/watirspec/elements/maps_spec.rb
347
+ - spec/watirspec/elements/meta_spec.rb
348
+ - spec/watirspec/elements/metas_spec.rb
349
+ - spec/watirspec/elements/ol_spec.rb
350
+ - spec/watirspec/elements/ols_spec.rb
351
+ - spec/watirspec/elements/option_spec.rb
352
+ - spec/watirspec/elements/p_spec.rb
353
+ - spec/watirspec/elements/pre_spec.rb
354
+ - spec/watirspec/elements/pres_spec.rb
355
+ - spec/watirspec/elements/ps_spec.rb
356
+ - spec/watirspec/elements/radio_spec.rb
357
+ - spec/watirspec/elements/radios_spec.rb
358
+ - spec/watirspec/elements/select_list_spec.rb
359
+ - spec/watirspec/elements/select_lists_spec.rb
360
+ - spec/watirspec/elements/span_spec.rb
361
+ - spec/watirspec/elements/spans_spec.rb
362
+ - spec/watirspec/elements/strong_spec.rb
363
+ - spec/watirspec/elements/strongs_spec.rb
364
+ - spec/watirspec/elements/table_nesting_spec.rb
365
+ - spec/watirspec/elements/table_spec.rb
366
+ - spec/watirspec/elements/tables_spec.rb
367
+ - spec/watirspec/elements/tbody_spec.rb
368
+ - spec/watirspec/elements/tbodys_spec.rb
369
+ - spec/watirspec/elements/td_spec.rb
370
+ - spec/watirspec/elements/tds_spec.rb
371
+ - spec/watirspec/elements/text_field_spec.rb
372
+ - spec/watirspec/elements/text_fields_spec.rb
373
+ - spec/watirspec/elements/textarea_spec.rb
374
+ - spec/watirspec/elements/textareas_spec.rb
375
+ - spec/watirspec/elements/tfoot_spec.rb
376
+ - spec/watirspec/elements/tfoots_spec.rb
377
+ - spec/watirspec/elements/thead_spec.rb
378
+ - spec/watirspec/elements/theads_spec.rb
379
+ - spec/watirspec/elements/tr_spec.rb
380
+ - spec/watirspec/elements/trs_spec.rb
381
+ - spec/watirspec/elements/ul_spec.rb
382
+ - spec/watirspec/elements/uls_spec.rb
383
+ - spec/watirspec/html/alerts.html
384
+ - spec/watirspec/html/aria_attributes.html
385
+ - spec/watirspec/html/class_locator.html
386
+ - spec/watirspec/html/clicks.html
387
+ - spec/watirspec/html/closeable.html
388
+ - spec/watirspec/html/collections.html
389
+ - spec/watirspec/html/css/jquery-ui-1.8.17.custom.css
390
+ - spec/watirspec/html/data_attributes.html
391
+ - spec/watirspec/html/definition_lists.html
392
+ - spec/watirspec/html/drag_and_drop.html
393
+ - spec/watirspec/html/font.html
394
+ - spec/watirspec/html/forms_with_input_elements.html
395
+ - spec/watirspec/html/frame_1.html
396
+ - spec/watirspec/html/frame_2.html
397
+ - spec/watirspec/html/frames.html
398
+ - spec/watirspec/html/hover.html
399
+ - spec/watirspec/html/iframe_1.html
400
+ - spec/watirspec/html/iframes.html
401
+ - spec/watirspec/html/images.html
402
+ - spec/watirspec/html/images/1.gif
403
+ - spec/watirspec/html/images/2.gif
404
+ - spec/watirspec/html/images/3.gif
405
+ - spec/watirspec/html/images/button.png
406
+ - spec/watirspec/html/images/circle.png
407
+ - spec/watirspec/html/images/map.gif
408
+ - spec/watirspec/html/images/map2.gif
409
+ - spec/watirspec/html/images/minus.gif
410
+ - spec/watirspec/html/images/originaltriangle.png
411
+ - spec/watirspec/html/images/plus.gif
412
+ - spec/watirspec/html/images/square.png
413
+ - spec/watirspec/html/images/triangle.png
414
+ - spec/watirspec/html/inner_outer.html
415
+ - spec/watirspec/html/javascript/helpers.js
416
+ - spec/watirspec/html/javascript/jquery-1.7.1.min.js
417
+ - spec/watirspec/html/javascript/jquery-ui-1.8.17.custom.min.js
418
+ - spec/watirspec/html/keylogger.html
419
+ - spec/watirspec/html/modal_dialog.html
420
+ - spec/watirspec/html/multiple_ids.html
421
+ - spec/watirspec/html/nested_frame_1.html
422
+ - spec/watirspec/html/nested_frame_2.html
423
+ - spec/watirspec/html/nested_frame_3.html
424
+ - spec/watirspec/html/nested_frames.html
425
+ - spec/watirspec/html/nested_iframe_2.html
426
+ - spec/watirspec/html/nested_iframes.html
427
+ - spec/watirspec/html/nested_tables.html
428
+ - spec/watirspec/html/non_control_elements.html
429
+ - spec/watirspec/html/removed_element.html
430
+ - spec/watirspec/html/right_click.html
431
+ - spec/watirspec/html/special_chars.html
432
+ - spec/watirspec/html/tables.html
433
+ - spec/watirspec/html/timeout_window_location.html
434
+ - spec/watirspec/html/uneven_table.html
435
+ - spec/watirspec/html/wait.html
436
+ - spec/watirspec/html/watirspec.css
437
+ - spec/watirspec/html/window_switching.html
438
+ - spec/watirspec/relaxed_locate_spec.rb
439
+ - spec/watirspec/screenshot_spec.rb
440
+ - spec/watirspec/wait_spec.rb
441
+ - spec/watirspec/window_switching_spec.rb
442
+ - spec/watirspec_helper.rb
443
+ - support/appveyor.cmd
300
444
  - support/doctest_helper.rb
301
445
  - support/travis.sh
302
446
  - support/version_differ.rb
@@ -316,12 +460,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
316
460
  version: '0'
317
461
  required_rubygems_version: !ruby/object:Gem::Requirement
318
462
  requirements:
319
- - - ">"
463
+ - - ">="
320
464
  - !ruby/object:Gem::Version
321
- version: 1.3.1
465
+ version: '0'
322
466
  requirements: []
323
467
  rubyforge_project: watir
324
- rubygems_version: 2.4.5.1
468
+ rubygems_version: 2.4.8
325
469
  signing_key:
326
470
  specification_version: 4
327
471
  summary: Watir powered by Selenium
@@ -331,8 +475,157 @@ test_files:
331
475
  - spec/container_spec.rb
332
476
  - spec/element_locator_spec.rb
333
477
  - spec/element_spec.rb
334
- - spec/implementation.rb
478
+ - spec/implementation_spec.rb
335
479
  - spec/input_spec.rb
336
480
  - spec/locator_spec_helper.rb
337
481
  - spec/spec_helper.rb
338
482
  - spec/special_chars_spec.rb
483
+ - spec/watirspec/.gitignore
484
+ - spec/watirspec/after_hooks_spec.rb
485
+ - spec/watirspec/alert_spec.rb
486
+ - spec/watirspec/browser_spec.rb
487
+ - spec/watirspec/cookies_spec.rb
488
+ - spec/watirspec/drag_and_drop_spec.rb
489
+ - spec/watirspec/element_hidden_spec.rb
490
+ - spec/watirspec/elements/area_spec.rb
491
+ - spec/watirspec/elements/areas_spec.rb
492
+ - spec/watirspec/elements/button_spec.rb
493
+ - spec/watirspec/elements/buttons_spec.rb
494
+ - spec/watirspec/elements/checkbox_spec.rb
495
+ - spec/watirspec/elements/checkboxes_spec.rb
496
+ - spec/watirspec/elements/collections_spec.rb
497
+ - spec/watirspec/elements/dd_spec.rb
498
+ - spec/watirspec/elements/dds_spec.rb
499
+ - spec/watirspec/elements/del_spec.rb
500
+ - spec/watirspec/elements/dels_spec.rb
501
+ - spec/watirspec/elements/div_spec.rb
502
+ - spec/watirspec/elements/divs_spec.rb
503
+ - spec/watirspec/elements/dl_spec.rb
504
+ - spec/watirspec/elements/dls_spec.rb
505
+ - spec/watirspec/elements/dt_spec.rb
506
+ - spec/watirspec/elements/dts_spec.rb
507
+ - spec/watirspec/elements/element_spec.rb
508
+ - spec/watirspec/elements/elements_spec.rb
509
+ - spec/watirspec/elements/em_spec.rb
510
+ - spec/watirspec/elements/ems_spec.rb
511
+ - spec/watirspec/elements/filefield_spec.rb
512
+ - spec/watirspec/elements/filefields_spec.rb
513
+ - spec/watirspec/elements/font_spec.rb
514
+ - spec/watirspec/elements/form_spec.rb
515
+ - spec/watirspec/elements/forms_spec.rb
516
+ - spec/watirspec/elements/frame_spec.rb
517
+ - spec/watirspec/elements/frames_spec.rb
518
+ - spec/watirspec/elements/hidden_spec.rb
519
+ - spec/watirspec/elements/hiddens_spec.rb
520
+ - spec/watirspec/elements/hn_spec.rb
521
+ - spec/watirspec/elements/hns_spec.rb
522
+ - spec/watirspec/elements/iframe_spec.rb
523
+ - spec/watirspec/elements/iframes_spec.rb
524
+ - spec/watirspec/elements/image_spec.rb
525
+ - spec/watirspec/elements/images_spec.rb
526
+ - spec/watirspec/elements/ins_spec.rb
527
+ - spec/watirspec/elements/inses_spec.rb
528
+ - spec/watirspec/elements/label_spec.rb
529
+ - spec/watirspec/elements/labels_spec.rb
530
+ - spec/watirspec/elements/li_spec.rb
531
+ - spec/watirspec/elements/link_spec.rb
532
+ - spec/watirspec/elements/links_spec.rb
533
+ - spec/watirspec/elements/lis_spec.rb
534
+ - spec/watirspec/elements/map_spec.rb
535
+ - spec/watirspec/elements/maps_spec.rb
536
+ - spec/watirspec/elements/meta_spec.rb
537
+ - spec/watirspec/elements/metas_spec.rb
538
+ - spec/watirspec/elements/ol_spec.rb
539
+ - spec/watirspec/elements/ols_spec.rb
540
+ - spec/watirspec/elements/option_spec.rb
541
+ - spec/watirspec/elements/p_spec.rb
542
+ - spec/watirspec/elements/pre_spec.rb
543
+ - spec/watirspec/elements/pres_spec.rb
544
+ - spec/watirspec/elements/ps_spec.rb
545
+ - spec/watirspec/elements/radio_spec.rb
546
+ - spec/watirspec/elements/radios_spec.rb
547
+ - spec/watirspec/elements/select_list_spec.rb
548
+ - spec/watirspec/elements/select_lists_spec.rb
549
+ - spec/watirspec/elements/span_spec.rb
550
+ - spec/watirspec/elements/spans_spec.rb
551
+ - spec/watirspec/elements/strong_spec.rb
552
+ - spec/watirspec/elements/strongs_spec.rb
553
+ - spec/watirspec/elements/table_nesting_spec.rb
554
+ - spec/watirspec/elements/table_spec.rb
555
+ - spec/watirspec/elements/tables_spec.rb
556
+ - spec/watirspec/elements/tbody_spec.rb
557
+ - spec/watirspec/elements/tbodys_spec.rb
558
+ - spec/watirspec/elements/td_spec.rb
559
+ - spec/watirspec/elements/tds_spec.rb
560
+ - spec/watirspec/elements/text_field_spec.rb
561
+ - spec/watirspec/elements/text_fields_spec.rb
562
+ - spec/watirspec/elements/textarea_spec.rb
563
+ - spec/watirspec/elements/textareas_spec.rb
564
+ - spec/watirspec/elements/tfoot_spec.rb
565
+ - spec/watirspec/elements/tfoots_spec.rb
566
+ - spec/watirspec/elements/thead_spec.rb
567
+ - spec/watirspec/elements/theads_spec.rb
568
+ - spec/watirspec/elements/tr_spec.rb
569
+ - spec/watirspec/elements/trs_spec.rb
570
+ - spec/watirspec/elements/ul_spec.rb
571
+ - spec/watirspec/elements/uls_spec.rb
572
+ - spec/watirspec/html/alerts.html
573
+ - spec/watirspec/html/aria_attributes.html
574
+ - spec/watirspec/html/class_locator.html
575
+ - spec/watirspec/html/clicks.html
576
+ - spec/watirspec/html/closeable.html
577
+ - spec/watirspec/html/collections.html
578
+ - spec/watirspec/html/css/jquery-ui-1.8.17.custom.css
579
+ - spec/watirspec/html/data_attributes.html
580
+ - spec/watirspec/html/definition_lists.html
581
+ - spec/watirspec/html/drag_and_drop.html
582
+ - spec/watirspec/html/font.html
583
+ - spec/watirspec/html/forms_with_input_elements.html
584
+ - spec/watirspec/html/frame_1.html
585
+ - spec/watirspec/html/frame_2.html
586
+ - spec/watirspec/html/frames.html
587
+ - spec/watirspec/html/hover.html
588
+ - spec/watirspec/html/iframe_1.html
589
+ - spec/watirspec/html/iframes.html
590
+ - spec/watirspec/html/images.html
591
+ - spec/watirspec/html/images/1.gif
592
+ - spec/watirspec/html/images/2.gif
593
+ - spec/watirspec/html/images/3.gif
594
+ - spec/watirspec/html/images/button.png
595
+ - spec/watirspec/html/images/circle.png
596
+ - spec/watirspec/html/images/map.gif
597
+ - spec/watirspec/html/images/map2.gif
598
+ - spec/watirspec/html/images/minus.gif
599
+ - spec/watirspec/html/images/originaltriangle.png
600
+ - spec/watirspec/html/images/plus.gif
601
+ - spec/watirspec/html/images/square.png
602
+ - spec/watirspec/html/images/triangle.png
603
+ - spec/watirspec/html/inner_outer.html
604
+ - spec/watirspec/html/javascript/helpers.js
605
+ - spec/watirspec/html/javascript/jquery-1.7.1.min.js
606
+ - spec/watirspec/html/javascript/jquery-ui-1.8.17.custom.min.js
607
+ - spec/watirspec/html/keylogger.html
608
+ - spec/watirspec/html/modal_dialog.html
609
+ - spec/watirspec/html/multiple_ids.html
610
+ - spec/watirspec/html/nested_frame_1.html
611
+ - spec/watirspec/html/nested_frame_2.html
612
+ - spec/watirspec/html/nested_frame_3.html
613
+ - spec/watirspec/html/nested_frames.html
614
+ - spec/watirspec/html/nested_iframe_2.html
615
+ - spec/watirspec/html/nested_iframes.html
616
+ - spec/watirspec/html/nested_tables.html
617
+ - spec/watirspec/html/non_control_elements.html
618
+ - spec/watirspec/html/removed_element.html
619
+ - spec/watirspec/html/right_click.html
620
+ - spec/watirspec/html/special_chars.html
621
+ - spec/watirspec/html/tables.html
622
+ - spec/watirspec/html/timeout_window_location.html
623
+ - spec/watirspec/html/uneven_table.html
624
+ - spec/watirspec/html/wait.html
625
+ - spec/watirspec/html/watirspec.css
626
+ - spec/watirspec/html/window_switching.html
627
+ - spec/watirspec/relaxed_locate_spec.rb
628
+ - spec/watirspec/screenshot_spec.rb
629
+ - spec/watirspec/wait_spec.rb
630
+ - spec/watirspec/window_switching_spec.rb
631
+ - spec/watirspec_helper.rb