rudra 1.1.5 → 1.1.6

This diff has not been reviewed by any users.
Log in in order to be able to vote.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rudra.rb +5 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 27e45015364b99148e3e92162d6069446d7b711745d660089661d14ce1da5113
4
- data.tar.gz: c9fb052da4d604b1247440f1ce660b31c0cbeb67d20cad5c0c90bc481a5805cd
3
+ metadata.gz: dd2c656d270051d403273294621ca5d21a9986b63ac082165d2453025e77abcf
4
+ data.tar.gz: 70eca0978aba2ee93fec2077e7999acf492b1083812d99ade02efc475a684ff7
5
5
  SHA512:
6
- metadata.gz: a8213217762733881e6249e7e5f23c380ff88ea6b4378a2b495792f8838327dee6f6de1ed4c940f0742b09da9c7357a69352652047da038deb2c81baaaed335c
7
- data.tar.gz: 56d3540043140a8c1c2ed1b00e1fd16e4ec7521956670a9a158455b5881b49628de0c30fc48f5f0b0bb182850462efb742954b3e0409ad47758ebaaac43b4716
6
+ metadata.gz: 1aa0e5fb07ad8b52d7e459bab2786f1a244a83cefa93ed41226dbbd58724e57c1e367b29aa425c85e52201595f36f02293d2c1edcfadecb96282437aada12aad
7
+ data.tar.gz: 47ef76f3d85928a7ba445a69d8e62a382db233f128cbc002e6c8a074b607b105a5a4b0043567156368103bf05d319041bf2789c35b3dc32c8b10775264bdedad
@@ -1280,10 +1280,14 @@ class Rudra
1280
1280
  def chrome_options
1281
1281
  options = Selenium::WebDriver::Chrome::Options.new
1282
1282
  options.add_argument('--disable-notifications')
1283
+ options.add_argument('--ignore-ssl-errors=yes')
1284
+ options.add_argument('--ignore-certificate-errors')
1285
+
1283
1286
  if headless
1284
1287
  options.add_argument('--headless')
1285
1288
  options.add_argument("--window-size=#{window_size}")
1286
1289
  end
1290
+
1287
1291
  if auth_username
1288
1292
  if headless
1289
1293
  $stdout.puts('Basic Access Authentication Extension cannot be installed while headless')
@@ -1292,6 +1296,7 @@ class Rudra
1292
1296
  options.add_encoded_extension(encoded)
1293
1297
  end
1294
1298
  end
1299
+
1295
1300
  options.add_option(
1296
1301
  'excludeSwitches',
1297
1302
  %w[enable-automation enable-logging]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rudra
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.5
4
+ version: 1.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Chen