gridium 1.1.30 → 1.1.31

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/driver.rb +7 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 213f9190dc88a67d2af81d7295c0c3c800c16d88
4
- data.tar.gz: 78f067959d4c161ff9785de978cbac955fe026bf
3
+ metadata.gz: 3702814ddf4f914fa763875aa39ba35ad129cc85
4
+ data.tar.gz: bd7dbbeea83de8f549b95ed8ea5cefd3aef080ac
5
5
  SHA512:
6
- metadata.gz: 8f57c5e9f4eb48d0cd1ca3c73679de5637a02cb081311b43e43cebd4fef62270744d1a3a95b87112a3b6c8741ccb272668e21b195fe5ffa76a8cf492bce43e8e
7
- data.tar.gz: 58273f5d07b7daa4017feed916be9f01b17d37be48a6eed00f7a5a1d8798dd0caa891956ca88e873ab8f8ed4623b8924da114e8b85210cdcc9247d435545a6e4
6
+ metadata.gz: e4791be1a169f94e8847e4667a06f8d465d4f261c17de84a9cedc10ff2a11a1aba95d5f6baad652a4ca200877e6136d2af17b829917f694b6468d736ae9d0b16
7
+ data.tar.gz: e8a55c8f126b76097f634a09820161b53719027ee70431b8018238f56aa16f9dfa0ec9708cb75e1a8d438a09db8dcadc7a2963c6e5989fd0b353c5fbaed0bc1e
data/lib/driver.rb CHANGED
@@ -353,6 +353,13 @@ class Driver
353
353
  Driver.driver.manage.delete_all_cookies
354
354
  end
355
355
 
356
+ # Raw driver send_keys to element, or to current active element
357
+ # @param [Array] args
358
+ # first arg may be an optional element, otherwise send the requested keys
359
+ def self.send_keys(*args)
360
+ Driver.driver.action.send_keys(*args).perform
361
+ end
362
+
356
363
  private
357
364
 
358
365
  def self.raw_driver
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gridium
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.30
4
+ version: 1.1.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seth Urban
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-08-14 00:00:00.000000000 Z
11
+ date: 2017-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler