webdrivers 4.2.0 → 4.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +38 -0
  3. data/LICENSE.txt +0 -0
  4. data/README.md +24 -5
  5. data/lib/webdrivers.rb +0 -0
  6. data/lib/webdrivers/Rakefile +0 -0
  7. data/lib/webdrivers/chrome_finder.rb +33 -1
  8. data/lib/webdrivers/chromedriver.rb +62 -21
  9. data/lib/webdrivers/common.rb +9 -3
  10. data/lib/webdrivers/edge_finder.rb +13 -1
  11. data/lib/webdrivers/edgedriver.rb +37 -14
  12. data/lib/webdrivers/geckodriver.rb +0 -0
  13. data/lib/webdrivers/iedriver.rb +9 -6
  14. data/lib/webdrivers/logger.rb +0 -0
  15. data/lib/webdrivers/network.rb +2 -0
  16. data/lib/webdrivers/railtie.rb +0 -0
  17. data/lib/webdrivers/system.rb +29 -0
  18. data/lib/webdrivers/tasks/chromedriver.rake +0 -0
  19. data/lib/webdrivers/tasks/edgedriver.rake +0 -0
  20. data/lib/webdrivers/tasks/geckodriver.rake +0 -0
  21. data/lib/webdrivers/tasks/iedriver.rake +0 -0
  22. data/lib/webdrivers/version.rb +1 -1
  23. data/spec/spec_helper.rb +0 -0
  24. data/spec/webdrivers/chrome_finder_spec.rb +53 -0
  25. data/spec/webdrivers/chromedriver_spec.rb +14 -9
  26. data/spec/webdrivers/coverage/assets/0.10.2/application.css +799 -0
  27. data/spec/webdrivers/coverage/assets/0.10.2/application.js +1707 -0
  28. data/spec/webdrivers/coverage/assets/0.10.2/colorbox/border.png +0 -0
  29. data/spec/webdrivers/coverage/assets/0.10.2/colorbox/controls.png +0 -0
  30. data/spec/webdrivers/coverage/assets/0.10.2/colorbox/loading.gif +0 -0
  31. data/spec/webdrivers/coverage/assets/0.10.2/colorbox/loading_background.png +0 -0
  32. data/spec/webdrivers/coverage/assets/0.10.2/favicon_green.png +0 -0
  33. data/spec/webdrivers/coverage/assets/0.10.2/favicon_red.png +0 -0
  34. data/spec/webdrivers/coverage/assets/0.10.2/favicon_yellow.png +0 -0
  35. data/spec/webdrivers/coverage/assets/0.10.2/loading.gif +0 -0
  36. data/spec/webdrivers/coverage/assets/0.10.2/magnify.png +0 -0
  37. data/spec/webdrivers/coverage/assets/0.10.2/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  38. data/spec/webdrivers/coverage/assets/0.10.2/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  39. data/spec/webdrivers/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  40. data/spec/webdrivers/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  41. data/spec/webdrivers/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  42. data/spec/webdrivers/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  43. data/spec/webdrivers/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  44. data/spec/webdrivers/coverage/assets/0.10.2/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  45. data/spec/webdrivers/coverage/assets/0.10.2/smoothness/images/ui-icons_222222_256x240.png +0 -0
  46. data/spec/webdrivers/coverage/assets/0.10.2/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  47. data/spec/webdrivers/coverage/assets/0.10.2/smoothness/images/ui-icons_454545_256x240.png +0 -0
  48. data/spec/webdrivers/coverage/assets/0.10.2/smoothness/images/ui-icons_888888_256x240.png +0 -0
  49. data/spec/webdrivers/coverage/assets/0.10.2/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  50. data/spec/webdrivers/coverage/index.html +3512 -0
  51. data/spec/webdrivers/edge_finder_spec.rb +0 -0
  52. data/spec/webdrivers/edgedriver_spec.rb +16 -12
  53. data/spec/webdrivers/geckodriver_spec.rb +2 -1
  54. data/spec/webdrivers/i_edriver_spec.rb +2 -1
  55. data/spec/webdrivers/system_spec.rb +79 -0
  56. data/spec/webdrivers/webdrivers_spec.rb +0 -0
  57. data/spec/webdrivers_proxy_support_spec.rb +0 -0
  58. metadata +76 -45
  59. data/.github/ISSUE_TEMPLATE.md +0 -16
  60. data/.gitignore +0 -8
  61. data/.rubocop.yml +0 -47
  62. data/.travis.yml +0 -41
  63. data/Gemfile +0 -6
  64. data/Rakefile +0 -11
  65. data/appveyor.yml +0 -45
  66. data/gemfiles/Gemfile.edge +0 -7
  67. data/support/install_jruby.ps1 +0 -7
  68. data/support/install_msedge.ps1 +0 -11
  69. data/webdrivers.gemspec +0 -35
File without changes
@@ -114,15 +114,16 @@ describe Webdrivers::Edgedriver do
114
114
  end
115
115
  end
116
116
 
117
- it 'makes a network call if cached driver does not match the browser' do
117
+ it 'makes network calls if cached driver does not match the browser' do
118
118
  Webdrivers::System.cache_version('msedgedriver', '71.0.3578.137')
119
- allow(edgedriver).to receive(:browser_version).and_return(Gem::Version.new('73.0.3683.68'))
119
+ allow(edgedriver).to receive(:current_version).and_return Gem::Version.new('71.0.3578.137')
120
+ allow(edgedriver).to receive(:browser_version).and_return Gem::Version.new('73.0.3683.68')
120
121
  allow(Webdrivers::Network).to receive(:get).and_return('73.0.3683.68'.encode('UTF-16'))
121
122
  allow(Webdrivers::System).to receive(:download)
122
123
 
123
124
  edgedriver.update
124
125
 
125
- expect(Webdrivers::Network).to have_received(:get).once
126
+ expect(Webdrivers::Network).to have_received(:get).twice
126
127
  end
127
128
 
128
129
  context 'when required version is 0' do
@@ -163,13 +164,13 @@ describe Webdrivers::Edgedriver do
163
164
 
164
165
  describe '#latest_version' do
165
166
  it 'returns the correct point release for a production version' do
166
- allow(edgedriver).to receive(:browser_version).and_return '77.0.207.0'
167
+ allow(edgedriver).to receive(:browser_version).and_return Gem::Version.new('77.0.207.0')
167
168
 
168
169
  expect(edgedriver.latest_version).to be_between(Gem::Version.new('77.0.207.0'), Gem::Version.new('78'))
169
170
  end
170
171
 
171
172
  it 'raises VersionError for beta version' do
172
- allow(edgedriver).to receive(:browser_version).and_return('100.0.0')
173
+ allow(edgedriver).to receive(:browser_version).and_return Gem::Version.new('100.0.0')
173
174
  msg = 'Unable to find latest point release version for 100.0.0. '\
174
175
  'You appear to be using a non-production version of Edge. '\
175
176
  'Please set `Webdrivers::Edgedriver.required_version = <desired driver version>` '\
@@ -196,28 +197,31 @@ describe Webdrivers::Edgedriver do
196
197
  end
197
198
 
198
199
  it 'creates cached file' do
199
- allow(edgedriver).to receive(:browser_version).and_return('77.0.207.0')
200
+ allow(edgedriver).to receive(:browser_version).and_return Gem::Version.new('77.0.207.0')
200
201
  allow(Webdrivers::Network).to receive(:get).and_return('77.0.207.0'.encode('UTF-16'))
201
202
 
202
203
  edgedriver.latest_version
203
204
  expect(File.exist?("#{Webdrivers::System.install_dir}/msedgedriver.version")).to eq true
204
205
  end
205
206
 
206
- it 'does not make network call if cache is valid' do
207
+ it 'does not make network calls if cache is valid and driver exists' do
207
208
  allow(Webdrivers).to receive(:cache_time).and_return(3600)
208
- Webdrivers::System.cache_version('msedgedriver', '77.0.207.0')
209
+ Webdrivers::System.cache_version('msedgedriver', '82.0.445.0')
210
+ allow(edgedriver).to receive(:current_version).and_return Gem::Version.new('82.0.445.0')
211
+ allow(edgedriver).to receive(:browser_version).and_return Gem::Version.new('82.0.445.0')
212
+ allow(Webdrivers::System).to receive(:exists?).and_return(true)
209
213
  allow(Webdrivers::Network).to receive(:get)
210
214
 
211
- expect(edgedriver.latest_version).to eq Gem::Version.new('77.0.207.0')
215
+ expect(edgedriver.latest_version).to eq Gem::Version.new('82.0.445.0')
212
216
 
213
217
  expect(Webdrivers::Network).not_to have_received(:get)
214
218
  end
215
219
 
216
- it 'makes a network call if cache is expired' do
220
+ it 'makes network calls if cache is expired' do
217
221
  Webdrivers::System.cache_version('msedgedriver', '71.0.3578.137')
218
222
  allow(Webdrivers::Network).to receive(:get).and_return('77.0.207.0'.encode('UTF-16'))
219
- allow(Webdrivers::System).to receive(:valid_cache?)
220
- allow(edgedriver).to receive(:browser_version).and_return('77.0.207.0')
223
+ allow(Webdrivers::System).to receive(:valid_cache?).and_return(false)
224
+ allow(edgedriver).to receive(:browser_version).and_return Gem::Version.new('77.0.207.0')
221
225
 
222
226
  expect(edgedriver.latest_version).to eq Gem::Version.new('77.0.207.0')
223
227
 
@@ -135,9 +135,10 @@ You can obtain a copy of the license at https://mozilla.org/MPL/2.0/"
135
135
  expect(File.exist?("#{Webdrivers::System.install_dir}/geckodriver.version")).to eq true
136
136
  end
137
137
 
138
- it 'does not make network call if cache is valid' do
138
+ it 'does not make network calls if cache is valid and driver exists' do
139
139
  allow(Webdrivers).to receive(:cache_time).and_return(3600)
140
140
  Webdrivers::System.cache_version('geckodriver', '0.23.0')
141
+ allow(Webdrivers::System).to receive(:exists?).and_return(true)
141
142
  allow(Webdrivers::Network).to receive(:get)
142
143
 
143
144
  expect(geckodriver.latest_version).to eq Gem::Version.new('0.23.0')
@@ -115,9 +115,10 @@ describe Webdrivers::IEdriver do
115
115
  expect(File.exist?("#{Webdrivers::System.install_dir}/IEDriverServer.version")).to eq true
116
116
  end
117
117
 
118
- it 'does not make network call if cache is valid' do
118
+ it 'does not make network calls if cache is valid and driver exists' do
119
119
  allow(Webdrivers).to receive(:cache_time).and_return(3600)
120
120
  Webdrivers::System.cache_version('IEDriverServer', '3.4.0')
121
+ allow(Webdrivers::System).to receive(:exists?).and_return(true)
121
122
  allow(Webdrivers::Network).to receive(:get)
122
123
 
123
124
  expect(iedriver.latest_version).to eq Gem::Version.new('3.4.0')
@@ -0,0 +1,79 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'spec_helper'
4
+
5
+ describe Webdrivers::System do
6
+ describe '#wsl_v1?' do
7
+ subject { described_class.wsl_v1? }
8
+
9
+ before do
10
+ allow(described_class).to receive(:platform).and_return(platform)
11
+ allow(File).to receive(:open).with('/proc/version').and_return(StringIO.new(wsl_proc_version_contents))
12
+ end
13
+
14
+ let(:platform) { 'linux' }
15
+ let(:wsl_proc_version_contents) { '' }
16
+
17
+ context 'when the current platform is linux and WSL version is 1' do
18
+ let(:wsl_proc_version_contents) do
19
+ 'Linux version 4.4.0-18362-Microsoft'\
20
+ '(Microsoft@Microsoft.com) (gcc version 5.4.0 (GCC) )'\
21
+ '#836-Microsoft Mon May 05 16:04:00 PST 2020'
22
+ end
23
+
24
+ it { is_expected.to eq true }
25
+ end
26
+
27
+ context 'when the current platform is linux and WSL version is 2' do
28
+ let(:wsl_proc_version_contents) do
29
+ 'Linux version 4.19.84-microsoft-standard '\
30
+ '(oe-user@oe-host) (gcc version 8.2.0 (GCC)) '\
31
+ '#1 SMP Wed Nov 13 11:44:37 UTC 2019'
32
+ end
33
+
34
+ it { is_expected.to eq false }
35
+ end
36
+
37
+ context 'when the current platform is mac' do
38
+ let(:platform) { 'mac' }
39
+
40
+ it { is_expected.to eq false }
41
+ end
42
+ end
43
+
44
+ describe '#to_win32_path' do
45
+ before { allow(described_class).to receive(:call).and_return("C:\\path\\to\\folder\n") }
46
+
47
+ it 'uses wslpath' do
48
+ described_class.to_win32_path '/c/path/to/folder'
49
+
50
+ expect(described_class).to have_received(:call).with('wslpath -w \'/c/path/to/folder\'')
51
+ end
52
+
53
+ it 'removes the trailing newline' do
54
+ expect(described_class.to_win32_path('/c/path/to/folder')).not_to end_with('\n')
55
+ end
56
+
57
+ context 'when the path is already in Windows format' do
58
+ it 'returns early' do
59
+ expect(described_class.to_win32_path('D:\\')).to eq 'D:\\'
60
+
61
+ expect(described_class).not_to have_received(:call)
62
+ end
63
+ end
64
+ end
65
+
66
+ describe '#to_wsl_path' do
67
+ before { allow(described_class).to receive(:call).and_return("/c/path/to/folder\n") }
68
+
69
+ it 'uses wslpath' do
70
+ described_class.to_wsl_path 'C:\\path\\to\\folder'
71
+
72
+ expect(described_class).to have_received(:call).with('wslpath -u \'C:\\path\\to\\folder\'')
73
+ end
74
+
75
+ it 'removes the trailing newline' do
76
+ expect(described_class.to_wsl_path('/c/path/to/folder')).not_to end_with('\n')
77
+ end
78
+ end
79
+ end
File without changes
File without changes
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webdrivers
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.0
4
+ version: 4.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Titus Fortner
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2019-12-27 00:00:00.000000000 Z
13
+ date: 2021-01-20 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: ffi
@@ -26,20 +26,6 @@ dependencies:
26
26
  - - "~>"
27
27
  - !ruby/object:Gem::Version
28
28
  version: '1.0'
29
- - !ruby/object:Gem::Dependency
30
- name: irb
31
- requirement: !ruby/object:Gem::Requirement
32
- requirements:
33
- - - ">="
34
- - !ruby/object:Gem::Version
35
- version: '0'
36
- type: :development
37
- prerelease: false
38
- version_requirements: !ruby/object:Gem::Requirement
39
- requirements:
40
- - - ">="
41
- - !ruby/object:Gem::Version
42
- version: '0'
43
29
  - !ruby/object:Gem::Dependency
44
30
  name: rake
45
31
  requirement: !ruby/object:Gem::Requirement
@@ -55,47 +41,47 @@ dependencies:
55
41
  - !ruby/object:Gem::Version
56
42
  version: '12.0'
57
43
  - !ruby/object:Gem::Dependency
58
- name: reline
44
+ name: rspec
59
45
  requirement: !ruby/object:Gem::Requirement
60
46
  requirements:
61
- - - '='
47
+ - - "~>"
62
48
  - !ruby/object:Gem::Version
63
- version: 0.0.7
49
+ version: '3.0'
64
50
  type: :development
65
51
  prerelease: false
66
52
  version_requirements: !ruby/object:Gem::Requirement
67
53
  requirements:
68
- - - '='
54
+ - - "~>"
69
55
  - !ruby/object:Gem::Version
70
- version: 0.0.7
56
+ version: '3.0'
71
57
  - !ruby/object:Gem::Dependency
72
- name: rspec
58
+ name: rubocop
73
59
  requirement: !ruby/object:Gem::Requirement
74
60
  requirements:
75
61
  - - "~>"
76
62
  - !ruby/object:Gem::Version
77
- version: '3.0'
63
+ version: '0.89'
78
64
  type: :development
79
65
  prerelease: false
80
66
  version_requirements: !ruby/object:Gem::Requirement
81
67
  requirements:
82
68
  - - "~>"
83
69
  - !ruby/object:Gem::Version
84
- version: '3.0'
70
+ version: '0.89'
85
71
  - !ruby/object:Gem::Dependency
86
- name: rubocop
72
+ name: rubocop-packaging
87
73
  requirement: !ruby/object:Gem::Requirement
88
74
  requirements:
89
75
  - - "~>"
90
76
  - !ruby/object:Gem::Version
91
- version: '0.66'
77
+ version: 0.5.0
92
78
  type: :development
93
79
  prerelease: false
94
80
  version_requirements: !ruby/object:Gem::Requirement
95
81
  requirements:
96
82
  - - "~>"
97
83
  - !ruby/object:Gem::Version
98
- version: '0.66'
84
+ version: 0.5.0
99
85
  - !ruby/object:Gem::Dependency
100
86
  name: rubocop-performance
101
87
  requirement: !ruby/object:Gem::Requirement
@@ -116,14 +102,14 @@ dependencies:
116
102
  requirements:
117
103
  - - "~>"
118
104
  - !ruby/object:Gem::Version
119
- version: '1.32'
105
+ version: '1.42'
120
106
  type: :development
121
107
  prerelease: false
122
108
  version_requirements: !ruby/object:Gem::Requirement
123
109
  requirements:
124
110
  - - "~>"
125
111
  - !ruby/object:Gem::Version
126
- version: '1.32'
112
+ version: '1.42'
127
113
  - !ruby/object:Gem::Dependency
128
114
  name: simplecov
129
115
  requirement: !ruby/object:Gem::Requirement
@@ -195,17 +181,9 @@ executables: []
195
181
  extensions: []
196
182
  extra_rdoc_files: []
197
183
  files:
198
- - ".github/ISSUE_TEMPLATE.md"
199
- - ".gitignore"
200
- - ".rubocop.yml"
201
- - ".travis.yml"
202
184
  - CHANGELOG.md
203
- - Gemfile
204
185
  - LICENSE.txt
205
186
  - README.md
206
- - Rakefile
207
- - appveyor.yml
208
- - gemfiles/Gemfile.edge
209
187
  - lib/webdrivers.rb
210
188
  - lib/webdrivers/Rakefile
211
189
  - lib/webdrivers/chrome_finder.rb
@@ -227,19 +205,46 @@ files:
227
205
  - spec/spec_helper.rb
228
206
  - spec/webdrivers/chrome_finder_spec.rb
229
207
  - spec/webdrivers/chromedriver_spec.rb
208
+ - spec/webdrivers/coverage/assets/0.10.2/application.css
209
+ - spec/webdrivers/coverage/assets/0.10.2/application.js
210
+ - spec/webdrivers/coverage/assets/0.10.2/colorbox/border.png
211
+ - spec/webdrivers/coverage/assets/0.10.2/colorbox/controls.png
212
+ - spec/webdrivers/coverage/assets/0.10.2/colorbox/loading.gif
213
+ - spec/webdrivers/coverage/assets/0.10.2/colorbox/loading_background.png
214
+ - spec/webdrivers/coverage/assets/0.10.2/favicon_green.png
215
+ - spec/webdrivers/coverage/assets/0.10.2/favicon_red.png
216
+ - spec/webdrivers/coverage/assets/0.10.2/favicon_yellow.png
217
+ - spec/webdrivers/coverage/assets/0.10.2/loading.gif
218
+ - spec/webdrivers/coverage/assets/0.10.2/magnify.png
219
+ - spec/webdrivers/coverage/assets/0.10.2/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
220
+ - spec/webdrivers/coverage/assets/0.10.2/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
221
+ - spec/webdrivers/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
222
+ - spec/webdrivers/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
223
+ - spec/webdrivers/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_75_dadada_1x400.png
224
+ - spec/webdrivers/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
225
+ - spec/webdrivers/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
226
+ - spec/webdrivers/coverage/assets/0.10.2/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
227
+ - spec/webdrivers/coverage/assets/0.10.2/smoothness/images/ui-icons_222222_256x240.png
228
+ - spec/webdrivers/coverage/assets/0.10.2/smoothness/images/ui-icons_2e83ff_256x240.png
229
+ - spec/webdrivers/coverage/assets/0.10.2/smoothness/images/ui-icons_454545_256x240.png
230
+ - spec/webdrivers/coverage/assets/0.10.2/smoothness/images/ui-icons_888888_256x240.png
231
+ - spec/webdrivers/coverage/assets/0.10.2/smoothness/images/ui-icons_cd0a0a_256x240.png
232
+ - spec/webdrivers/coverage/index.html
230
233
  - spec/webdrivers/edge_finder_spec.rb
231
234
  - spec/webdrivers/edgedriver_spec.rb
232
235
  - spec/webdrivers/geckodriver_spec.rb
233
236
  - spec/webdrivers/i_edriver_spec.rb
237
+ - spec/webdrivers/system_spec.rb
234
238
  - spec/webdrivers/webdrivers_spec.rb
235
239
  - spec/webdrivers_proxy_support_spec.rb
236
- - support/install_jruby.ps1
237
- - support/install_msedge.ps1
238
- - webdrivers.gemspec
239
240
  homepage: https://github.com/titusfortner/webdrivers
240
241
  licenses:
241
242
  - MIT
242
- metadata: {}
243
+ metadata:
244
+ bug_tracker_uri: https://github.com/titusfortner/webdrivers/issues
245
+ changelog_uri: https://github.com/titusfortner/webdrivers/blob/master/CHANGELOG.md
246
+ documentation_uri: https://www.rubydoc.info/gems/webdrivers/4.5.0
247
+ source_code_uri: https://github.com/titusfortner/webdrivers/tree/v4.5.0
243
248
  post_install_message:
244
249
  rdoc_options: []
245
250
  require_paths:
@@ -248,24 +253,50 @@ required_ruby_version: !ruby/object:Gem::Requirement
248
253
  requirements:
249
254
  - - ">="
250
255
  - !ruby/object:Gem::Version
251
- version: '0'
256
+ version: 2.4.0
252
257
  required_rubygems_version: !ruby/object:Gem::Requirement
253
258
  requirements:
254
259
  - - ">="
255
260
  - !ruby/object:Gem::Version
256
261
  version: '0'
257
262
  requirements: []
258
- rubygems_version: 3.1.2
263
+ rubygems_version: 3.0.3
259
264
  signing_key:
260
265
  specification_version: 4
261
266
  summary: Easy download and use of browser drivers.
262
267
  test_files:
263
268
  - spec/spec_helper.rb
264
- - spec/webdrivers/chrome_finder_spec.rb
265
269
  - spec/webdrivers/chromedriver_spec.rb
