watir 6.16.2 → 6.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. checksums.yaml +5 -5
  2. data/.github/actions/enable-safari/action.yml +11 -0
  3. data/.github/actions/install-chrome/action.yml +11 -0
  4. data/.github/workflows/linux.yml +61 -0
  5. data/.github/workflows/mac.yml +55 -0
  6. data/.github/workflows/unit.yml +31 -0
  7. data/.github/workflows/windows.yml +39 -0
  8. data/.rubocop.yml +32 -107
  9. data/.rubocop_todo.yml +36 -0
  10. data/CHANGES.md +42 -0
  11. data/Gemfile +3 -1
  12. data/LICENSE +2 -2
  13. data/README.md +9 -10
  14. data/Rakefile +4 -4
  15. data/lib/watir-webdriver.rb +1 -1
  16. data/lib/watir.rb +1 -1
  17. data/lib/watir/adjacent.rb +8 -10
  18. data/lib/watir/after_hooks.rb +4 -4
  19. data/lib/watir/alert.rb +1 -0
  20. data/lib/watir/attribute_helper.rb +2 -0
  21. data/lib/watir/browser.rb +7 -3
  22. data/lib/watir/capabilities.rb +9 -6
  23. data/lib/watir/cookies.rb +3 -1
  24. data/lib/watir/element_collection.rb +21 -6
  25. data/lib/watir/elements/element.rb +66 -53
  26. data/lib/watir/elements/file_field.rb +1 -0
  27. data/lib/watir/elements/html_elements.rb +0 -1
  28. data/lib/watir/elements/iframe.rb +4 -3
  29. data/lib/watir/elements/link.rb +0 -9
  30. data/lib/watir/elements/radio.rb +1 -1
  31. data/lib/watir/elements/select.rb +22 -7
  32. data/lib/watir/generator/base/spec_extractor.rb +4 -4
  33. data/lib/watir/generator/html/generator.rb +1 -1
  34. data/lib/watir/has_window.rb +17 -15
  35. data/lib/watir/js_execution.rb +3 -3
  36. data/lib/watir/js_snippets.rb +2 -2
  37. data/lib/watir/legacy_wait.rb +1 -1
  38. data/lib/watir/locators.rb +1 -3
  39. data/lib/watir/locators/element/locator.rb +22 -12
  40. data/lib/watir/locators/element/selector_builder.rb +12 -13
  41. data/lib/watir/locators/element/selector_builder/xpath.rb +40 -13
  42. data/lib/watir/locators/text_field/matcher.rb +1 -1
  43. data/lib/watir/locators/text_field/selector_builder/xpath.rb +3 -1
  44. data/lib/watir/logger.rb +7 -20
  45. data/lib/watir/radio_set.rb +2 -2
  46. data/lib/watir/user_editable.rb +6 -2
  47. data/lib/watir/version.rb +1 -1
  48. data/lib/watir/wait.rb +2 -0
  49. data/lib/watir/wait/timer.rb +1 -1
  50. data/lib/watir/window.rb +8 -4
  51. data/lib/watir/window_collection.rb +105 -0
  52. data/lib/watirspec.rb +2 -1
  53. data/lib/watirspec/guards.rb +1 -1
  54. data/lib/watirspec/implementation.rb +3 -5
  55. data/lib/watirspec/rake_tasks.rb +2 -0
  56. data/lib/watirspec/runner.rb +5 -1
  57. data/lib/watirspec/server.rb +1 -1
  58. data/spec/spec_helper.rb +2 -7
  59. data/spec/unit/container_spec.rb +1 -1
  60. data/spec/unit/logger_spec.rb +5 -7
  61. data/spec/unit/match_elements/element_spec.rb +17 -15
  62. data/spec/unit/selector_builder/button_spec.rb +16 -15
  63. data/spec/unit/selector_builder/element_spec.rb +58 -9
  64. data/spec/unit/selector_builder/text_field_spec.rb +14 -14
  65. data/spec/unit/unit_helper.rb +2 -4
  66. data/spec/watirspec/after_hooks_spec.rb +58 -68
  67. data/spec/watirspec/alert_spec.rb +69 -79
  68. data/spec/watirspec/browser_spec.rb +51 -48
  69. data/spec/watirspec/cookies_spec.rb +52 -37
  70. data/spec/watirspec/drag_and_drop_spec.rb +14 -38
  71. data/spec/watirspec/elements/button_spec.rb +2 -0
  72. data/spec/watirspec/elements/buttons_spec.rb +1 -1
  73. data/spec/watirspec/elements/checkbox_spec.rb +8 -4
  74. data/spec/watirspec/elements/date_field_spec.rb +18 -9
  75. data/spec/watirspec/elements/date_time_field_spec.rb +3 -4
  76. data/spec/watirspec/elements/div_spec.rb +62 -54
  77. data/spec/watirspec/elements/element_spec.rb +73 -88
  78. data/spec/watirspec/elements/elements_spec.rb +12 -3
  79. data/spec/watirspec/elements/filefield_spec.rb +25 -50
  80. data/spec/watirspec/elements/form_spec.rb +6 -8
  81. data/spec/watirspec/elements/frame_spec.rb +10 -13
  82. data/spec/watirspec/elements/iframe_spec.rb +12 -9
  83. data/spec/watirspec/elements/iframes_spec.rb +2 -2
  84. data/spec/watirspec/elements/link_spec.rb +23 -12
  85. data/spec/watirspec/elements/links_spec.rb +11 -3
  86. data/spec/watirspec/elements/option_spec.rb +15 -17
  87. data/spec/watirspec/elements/select_list_spec.rb +222 -117
  88. data/spec/watirspec/elements/text_field_spec.rb +8 -4
  89. data/spec/watirspec/elements/tr_spec.rb +0 -9
  90. data/spec/watirspec/html/forms_with_input_elements.html +1 -0
  91. data/spec/watirspec/html/iframes.html +3 -0
  92. data/spec/watirspec/html/non_control_elements.html +4 -4
  93. data/spec/watirspec/html/right_click.html +12 -0
  94. data/spec/watirspec/html/wait.html +6 -6
  95. data/spec/watirspec/html/window_switching.html +10 -0
  96. data/spec/watirspec/legacy_wait_spec.rb +216 -0
  97. data/spec/watirspec/support/rspec_matchers.rb +17 -13
  98. data/spec/watirspec/user_editable_spec.rb +1 -1
  99. data/spec/watirspec/wait_spec.rb +257 -305
  100. data/spec/watirspec/window_switching_spec.rb +332 -211
  101. data/spec/watirspec_helper.rb +16 -19
  102. data/support/doctest_helper.rb +0 -2
  103. data/watir.gemspec +6 -7
  104. metadata +36 -26
  105. data/.travis.yml +0 -84
  106. data/appveyor.yml +0 -12
  107. data/lib/watir/elements/area.rb +0 -10
  108. data/spec/watirspec/relaxed_locate_spec.rb +0 -113
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: d9b4ce5fc3a28e83b85751052967ecdaa6d87b4d
4
- data.tar.gz: 82dc5e6c96e4f259c12865a198503b39674094b7
2
+ SHA256:
3
+ metadata.gz: 29eeb6548d5f5f91ee744107d1e3c79f0d2baf8b688c9588752e25b75fa696ef
4
+ data.tar.gz: 27502c2b89585471b25751b5564c08784578585d3c196f132f56b52243645735
5
5
  SHA512:
