aranha-selenium 0.15.0 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 94b07e8faca6f918706a1e98afd2abb089f0d0e3878ee380fdfdde1c6d5e9341
4
- data.tar.gz: 45c4310d04c1505b74fcf4f853f961131b06c1d2c6925af48810de7faca25353
3
+ metadata.gz: 18e3bb15941d38c6c927994436a4a4df762b245ab8b3abb9b068942792491d96
4
+ data.tar.gz: 48c3891a06c7c23803cf1d638816e0c8b232739b0cfbbe71b36eac62c97b73fe
5
5
  SHA512:
6
- metadata.gz: f474b684a5acef2a985d56deb99e54347e613aea5a0f7c00bae1dad6102c1ce032e96249ad157cc79e75ee4ac0fb29c91068d97dbe3949f94a520f5b82d00186
7
- data.tar.gz: '07218203dcdd3d736424d57f6b2818e15ab8ae9271357d2b20ad98c7dfe8c5edfba9120ecc133f42e49f117a751f0e69d827f5b902aedd68c3140ab4644d794e'
6
+ metadata.gz: 5e831c4c948197ab2283e3b436a8b9228611d97bb6f67ed9c74f53378348889f25f67b5d0a6c73c9bf44bd24f43b6fafd944c4e45a0601f251e7ad538c6cd417
7
+ data.tar.gz: 23604e89db94a014707a089bdb093b8f34b7600a7ec24b5efb552422e595a5610ec18f065ae7c7629193a6b0410674eea8ec61f77aae589a2c8040c5633ac5b5
@@ -8,9 +8,12 @@ module Aranha
8
8
  module Wait
9
9
  WAIT_DEFAULT_TIMEOUT = 15
10
10
 
11
- def wait(timeout = nil)
11
+ # @param timeout [Integer, nil]
12
+ # @param options [Hash] Additional options for +Selenium::WebDriver::Wait.new+.
13
+ # @return [Selenium::WebDriver::Wait]
14
+ def wait(timeout = nil, options = {})
12
15
  timeout ||= wait_default_timeout
13
- ::Selenium::WebDriver::Wait.new(timeout: timeout)
16
+ ::Selenium::WebDriver::Wait.new(options.merge(timeout: timeout))
14
17
  end
15
18
 
16
19
  def wait_default_timeout
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Aranha
4
4
  module Selenium
5
- VERSION = '0.15.0'
5
+ VERSION = '0.16.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aranha-selenium
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
  - Esquilo Azul Company
@@ -58,7 +58,7 @@ dependencies:
58
58
  version: '0.1'
59
59
  - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: 0.1.1
61
+ version: 0.1.2
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
@@ -68,7 +68,7 @@ dependencies:
68
68
  version: '0.1'
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
- version: 0.1.1
71
+ version: 0.1.2
72
72
  - !ruby/object:Gem::Dependency
73
73
  name: eac_templates
74
74
  requirement: !ruby/object:Gem::Requirement
@@ -109,14 +109,14 @@ dependencies:
109
109
  requirements:
110
110
  - - "~>"
111
111
  - !ruby/object:Gem::Version
112
- version: '4.49'
112
+ version: '4.52'
113
113
  type: :runtime
114
114
  prerelease: false
115
115
  version_requirements: !ruby/object:Gem::Requirement
116
116
  requirements:
117
117
  - - "~>"
118
118
  - !ruby/object:Gem::Version
119
- version: '4.49'
119
+ version: '4.52'
120
120
  - !ruby/object:Gem::Dependency
121
121
  name: eac_ruby_gem_support
122
122
  requirement: !ruby/object:Gem::Requirement