webdriver 0.15.0 → 0.16.0

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
  SHA256:
3
- metadata.gz: 8b2f94764f4d9c27a059e38deebafc6d4732aa228c3f68b12a36b48c973e9cfe
4
- data.tar.gz: 700681cfaef7143e609d0e317d8a61d3fd029f9c9d87b3479e114f1f3e378333
3
+ metadata.gz: '06359ad784edfb1c36772e546118e9554b47f568809e973d7dc031feef455610'
4
+ data.tar.gz: '09181b8f4785ace66f05a9aaf093d851e3cbf12097edcb7fca6005dc5488a6f2'
5
5
  SHA512:
6
- metadata.gz: e763599fc6ba74313a37e26b67f467604f1f80ebd6bad14b9cf749a493b95ccbe53c080edd2763143ced1c2521a224c379c7606a55f9bbfc3e6571f87a06ccae
7
- data.tar.gz: be19445a04c75818c55d6f89fb880b835404046f50bc49e53997bf0ea3ff6fa8f9f3dd3f6d40cdb7eb33a589440b2a412872f79de9a89edbda147fc83ddd304e
6
+ metadata.gz: 90cb0deb1765f593d90282d18f73a7992ebe830785f98d4458c85af6684b85e27c59946999e2c49e9bf82440df5276dc362903c783787e187748fcec05f9e860
7
+ data.tar.gz: b115889e6c10a90e3cb9b1aa511ecd95c31d39a58fb38bfa4bdc03932778de786830337ffcd5ecff928e9fd0da3628a656f59b153392962ec224b86572712338
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- webdriver (0.15.0)
4
+ webdriver (0.16.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -68,6 +68,10 @@ module Webdriver
68
68
  raise Webdriver::ElementNotInteractableError.new path
69
69
  when 13
70
70
  raise Webdriver::UnknownErrorUnhandledInspectorError.new value.dig("message")
71
+ when 26
72
+ raise Webdriver::UnexpectedAlertOpen.new value.dig("message")
73
+ when 27
74
+ raise Webdriver::NoSuchAlert.new value.dig("message")
71
75
  when 28
72
76
  raise Webdriver::ScriptTimeout.new value.dig("message")
73
77
  when 1..nil
@@ -9,6 +9,10 @@ module Webdriver
9
9
  class ElementNotInteractableError < StandardError; end
10
10
  # 13
11
11
  class UnknownErrorUnhandledInspectorError < StandardError; end
12
+ # 26
13
+ class UnexpectedAlertOpen < StandardError; end
14
+ # 27
15
+ class NoSuchAlert < StandardError; end
12
16
  # 28
13
17
  class ScriptTimeout < StandardError; end
14
18
  end
@@ -1,3 +1,3 @@
1
1
  module Webdriver
2
- VERSION = "0.15.0"
2
+ VERSION = "0.16.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webdriver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matti Paksula
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-10-28 00:00:00.000000000 Z
11
+ date: 2020-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler