capybara-headless_chrome 0.6.2 → 0.6.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 16260f8e62fe816ce512aa2983a46428976d9d55
4
- data.tar.gz: 76462eca89f28e2bfea02ec9f92617223b542e1d
3
+ metadata.gz: 28966406851fb6e30bb1bfbd467d9e270db55307
4
+ data.tar.gz: baabd704a8300bd5189e2fdffd02ef77a2ab9090
5
5
  SHA512:
6
- metadata.gz: bbd3cad99fbe8efe949ecb6b319c380aa49b140f7bff78477df6663cff094c279cfee3a3c3c86153ff76ba62f968b1beeb2c9a6ee551b36ec3ab4b3ef45cf3ae
7
- data.tar.gz: e75a08008046d6642a2b57390a40615c2f6f8d2eb66da5c421142d520f37f121497a7f52b8208282ed6b5c611d7de8d794cbeb989b42cdf7e3aaf93d66102586
6
+ metadata.gz: d464b91eb0c65f90c43135446268f52f5b2b0d2791dbaabd2f8309b7f8d1125fe116c85fc66f83f9e118f873428116f324ce34648cf0fc4236544b617f40cb7f
7
+ data.tar.gz: 041f8e89c0d0816a060a6ed132729b509d884881eaddae619c872fc87a2b7e6644b8f418afa88a3b3d6a5c1502db3fdf30fdeec5493cc4874dfcc6f65ee2d665
@@ -5,7 +5,7 @@ require "capybara/headless_chrome/downloads"
5
5
  # silence warning with webdrivers ~>3.9
6
6
  webdrivers_version = Gem.loaded_specs["webdrivers"].version
7
7
  if webdrivers_version >= Gem::Version.new("3.9") && webdrivers_version < Gem::Version.new("4.0")
8
- Webdrivers.cache_time = 1.day
8
+ Webdrivers.cache_time = 86400
9
9
  end
10
10
 
11
11
  module Capybara
@@ -42,6 +42,7 @@ module Capybara
42
42
  def chrome_capabilities options
43
43
  ::Selenium::WebDriver::Remote::Capabilities.chrome(
44
44
  chromeOptions: {
45
+ w3c: false,
45
46
  args: options_to_arguments(default_chrome_arguments.merge(options)),
46
47
  prefs: chrome_preferences,
47
48
  }
@@ -1,5 +1,5 @@
1
1
  module Capybara
2
2
  module HeadlessChrome
3
- VERSION = "0.6.2"
3
+ VERSION = "0.6.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capybara-headless_chrome
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micah Geisel
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-05-17 00:00:00.000000000 Z
11
+ date: 2019-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: webdrivers