browza 0.0.3 → 0.0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/lib/browza/base/manager.rb +3 -3
- data/lib/browza/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: 1a219bad6ca9bf33fd4d08d2ee14fabb5719774a
|
4
|
+
data.tar.gz: f3814f90a04edc8452f657332af50284d1b1ab37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 143b1e338b7c0757b037b7c7834151d73364a83eb819de172249d207248874e771b10a01b3e6b86b872777b042c741761a99e7539340990da9f4e6d92c4268ca
|
7
|
+
data.tar.gz: 25746e1eacea33a777a84b47b92d7468258e669c03b69a8ed2934f3aa0843196f6de1f58c764ac411ecfa463ebd289126ddc6304c67ad50fc9c71201c17d2c01
|
data/README.md
CHANGED
data/lib/browza/base/manager.rb
CHANGED
@@ -809,9 +809,9 @@ class Manager
|
|
809
809
|
}
|
810
810
|
|
811
811
|
# drv.action.move_to(obj).perform
|
812
|
-
scrollElementIntoMiddle = "var viewPortHeight = Math.max(document.documentElement.clientHeight, window.innerHeight || 0);"
|
813
|
-
|
814
|
-
|
812
|
+
scrollElementIntoMiddle = "var viewPortHeight = Math.max(document.documentElement.clientHeight, window.innerHeight || 0);" +
|
813
|
+
"var elementTop = arguments[0].getBoundingClientRect().top;" +
|
814
|
+
"window.scrollBy(0, elementTop-(viewPortHeight/2));";
|
815
815
|
|
816
816
|
|
817
817
|
# drv.execute_script(scrollElementIntoMiddle, obj)
|
data/lib/browza/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: browza
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.3
|
4
|
+
version: 0.0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- H20Dragon
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|