bets 0.0.10 → 0.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/lib/bets/version.rb +1 -1
  2. data/lib/bets.rb +2 -0
  3. metadata +1 -1
data/lib/bets/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Bets
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
3
3
  end
data/lib/bets.rb CHANGED
@@ -119,6 +119,8 @@ module Bets
119
119
  end
120
120
  def ff_click(browser, str)
121
121
  instance_eval "@browsers[:#{browser}].wait_until{@browsers[:#{browser}].#{str}.exists?};@browsers[:#{browser}].#{str}.click"
122
+ rescue Exception => error
123
+ puts "Ошибка нажаимя #{str}: #{error}"
122
124
  end
123
125
  def ff_set(browser, str, value)
124
126
  instance_eval "@browsers[:#{browser}].wait_until{@browsers[:#{browser}].#{str}.exists?};@browsers[:#{browser}].#{str}.set('#{value}')"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: