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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9be45cff4eee8f679be47ac85f127f5031ed9338
4
- data.tar.gz: 8d1f2adb8fdf39e2050bd909f8f6b56dec29981f
3
+ metadata.gz: 1a219bad6ca9bf33fd4d08d2ee14fabb5719774a
4
+ data.tar.gz: f3814f90a04edc8452f657332af50284d1b1ab37
5
5
  SHA512:
6
- metadata.gz: ee4d7640add30d9f0f067e0b841c0d6c488d4b740bf431f4facf2208e4f8a91fe341d82a7004fc3628297e67817b1dcef7de45b203a8e5bdad6b22ef3f5fc554
7
- data.tar.gz: 225b1e0fc62b853f1e345fc63c568622e9f9636f0fbb8b797b95f705b2172d2764b772266577d87a01001d591e614842fd4eb50929d3c8f8f3afb649edc840e4
6
+ metadata.gz: 143b1e338b7c0757b037b7c7834151d73364a83eb819de172249d207248874e771b10a01b3e6b86b872777b042c741761a99e7539340990da9f4e6d92c4268ca
7
+ data.tar.gz: 25746e1eacea33a777a84b47b92d7468258e669c03b69a8ed2934f3aa0843196f6de1f58c764ac411ecfa463ebd289126ddc6304c67ad50fc9c71201c17d2c01
data/README.md CHANGED
@@ -8,6 +8,10 @@ without having to code.
8
8
 
9
9
  Browza also supports and easily integrates with Ruby Gem *appmodel* which supports modeling (e.g. simplify pageObjects).
10
10
 
11
+ ## Installation
12
+
13
+ gem install browza
14
+
11
15
  ## APIs
12
16
 
13
17
  ### click(<locator>)
@@ -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
- + "var elementTop = arguments[0].getBoundingClientRect().top;"
814
- + "window.scrollBy(0, elementTop-(viewPortHeight/2));";
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)
@@ -1,3 +1,3 @@
1
1
  module Browza
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.3.1"
3
3
  end
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-04 00:00:00.000000000 Z
11
+ date: 2017-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler