robotok 0.0.4 → 0.0.5

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/bin/robotok +3 -1
  2. data/lib/robotok/version.rb +1 -1
  3. metadata +1 -1
data/bin/robotok CHANGED
@@ -69,6 +69,7 @@ end
69
69
  on_error do |exception|
70
70
  # Error logic here
71
71
  # return false to skip default error handling
72
+ stop()
72
73
  true
73
74
  end
74
75
 
@@ -93,7 +94,7 @@ end
93
94
 
94
95
  def data(o)
95
96
  o[:data].each do |k,v|
96
- puts "data action: #{k.to_s}"
97
+ puts "data: #{k.to_s}"
97
98
  stop() if k.to_s == "quit"
98
99
 
99
100
  elem = $driver.find_element(:xpath, v[:xpath])
@@ -162,6 +163,7 @@ def actions(args)
162
163
  puts "[#{action}] Action timeout for #{opts[:timeout][:xpath]}"
163
164
  stop()
164
165
  end
166
+ puts "action: #{action}"
165
167
  data(opts) if not opts[:data].nil?
166
168
  end
167
169
 
@@ -1,3 +1,3 @@
1
1
  module Robotok
2
- VERSION = '0.0.4'
2
+ VERSION = '0.0.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: robotok
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: