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.
- data/lib/bets/version.rb +1 -1
- data/lib/bets.rb +2 -0
- metadata +1 -1
data/lib/bets/version.rb
CHANGED
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}')"
|