266
- - spec/webdrivers/edge_finder_spec.rb
270
+ - spec/webdrivers/chrome_finder_spec.rb
271
+ - spec/webdrivers/coverage/assets/0.10.2/application.css
272
+ - spec/webdrivers/coverage/assets/0.10.2/application.js
273
+ - spec/webdrivers/coverage/assets/0.10.2/colorbox/border.png
274
+ - spec/webdrivers/coverage/assets/0.10.2/colorbox/controls.png
275
+ - spec/webdrivers/coverage/assets/0.10.2/colorbox/loading.gif
276
+ - spec/webdrivers/coverage/assets/0.10.2/colorbox/loading_background.png
277
+ - spec/webdrivers/coverage/assets/0.10.2/favicon_green.png
278
+ - spec/webdrivers/coverage/assets/0.10.2/favicon_red.png
279
+ - spec/webdrivers/coverage/assets/0.10.2/favicon_yellow.png
280
+ - spec/webdrivers/coverage/assets/0.10.2/loading.gif
281
+ - spec/webdrivers/coverage/assets/0.10.2/magnify.png
282
+ - spec/webdrivers/coverage/assets/0.10.2/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
283
+ - spec/webdrivers/coverage/assets/0.10.2/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
284
+ - spec/webdrivers/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
285
+ - spec/webdrivers/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
286
+ - spec/webdrivers/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_75_dadada_1x400.png
287
+ - spec/webdrivers/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
288
+ - spec/webdrivers/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
289
+ - spec/webdrivers/coverage/assets/0.10.2/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
290
+ - spec/webdrivers/coverage/assets/0.10.2/smoothness/images/ui-icons_222222_256x240.png
291
+ - spec/webdrivers/coverage/assets/0.10.2/smoothness/images/ui-icons_2e83ff_256x240.png
292
+ - spec/webdrivers/coverage/assets/0.10.2/smoothness/images/ui-icons_454545_256x240.png
293
+ - spec/webdrivers/coverage/assets/0.10.2/smoothness/images/ui-icons_888888_256x240.png
294
+ - spec/webdrivers/coverage/assets/0.10.2/smoothness/images/ui-icons_cd0a0a_256x240.png
295
+ - spec/webdrivers/coverage/index.html
267
296
  - spec/webdrivers/edgedriver_spec.rb
297
+ - spec/webdrivers/edge_finder_spec.rb
268
298
  - spec/webdrivers/geckodriver_spec.rb
269
299
  - spec/webdrivers/i_edriver_spec.rb
300
+ - spec/webdrivers/system_spec.rb
270
301
  - spec/webdrivers/webdrivers_spec.rb
271
302
  - spec/webdrivers_proxy_support_spec.rb
@@ -1,16 +0,0 @@
1
- #### Summary
2
- Short summary of the bug or feature request.
3
-
4
- #### Debug Info
5
- Please provide the following information for bug reports:
6
-
7
- * Webdrivers version:
8
- * Ruby version:
9
- * Operating system / CI Environment:
10
- * Browser and version:
11
-
12
- #### Expected Behavior
13
- What you expect to happen.
14
-
15
- #### Actual Behavior
16
- What is actually happening: Error message, stack trace, DEBUG log if applicable (set `Webdrivers.logger.level = :DEBUG` after you require webdrivers)
data/.gitignore DELETED
@@ -1,8 +0,0 @@
1
- *.gem
2
- .bundle
3
- Gemfile.lock
4
- pkg/*
5
- chromedriver.log
6
- /.idea/
7
- coverage/
8
- gemfiles/Gemfile.*.lock
@@ -1,47 +0,0 @@
1
- AllCops:
2
- TargetRubyVersion: 2.4.6
3
-
4
- require:
5
- - rubocop-rspec
6
- - rubocop-performance
7
-
8
- Layout/SpaceInsideHashLiteralBraces:
9
- EnforcedStyle: no_space
10
-
11
- Layout/EndOfLine:
12
- EnforcedStyle: lf
13
-
14
- Metrics/LineLength:
15
- Max: 120
16
- IgnoredPatterns:
17
- - '\s+# rubocop:disable'
18
-
19
- Metrics/MethodLength:
20
- Max: 20
21
-
22
- Metrics/BlockLength:
23
- Exclude:
24
- - 'spec/**/*'
25
- - 'lib/webdrivers/tasks/*.rake'
26
-
27
- Metrics/ClassLength:
28
- Max: 116
29
- Exclude:
30
- - 'lib/webdrivers/system.rb'
31
-
32
- Metrics/CyclomaticComplexity:
33
- Max: 8
34
-
35
- Metrics/AbcSize:
36
- Max: 16
37
- Exclude:
38
- - 'lib/webdrivers/chromedriver.rb'
39
-
40
- Style/Documentation:
41
- Enabled: false
42
-
43
- RSpec/ExampleLength:
44
- Enabled: false
45
-
46
- RSpec/MultipleExpectations:
47
- Enabled: false