6
- metadata.gz: f57ef0d029dd2c0bd703d416288a1f65cfd0a1aaab36e33bd79924b54ae5cb796774fa44e2a728e508d1af0cf8e11bb7b595851d0d59b3ee587c5feed42f808e
7
- data.tar.gz: 18f052aaca388fef0191bf23c115cac21bff5aed3f692d6e5c1794ef13cf555f6745f2b8b569f7f3a760a843226844f6ef53dc43ef9c95efb532bf0e6a7e9d67
6
+ metadata.gz: d2a90695c68c0db0493d1fdeac5ab90ab51604a0916b4b6cbf0abeae595c6680f62269da98b9920c7ee7db4448e70c6afe31caa280ae76234bae2fc0b51c2912
7
+ data.tar.gz: 645305ed2b0ae8b5777995c6620055e37850dcefdb3b5a5b609d98b4ce30f8d0cd14155a79fb2032a46862d8c10ad92e9c0112fc7fe68e31dac01b6da44cbbd9
@@ -0,0 +1,11 @@
1
+ name: 'Enable Safari Driver'
2
+ description: 'Set safaridriver to run in automation mode'
3
+ runs:
4
+ using: composite
5
+ steps:
6
+ - run: |
7
+ defaults write com.apple.Safari IncludeDevelopMenu YES
8
+ defaults write com.apple.Safari AllowRemoteAutomation 1
9
+ sudo safaridriver --enable
10
+ safaridriver -p 0 &
11
+ shell: bash
@@ -0,0 +1,11 @@
1
+ name: 'Install Chrome'
2
+ runs:
3
+ using: "composite"
4
+ steps:
5
+ - run: |
6
+ wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
7
+ echo "deb http://dl.google.com/linux/chrome/deb/ stable main" | sudo tee -a /etc/apt/sources.list.d/google-chrome.list
8
+ sudo apt-get update -qqy
9
+ sudo apt-get -qqy install google-chrome-stable
10
+ sudo rm /etc/apt/sources.list.d/google-chrome.list
11
+ shell: bash
@@ -0,0 +1,61 @@
1
+ name: Linux Tests
2
+
3
+ on:
4
+ - push
5
+ - pull_request
6
+
7
+ jobs:
8
+ chrome-test:
9
+ name: Chrome Test
10
+ runs-on: ubuntu-latest
11
+ strategy:
12
+ fail-fast: false
13
+ matrix:
14
+ task: [ 'chrome' ]
15
+ steps:
16
+ - uses: actions/checkout@v2
17
+ - uses: ruby/setup-ruby@v1
18
+ with:
19
+ ruby-version: 2.5
20
+ - run: bundle install
21
+ - uses: ./.github/actions/install-chrome
22
+ - run: Xvfb :99 &
23
+ - run: |
24
+ bundle exec rake spec:${{ matrix.task }}
25
+ env:
26
+ DISPLAY: :99
27
+
28
+ firefox-test:
29
+ name: Firefox Test
30
+ runs-on: ubuntu-latest
31
+ strategy:
32
+ fail-fast: false
33
+ matrix:
34
+ task: [ 'firefox' ]
35
+ steps:
36
+ - uses: actions/checkout@v2
37
+ - uses: ruby/setup-ruby@v1
38
+ with:
39
+ ruby-version: 2.5
40
+ - run: bundle install
41
+ - run: Xvfb :99 &
42
+ - run: |
43
+ bundle exec rake spec:${{ matrix.task }}
44
+ env:
45
+ DISPLAY: :99
46
+
47
+ documentation-test:
48
+ name: Yard Doc Test
49
+ runs-on: ubuntu-latest
50
+ steps:
51
+ - uses: actions/checkout@v2
52
+ - uses: ruby/setup-ruby@v1
53
+ with:
54
+ ruby-version: 2.5
55
+ - run: bundle install
56
+ - uses: ./.github/actions/install-chrome
57
+ - run: Xvfb :99 &
58
+ - run: |
59
+ bundle exec rake yard:doctest
60
+ env:
61
+ DISPLAY: :99
@@ -0,0 +1,55 @@
1
+ name: Mac Tests
2
+
3
+ on:
4
+ - push
5
+ - pull_request
6
+
7
+ jobs:
8
+ chrome-test:
9
+ name: Chrome Test
10
+ runs-on: macos-latest
11
+ strategy:
12
+ fail-fast: false
13
+ matrix:
14
+ task: [ 'chrome' ]
15
+ steps:
16
+ - uses: actions/checkout@v2
17
+ - uses: ruby/setup-ruby@v1
18
+ with:
19
+ ruby-version: 2.5
20
+ - run: bundle install
21
+ - run: |
22
+ bundle exec rake spec:${{ matrix.task }}
23
+
24
+ firefox-test:
25
+ name: Firefox Test
26
+ runs-on: macos-latest
27
+ strategy:
28
+ fail-fast: false
29
+ matrix:
30
+ task: [ 'firefox' ]
31
+ steps:
32
+ - uses: actions/checkout@v2
33
+ - uses: ruby/setup-ruby@v1
34
+ with:
35
+ ruby-version: 2.5
36
+ - run: bundle install
37
+ - run: |
38
+ bundle exec rake spec:${{ matrix.task }}
39
+
40
+ safari-test:
41
+ name: Safari Test
42
+ runs-on: macos-latest
43
+ strategy:
44
+ fail-fast: false
45
+ matrix:
46
+ task: [ 'safari' ]
47
+ steps:
48
+ - uses: actions/checkout@v2
49
+ - uses: ruby/setup-ruby@v1
50
+ with:
51
+ ruby-version: 2.5
52
+ - run: bundle install
53
+ - uses: ./.github/actions/enable-safari
54
+ - run: |
55
+ bundle exec rake spec:${{ matrix.task }}
@@ -0,0 +1,31 @@
1
+ name: Unit Tests
2
+
3
+ on:
4
+ - push
5
+ - pull_request
6
+
7
+ jobs:
8
+ unit-test:
9
+ name: Unit Tests
10
+ runs-on: ubuntu-latest
11
+ strategy:
12
+ fail-fast: false
13
+ matrix:
14
+ ruby: ['2.5', '2.6', '2.7', '3.0']
15
+ steps:
16
+ - uses: actions/checkout@v2
17
+ - uses: ruby/setup-ruby@v1
18
+ with:
19
+ ruby-version: ${{ matrix.ruby }}
20
+ - run: bundle install
21
+ - run: bundle exec rake spec:unit
22
+ linter-test:
23
+ name: Rubocop Tests
24
+ runs-on: ubuntu-latest
25
+ steps:
26
+ - uses: actions/checkout@v2
27
+ - uses: ruby/setup-ruby@v1
28
+ with:
29
+ ruby-version: 2.5
30
+ - run: bundle install
31
+ - run: bundle exec rubocop
@@ -0,0 +1,39 @@
1
+ name: Windows Tests
2
+
3
+ on:
4
+ - push
5
+ - pull_request
6
+
7
+ jobs:
8
+ chrome-test:
9
+ name: Chrome Test
10
+ runs-on: windows-latest
11
+ strategy:
12
+ fail-fast: false
13
+ matrix:
14
+ task: [ 'chrome' ]
15
+ steps:
16
+ - uses: actions/checkout@v2
17
+ - uses: ruby/setup-ruby@v1
18
+ with:
19
+ ruby-version: 2.5
20
+ - run: bundle install
21
+ - run: |
22
+ bundle exec rake spec:${{ matrix.task }}
23
+ firefox-test:
24
+ name: Firefox Test
25
+ runs-on: windows-latest
26
+ strategy:
27
+ fail-fast: false
28
+ matrix:
29
+ task: [ 'firefox' ]
30
+ steps:
31
+ - uses: actions/checkout@v2
32
+ - uses: ruby/setup-ruby@v1
33
+ with:
34
+ ruby-version: 2.5
35
+ - run: bundle install
36
+ - run: |
37
+ bundle exec rake spec:${{ matrix.task }}
38
+
39
+
data/.rubocop.yml CHANGED
@@ -1,46 +1,36 @@
1
- # Offense count: 144
2
- # Cop supports --auto-correct.
3
- # Configuration parameters: AllowAdjacentOneLineDefs, NumberOfEmptyLines.
4
- Layout/EmptyLineBetweenDefs:
5
- Exclude:
6
- - 'lib/watir/elements/html_elements.rb'
7
- - 'lib/watir/elements/svg_elements.rb'
1
+ inherit_from: .rubocop_todo.yml
8
2
 
