bucky-core 0.9.5 → 0.9.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/bucky/test_equipment/selenium_handler/webdriver_handler.rb +4 -4
- data/lib/bucky/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6318b2784966f181a85802df1e11a1e210e50b0b
|
4
|
+
data.tar.gz: fc4b66f02c436867ed64bc0ff41ad1f547dbb518
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45ea9c539f1004c31a65db2033ad301dcda543ba790366c30cad7258ccfa5cfe1d770bb175104d79b257cd1afea21b4577060f79a8804aa79c272d9d37921e39
|
7
|
+
data.tar.gz: 718138334a02c5cdbd780674d7fcf24218e0011449e2d3e8fbbffab62052b6074507fb2a8c824b77156264c27c8349683be4b736d49ca8879378c75d3ce0f9f6
|
data/Gemfile.lock
CHANGED
@@ -49,14 +49,14 @@ module Bucky
|
|
49
49
|
end
|
50
50
|
|
51
51
|
def set_chrome_option(device_type)
|
52
|
-
chrome_options = { 'chromeOptions' => { args: [] } }
|
52
|
+
chrome_options = { 'goog:chromeOptions' => { args: [] } }
|
53
53
|
unless device_type == 'pc'
|
54
54
|
device_type = "#{device_type}_device_name".to_sym
|
55
55
|
mobile_emulation = { 'deviceName' => @@config[:device_name_on_chrome][@@config[device_type]] }
|
56
|
-
chrome_options['chromeOptions']['mobileEmulation'] = mobile_emulation
|
56
|
+
chrome_options['goog:chromeOptions']['mobileEmulation'] = mobile_emulation
|
57
57
|
end
|
58
|
-
chrome_options['chromeOptions'][:args] << "--user-agent=#{@@config[:user_agent]}" if @@config[:user_agent]
|
59
|
-
chrome_options['chromeOptions'][:args] << '--headless' if @@config[:headless]
|
58
|
+
chrome_options['goog:chromeOptions'][:args] << "--user-agent=#{@@config[:user_agent]}" if @@config[:user_agent]
|
59
|
+
chrome_options['goog:chromeOptions'][:args] << '--headless' if @@config[:headless]
|
60
60
|
|
61
61
|
Selenium::WebDriver::Remote::Capabilities.chrome(chrome_options)
|
62
62
|
end
|
data/lib/bucky/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bucky-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- NaotoKishino
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: exe
|
15
15
|
cert_chain: []
|
16
|
-
date: 2019-05-
|
16
|
+
date: 2019-05-16 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: awesome_print
|