meglish 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/meglish.rb +3 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0ca0dbaf57a97f3ec6cb675d7ddf1983d9d52f5c
|
4
|
+
data.tar.gz: 3dbe4afbac5135adae1c917f31e48271da80a352
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6dee908f01fea0305f6c5760e9bc21a1174fae4366597470dd9fd12588954e5d047bf65162264193065ba27571fabd1ff37e0d652d5ff0b81f92338130d6d62
|
7
|
+
data.tar.gz: c029f53b6d588f275c5cd556d4a37c4bb9e508948db05bfc99441801fa0e183e7a1dbddf301e6de7c170583066b00a09429a7de6b226136a2d0b95e8ecde40a6
|
data/lib/meglish.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'meglish-log'
|
2
|
+
|
1
3
|
module Meglish
|
2
4
|
MELGISH_CONDITIONS = {
|
3
5
|
clear_text: true,
|
@@ -28,7 +30,7 @@ module Meglish
|
|
28
30
|
def find_element_on_screen(_query, _options = {})
|
29
31
|
_query = include_all(_query, _options)
|
30
32
|
MeglishLog.new.log(_query)
|
31
|
-
wait_for_element_exists(_query, get_option(:timeout, _options))
|
33
|
+
wait_for_element_exists(_query, timeout: get_option(:timeout, _options))
|
32
34
|
sleep 0.5
|
33
35
|
scroll_to_element(_query, _options)
|
34
36
|
end
|