9
- # Offense count: 2
10
- # Cop supports --auto-correct.
11
- Layout/EmptyLines:
3
+ AllCops:
4
+ TargetRubyVersion: 2.5.8
5
+ NewCops: enable
12
6
  Exclude:
13
7
  - 'lib/watir/elements/html_elements.rb'
14
8
  - 'lib/watir/elements/svg_elements.rb'
15
9
 
16
- # Offense count: 2
17
- # Cop supports --auto-correct.
18
- # Configuration parameters: EnforcedStyle.
19
- # SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines
20
- Layout/EmptyLinesAroundModuleBody:
21
- Exclude:
22
- - 'lib/watir/elements/html_elements.rb'
23
- - 'lib/watir/elements/svg_elements.rb'
10
+ Layout/LineLength:
11
+ Max: 120
24
12
 
25
- # Offense count: 85
26
- # Cop supports --auto-correct.
27
- # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
28
- # SupportedStyles: space, no_space, compact
29
- # SupportedStylesForEmptyBraces: space, no_space
30
13
  Layout/SpaceInsideHashLiteralBraces:
31
14
  EnforcedStyle: no_space
32
15
 
33
- # Offense count: 1
34
- Lint/HandleExceptions:
35
- Exclude:
36
- - 'lib/watirspec.rb'
37
-
38
16
  Lint/UnifiedInteger:
39
17
  Exclude:
40
18
  - 'lib/watir/locators/element/selector_builder.rb'
41
19
 
42
- # Configuration parameters: CountComments, ExcludedMethods.
43
- # ExcludedMethods: refine
20
+ # Default: 17
21
+ Metrics/AbcSize:
22
+ Max: 20
23
+ Exclude:
24
+ - 'lib/watir/capabilities.rb'
25
+ - 'lib/watir/locators/element/selector_builder.rb'
26
+ - 'lib/watir/locators/element/selector_builder/regexp_disassembler.rb'
27
+ - 'lib/watir/locators/element/selector_builder/xpath.rb'
28
+ - 'lib/watir/locators/element/locator.rb'
29
+ - 'lib/watir/generator/base/generator.rb'
30
+ - 'lib/watir/generator/base/visitor.rb'
31
+ - 'spec/locator_spec_helper.rb'
32
+ - 'spec/watirspec_helper.rb'
33
+
44
34
  Metrics/BlockLength:
45
35
  Exclude:
46
36
  - 'spec/**/*'
@@ -48,21 +38,6 @@ Metrics/BlockLength:
48
38
  - 'watir.gemspec'
49
39
  - 'Rakefile'
50
40
 
51
- ## Configuration parameters: CountComments.
52
- Metrics/ModuleLength:
53
- Exclude:
54
- - 'lib/watir/elements/html_elements.rb'
55
- - 'lib/watir/elements/svg_elements.rb'
56
-
57
- # Configuration parameters: CountComments.
58
- Metrics/MethodLength:
59
- Max: 18
60
- Exclude:
61
- - 'lib/watir/locators/element/selector_builder.rb'
62
- - 'lib/watir/locators/element/selector_builder/xpath.rb'
63
- - 'lib/watir/locators/element/selector_builder/regexp_disassembler.rb'
64
-
65
- # Configuration parameters: CountComments.
66
41
  Metrics/ClassLength:
67
42
  Max: 93
68
43
  Exclude:
@@ -77,42 +52,24 @@ Metrics/ClassLength:
77
52
  - 'lib/watir/generator/base/spec_extractor.rb'
78
53
  - 'lib/watir/element_collection.rb'
79
54
 
80
- Metrics/PerceivedComplexity:
81
- Max: 10
82
-
55
+ # Default: 7
83
56
  Metrics/CyclomaticComplexity:
84
- Max: 8
57
+ Max: 9
85
58
  Exclude:
86
- - 'lib/watir/locators/element/selector_builder.rb'
59
+ - 'lib/watir/locators/element/selector_builder.rb'
87
60
 
88
- Metrics/AbcSize:
89
- Max: 20
61
+ # Configuration parameters: CountComments.
62
+ Metrics/MethodLength:
63
+ Max: 18
90
64
  Exclude:
91
65
  - 'lib/watir/locators/element/selector_builder.rb'
92
- - 'lib/watir/locators/element/selector_builder/regexp_disassembler.rb'
93
66
  - 'lib/watir/locators/element/selector_builder/xpath.rb'
94
- - 'lib/watir/locators/element/locator.rb'
95
- - 'lib/watir/generator/base/generator.rb'
96
- - 'lib/watir/generator/base/visitor.rb'
97
- - 'spec/locator_spec_helper.rb'
98
-
99
- # TODO: fix with Watir 7
100
- # Configuration parameters: CountKeywordArgs.
101
- Metrics/ParameterLists:
102
- Exclude:
103
- - 'lib/watir/wait.rb'
67
+ - 'lib/watir/locators/element/selector_builder/regexp_disassembler.rb'
104
68
 
