teber-library 0.1.2 → 0.1.3

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
  SHA256:
3
- metadata.gz: 9f5c85a1e07fecde48f92e715bd3621bf4ea3e9026d120a02f3170bf007c5bd3
4
- data.tar.gz: 11943ed30197cd31a2ab59b64929e908e6ed10faf0128e04b974c58057cdf21c
3
+ metadata.gz: 6efad633c26631a0718cd675c090b9d9b66aeb9f04bcb0866f2d2ac1c0aad49f
4
+ data.tar.gz: 2ba782b089dc4c470eab7d8452e87faaf52cdecacf87e015b34a878fdb61f424
5
5
  SHA512:
6
- metadata.gz: 0c151fb4ab644cdb6b0355ecd41addf14edf3bfeef98a6cc3f28b3e2051935c60992e27216a8b7d371c9a8a37fe9655d0f6178a2dea206d0e421456af78154a5
7
- data.tar.gz: bdacab6a4ea3ca893c74e3e9795b52ab7341d27e0e6879b265dfdf4bcfb4da67a049da2f3c039e54d5ee107f4cee5a1939821a71c90fea78288f11fe363fea9f
6
+ metadata.gz: 95e88e5f044a8b01e9f82bcc200a7838edc125f2cc63a9ab92102df84119d0593d64beea9a041ed4d77da3c9efd57c293419a81d4494e7f93a487762a227dc66
7
+ data.tar.gz: 4e947f7afaa371f93f73f6de151a621368bd00037114261b94c68b7961d732f510edde8894cd5b3c27c8a6ac7c4bd4353e1a0710cd84236817eec6549f62bc26
data/lib/teber/locator.rb CHANGED
@@ -66,6 +66,10 @@ module Teber
66
66
  index += 1
67
67
  end
68
68
  end
69
+
70
+ def scroll_to_locator(driver = $focus_driver)
71
+ $focus_driver.scroll_to_locator(self)
72
+ end
69
73
 
70
74
  def hash(driver = $focus_driver)
71
75
  driver.find_element(self).hash
data/lib/teber/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Teber
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: teber-library
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Naresh Sekar