mini_autobot 1.1.6 → 1.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mini_autobot/page_objects/base.rb +0 -6
- data/lib/mini_autobot/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: 33b38c7dcfabf25ff5af2bb1f09814fa978ebdbf
|
4
|
+
data.tar.gz: 839db53f9ad361b1067617b79d1d91748360250e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eae0a16673a52a0d294dec16e315db759607d21901ca73b7da1d5fe08c7f2400bfa23c31adc7e0b6c965d659bcc1712ee787d75d63121c1b88de7f4dd197f8da
|
7
|
+
data.tar.gz: 2677c4d0350d3377f3308d24aba5939e82ff9cfe498c9cf71281fd51db25b018d43d2c45384651db3fc23e753b24b9209c78d445fe27e7f3cbce2c3c056329bd
|
@@ -138,13 +138,7 @@ module MiniAutobot
|
|
138
138
|
# Explicitly wait for a certain condition to be true:
|
139
139
|
# wait.until { driver.find_element(:css, 'body.tmpl-srp') }
|
140
140
|
# when timeout is not specified, default timeout 5 sec will be used
|
141
|
-
# when timeout is larger than 15, max timeout 15 sec will be used
|
142
141
|
def wait(opts = {})
|
143
|
-
if !opts[:timeout].nil? && opts[:timeout] > 15
|
144
|
-
puts "WARNING: #{opts[:timeout]} sec timeout is NOT supported by wait method,
|
145
|
-
max timeout 15 sec will be used instead"
|
146
|
-
opts[:timeout] = 15
|
147
|
-
end
|
148
142
|
Selenium::WebDriver::Wait.new(opts)
|
149
143
|
end
|
150
144
|
|
data/lib/mini_autobot/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mini_autobot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ripta Pasay
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2017-08-22 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: activesupport
|