105
- # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
106
- # URISchemes: http, https
107
- Metrics/LineLength:
108
- Max: 120
69
+ # Default: 8
70
+ Metrics/PerceivedComplexity:
71
+ Max: 10
109
72
 
110
- # Cop supports --auto-correct.
111
- # Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, IgnoredMethods.
112
- # SupportedStyles: line_count_based, semantic, braces_for_chaining
113
- # ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
114
- # FunctionalMethods: let, let!, subject, watch
115
- # IgnoredMethods: lambda, proc, it
116
73
  Style/BlockDelimiters:
117
74
  EnforcedStyle: braces_for_chaining
118
75
 
@@ -122,44 +79,12 @@ Style/CommentedKeyword:
122
79
  Style/DoubleNegation:
123
80
  Enabled: false
124
81
 
125
- ## Configuration parameters: AllowedVariables.
126
82
  Style/GlobalVars:
127
83
  AllowedVariables:
128
84
  - $browser
129
85
 
130
- Style/RegexpLiteral:
131
- Exclude:
132
- - 'spec/watirspec/selector_builder/element_spec.rb'
133
-
134
- ### Cop supports --auto-correct.
135
- ### Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
136
- ## SupportedStyles: single_quotes, double_quotes
137
- Style/StringLiterals:
138
- Exclude:
139
- - 'lib/watir/elements/html_elements.rb'
140
- - 'lib/watir/elements/svg_elements.rb'
141
-
142
- Style/MethodCallWithoutArgsParentheses:
86
+ Style/HashEachMethods:
143
87
  Enabled: false
144
88
 
145
- # TODO: I can't tell if this applies
146
- ## Configuration parameters: EnforcedStyle.
147
- ## SupportedStyles: annotated, template, unannotated
148
- Style/FormatStringToken:
149
- Exclude:
150
- - 'lib/watir/browser.rb'
151
- - 'lib/watir/locators/text_field/selector_builder/xpath.rb'
152
- - 'lib/watir/window.rb'
153
-
154
- Style/Documentation:
89
+ Style/OptionalBooleanParameter:
155
90
  Enabled: false
156
-
157
- # Cop supports --auto-correct.
158
- # Configuration parameters: EnforcedStyle.
159
- # SupportedStyles: when_needed, always, never
160
- Style/FrozenStringLiteralComment:
161
- Enabled: false
162
-
163
- Naming/FileName:
164
- Exclude:
165
- - 'lib/watir-webdriver.rb'
data/.rubocop_todo.yml ADDED
@@ -0,0 +1,36 @@
1
+ # This configuration was generated by
2
+ # `rubocop --auto-gen-config`
3
+ # on 2020-08-27 01:55:04 UTC using RuboCop version 0.89.1.
4
+ # The point is for the user to remove these configuration records
5
+ # one by one as the offenses are removed from the code base.
6
+ # Note that changes in the inspected code, or installation of new
7
+ # versions of RuboCop, may require this file to be generated again.
8
+
9
+ # Offense count: 116
10
+ Style/Documentation:
11
+ Enabled: false
12
+
13
+ # Offense count: 11
14
+ # Configuration parameters: EnforcedStyle.
15
+ # SupportedStyles: annotated, template, unannotated
16
+ Style/FormatStringToken:
17
+ Exclude:
18
+ - 'lib/watir/browser.rb'
19
+ - 'lib/watir/window.rb'
20
+
21
+ # Offense count: 229
22
+ # Cop supports --auto-correct.
23
+ # Configuration parameters: EnforcedStyle.
24
+ # SupportedStyles: always, always_true, never
25
+ Style/FrozenStringLiteralComment:
26
+ Enabled: false
27
+
28
+ # Remove for Watir 7
29
+ Naming/FileName:
30
+ Exclude:
31
+ - 'lib/watir-webdriver.rb'
32
+
33
+ # Fix in Watir 7
34
+ Metrics/ParameterLists:
35
+ Exclude:
36
+ - 'lib/watir/wait.rb'