bauxite 0.5.0 → 0.6.0
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.
- checksums.yaml +4 -4
- data/Rakefile +20 -3
- data/doc/Bauxite/Action.html +92 -9
- data/doc/Bauxite/Context.html +63 -144
- data/doc/created.rid +8 -7
- data/doc/js/search_index.js +1 -1
- data/doc/table_of_contents.html +37 -37
- data/lib/bauxite/actions/capture.rb +66 -0
- data/lib/bauxite/actions/debug.rb +3 -1
- data/lib/bauxite/actions/failif.rb +8 -2
- data/lib/bauxite/actions/setif.rb +8 -4
- data/lib/bauxite/actions/test.rb +4 -3
- data/lib/bauxite/application.rb +16 -2
- data/lib/bauxite/core/context.rb +37 -88
- data/lib/bauxite.rb +1 -1
- data/test/capture/my_test.bxt +1 -0
- data/test/capture/page.html +7 -0
- data/test/capture.bxt.manual +20 -0
- data/test/debug.bxt.manual +1 -0
- data/test/failif/page.html +2 -1
- data/test/failif.bxt +1 -0
- metadata +7 -2
data/doc/Bauxite/Context.html
CHANGED
@@ -138,7 +138,7 @@
|
|
138
138
|
|
139
139
|
<li ><a href="#method-i-get_value">#get_value</a>
|
140
140
|
|
141
|
-
<li ><a href="#method-i-
|
141
|
+
<li ><a href="#method-i-print_error">#print_error</a>
|
142
142
|
|
143
143
|
<li ><a href="#method-i-reset_driver">#reset_driver</a>
|
144
144
|
|
@@ -146,8 +146,6 @@
|
|
146
146
|
|
147
147
|
<li ><a href="#method-i-stop">#stop</a>
|
148
148
|
|
149
|
-
<li ><a href="#method-i-try_exec_action">#try_exec_action</a>
|
150
|
-
|
151
149
|
<li ><a href="#method-i-with_driver_timeout">#with_driver_timeout</a>
|
152
150
|
|
153
151
|
<li ><a href="#method-i-with_timeout">#with_timeout</a>
|
@@ -421,7 +419,8 @@ href="Context.html#method-i-stop">stop</a> (defaults to <code>false</code>)</p>
|
|
421
419
|
<span class="ruby-ivar">@variables</span> = {
|
422
420
|
<span class="ruby-string">'__TIMEOUT__'</span> =<span class="ruby-operator">></span> (<span class="ruby-identifier">options</span>[<span class="ruby-value">:timeout</span>] <span class="ruby-operator">||</span> <span class="ruby-value">10</span>).<span class="ruby-identifier">to_i</span>,
|
423
421
|
<span class="ruby-string">'__DEBUG__'</span> =<span class="ruby-operator">></span> <span class="ruby-keyword">false</span>,
|
424
|
-
<span class="ruby-string">'__SELECTOR__'</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">options</span>[<span class="ruby-value">:selector</span>] <span class="ruby-operator">||</span> <span class="ruby-string">'sid'</span
|
422
|
+
<span class="ruby-string">'__SELECTOR__'</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">options</span>[<span class="ruby-value">:selector</span>] <span class="ruby-operator">||</span> <span class="ruby-string">'sid'</span>,
|
423
|
+
<span class="ruby-string">'__OUTPUT__'</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">options</span>[<span class="ruby-value">:output</span>]
|
425
424
|
}
|
426
425
|
<span class="ruby-ivar">@aliases</span> = {}
|
427
426
|
<span class="ruby-ivar">@tests</span> = []
|
@@ -433,9 +432,7 @@ href="Context.html#method-i-stop">stop</a> (defaults to <code>false</code>)</p>
|
|
433
432
|
|
434
433
|
<span class="ruby-identifier">_load_extensions</span>(<span class="ruby-identifier">options</span>[<span class="ruby-value">:extensions</span>] <span class="ruby-operator">||</span> [])
|
435
434
|
|
436
|
-
<span class="ruby-identifier">
|
437
|
-
<span class="ruby-ivar">@logger</span> = <span class="ruby-constant">Context</span><span class="ruby-operator">::</span><span class="ruby-identifier">load_logger</span>(<span class="ruby-identifier">options</span>[<span class="ruby-value">:logger</span>], <span class="ruby-identifier">options</span>[<span class="ruby-value">:logger_opt</span>])
|
438
|
-
<span class="ruby-keyword">end</span>
|
435
|
+
<span class="ruby-ivar">@logger</span> = <span class="ruby-constant">Context</span><span class="ruby-operator">::</span><span class="ruby-identifier">load_logger</span>(<span class="ruby-identifier">options</span>[<span class="ruby-value">:logger</span>], <span class="ruby-identifier">options</span>[<span class="ruby-value">:logger_opt</span>])
|
439
436
|
|
440
437
|
<span class="ruby-ivar">@parser</span> = <span class="ruby-constant">Parser</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword">self</span>)
|
441
438
|
<span class="ruby-keyword">end</span></pre>
|
@@ -482,7 +479,7 @@ href="Context.html#method-i-stop">stop</a> (defaults to <code>false</code>)</p>
|
|
482
479
|
|
483
480
|
|
484
481
|
<div class="method-source-code" id="debug-source">
|
485
|
-
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line
|
482
|
+
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line 258</span>
|
486
483
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">debug</span>
|
487
484
|
<span class="ruby-identifier">exec_action</span>(<span class="ruby-string">'debug'</span>, <span class="ruby-keyword">false</span>)
|
488
485
|
<span class="ruby-keyword">end</span></pre>
|
@@ -539,7 +536,7 @@ applies if no <code>block</code> was given).</p>
|
|
539
536
|
|
540
537
|
|
541
538
|
<div class="method-source-code" id="find-source">
|
542
|
-
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line
|
539
|
+
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line 247</span>
|
543
540
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">find</span>(<span class="ruby-identifier">selector</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>) <span class="ruby-comment"># yields: element</span>
|
544
541
|
<span class="ruby-identifier">with_timeout</span> <span class="ruby-constant">Selenium</span><span class="ruby-operator">::</span><span class="ruby-constant">WebDriver</span><span class="ruby-operator">::</span><span class="ruby-constant">Error</span><span class="ruby-operator">::</span><span class="ruby-constant">NoSuchElementError</span> <span class="ruby-keyword">do</span>
|
545
542
|
<span class="ruby-constant">Selector</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword">self</span>, <span class="ruby-ivar">@variables</span>[<span class="ruby-string">'__SELECTOR__'</span>]).<span class="ruby-identifier">find</span>(<span class="ruby-identifier">selector</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -589,7 +586,7 @@ the inner text or the value of the <code>value</code> attribute.</p>
|
|
589
586
|
|
590
587
|
|
591
588
|
<div class="method-source-code" id="get_value-source">
|
592
|
-
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line
|
589
|
+
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line 277</span>
|
593
590
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_value</span>(<span class="ruby-identifier">element</span>)
|
594
591
|
<span class="ruby-keyword">if</span> [<span class="ruby-string">'input'</span>,<span class="ruby-string">'select'</span>,<span class="ruby-string">'textarea'</span>].<span class="ruby-identifier">include?</span> <span class="ruby-identifier">element</span>.<span class="ruby-identifier">tag_name</span>.<span class="ruby-identifier">downcase</span>
|
595
592
|
<span class="ruby-identifier">element</span>.<span class="ruby-identifier">attribute</span>(<span class="ruby-string">'value'</span>)
|
@@ -632,7 +629,7 @@ the inner text or the value of the <code>value</code> attribute.</p>
|
|
632
629
|
|
633
630
|
|
634
631
|
<div class="method-source-code" id="reset_driver-source">
|
635
|
-
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line
|
632
|
+
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line 202</span>
|
636
633
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">reset_driver</span>
|
637
634
|
<span class="ruby-ivar">@driver</span>.<span class="ruby-identifier">quit</span>
|
638
635
|
<span class="ruby-identifier">_load_driver</span>
|
@@ -681,13 +678,19 @@ href="Context.html#method-i-stop">stop</a>).</p>
|
|
681
678
|
|
682
679
|
|
683
680
|
<div class="method-source-code" id="start-source">
|
684
|
-
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line
|
681
|
+
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line 178</span>
|
685
682
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">start</span>(<span class="ruby-identifier">actions</span> = [])
|
686
683
|
<span class="ruby-identifier">_load_driver</span>
|
687
684
|
<span class="ruby-keyword">return</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">actions</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">></span> <span class="ruby-value">0</span>
|
688
685
|
<span class="ruby-keyword">begin</span>
|
689
686
|
<span class="ruby-identifier">actions</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">action</span><span class="ruby-operator">|</span>
|
690
|
-
<span class="ruby-
|
687
|
+
<span class="ruby-keyword">begin</span>
|
688
|
+
<span class="ruby-identifier">exec_action</span>(<span class="ruby-identifier">action</span>)
|
689
|
+
<span class="ruby-keyword">rescue</span> <span class="ruby-constant">StandardError</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">e</span>
|
690
|
+
<span class="ruby-identifier">print_error</span>(<span class="ruby-identifier">e</span>)
|
691
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-keyword">unless</span> <span class="ruby-ivar">@options</span>[<span class="ruby-value">:debug</span>]
|
692
|
+
<span class="ruby-identifier">debug</span>
|
693
|
+
<span class="ruby-keyword">end</span>
|
691
694
|
<span class="ruby-keyword">end</span>
|
692
695
|
<span class="ruby-keyword">ensure</span>
|
693
696
|
<span class="ruby-identifier">stop</span>
|
@@ -740,7 +743,7 @@ href="Context.html#method-i-stop">stop</a> pattern.</p>
|
|
740
743
|
|
741
744
|
|
742
745
|
<div class="method-source-code" id="stop-source">
|
743
|
-
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line
|
746
|
+
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line 222</span>
|
744
747
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">stop</span>
|
745
748
|
<span class="ruby-constant">Context</span><span class="ruby-operator">::</span><span class="ruby-identifier">wait</span> <span class="ruby-keyword">if</span> <span class="ruby-ivar">@options</span>[<span class="ruby-value">:wait</span>]
|
746
749
|
<span class="ruby-ivar">@driver</span>.<span class="ruby-identifier">quit</span>
|
@@ -806,7 +809,7 @@ logger type.</p>
|
|
806
809
|
|
807
810
|
|
808
811
|
<div class="method-source-code" id="load_logger-source">
|
809
|
-
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line
|
812
|
+
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line 404</span>
|
810
813
|
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">load_logger</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">options</span>)
|
811
814
|
<span class="ruby-identifier">log_name</span> = (<span class="ruby-identifier">name</span> <span class="ruby-operator">||</span> <span class="ruby-string">'null'</span>).<span class="ruby-identifier">downcase</span>
|
812
815
|
|
@@ -848,7 +851,7 @@ logger type.</p>
|
|
848
851
|
|
849
852
|
|
850
853
|
<div class="method-source-code" id="parse_action_default-source">
|
851
|
-
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line
|
854
|
+
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line 426</span>
|
852
855
|
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">parse_action_default</span>(<span class="ruby-identifier">text</span>, <span class="ruby-identifier">file</span> = <span class="ruby-string">'<unknown>'</span>, <span class="ruby-identifier">line</span> = <span class="ruby-value">0</span>)
|
853
856
|
<span class="ruby-identifier">data</span> = <span class="ruby-identifier">text</span>.<span class="ruby-identifier">split</span>(<span class="ruby-string">' '</span>, <span class="ruby-value">2</span>)
|
854
857
|
<span class="ruby-keyword">begin</span>
|
@@ -916,7 +919,7 @@ logger type.</p>
|
|
916
919
|
|
917
920
|
|
918
921
|
<div class="method-source-code" id="wait-source">
|
919
|
-
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line
|
922
|
+
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line 397</span>
|
920
923
|
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">wait</span>
|
921
924
|
<span class="ruby-constant">Readline</span>.<span class="ruby-identifier">readline</span>(<span class="ruby-string">"Press ENTER to continue\n"</span>)
|
922
925
|
<span class="ruby-keyword">end</span></pre>
|
@@ -958,7 +961,7 @@ with the arguments specified in <code>args</code>.</p>
|
|
958
961
|
|
959
962
|
|
960
963
|
<div class="method-source-code" id="add_alias-source">
|
961
|
-
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line
|
964
|
+
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line 420</span>
|
962
965
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">add_alias</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">action</span>, <span class="ruby-identifier">args</span>)
|
963
966
|
<span class="ruby-ivar">@aliases</span>[<span class="ruby-identifier">name</span>] = { <span class="ruby-value">:action</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">action</span>, <span class="ruby-value">:args</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">args</span> }
|
964
967
|
<span class="ruby-keyword">end</span></pre>
|
@@ -1001,7 +1004,7 @@ behavior).</p>
|
|
1001
1004
|
|
1002
1005
|
|
1003
1006
|
<div class="method-source-code" id="exec_action-source">
|
1004
|
-
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line
|
1007
|
+
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line 298</span>
|
1005
1008
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">exec_action</span>(<span class="ruby-identifier">text</span>, <span class="ruby-identifier">log</span> = <span class="ruby-keyword">true</span>, <span class="ruby-identifier">file</span> = <span class="ruby-string">'<unknown>'</span>, <span class="ruby-identifier">line</span> = <span class="ruby-value">0</span>)
|
1006
1009
|
<span class="ruby-identifier">data</span> = <span class="ruby-constant">Context</span><span class="ruby-operator">::</span><span class="ruby-identifier">parse_action_default</span>(<span class="ruby-identifier">text</span>, <span class="ruby-identifier">file</span>, <span class="ruby-identifier">line</span>)
|
1007
1010
|
<span class="ruby-identifier">exec_parsed_action</span>(<span class="ruby-identifier">data</span>[<span class="ruby-value">:action</span>], <span class="ruby-identifier">data</span>[<span class="ruby-value">:args</span>], <span class="ruby-identifier">log</span>, <span class="ruby-identifier">text</span>, <span class="ruby-identifier">file</span>, <span class="ruby-identifier">line</span>)
|
@@ -1049,7 +1052,7 @@ ret.call if ret.respond_to? :call</pre>
|
|
1049
1052
|
|
1050
1053
|
|
1051
1054
|
<div class="method-source-code" id="exec_action_object-source">
|
1052
|
-
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line
|
1055
|
+
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line 506</span>
|
1053
1056
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">exec_action_object</span>(<span class="ruby-identifier">action</span>)
|
1054
1057
|
<span class="ruby-comment"># Inject built-in variables</span>
|
1055
1058
|
<span class="ruby-identifier">file</span> = <span class="ruby-identifier">action</span>.<span class="ruby-identifier">file</span>
|
@@ -1093,7 +1096,7 @@ ret.call if ret.respond_to? :call</pre>
|
|
1093
1096
|
|
1094
1097
|
|
1095
1098
|
<div class="method-source-code" id="exec_file-source">
|
1096
|
-
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line
|
1099
|
+
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line 309</span>
|
1097
1100
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">exec_file</span>(<span class="ruby-identifier">file</span>)
|
1098
1101
|
<span class="ruby-ivar">@parser</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-identifier">file</span>) <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">action</span>, <span class="ruby-identifier">args</span>, <span class="ruby-identifier">text</span>, <span class="ruby-identifier">file</span>, <span class="ruby-identifier">line</span><span class="ruby-operator">|</span>
|
1099
1102
|
<span class="ruby-identifier">exec_parsed_action</span>(<span class="ruby-identifier">action</span>, <span class="ruby-identifier">args</span>, <span class="ruby-keyword">true</span>, <span class="ruby-identifier">text</span>, <span class="ruby-identifier">file</span>, <span class="ruby-identifier">line</span>)
|
@@ -1124,15 +1127,15 @@ ret.call if ret.respond_to? :call</pre>
|
|
1124
1127
|
|
1125
1128
|
<p>Executes the specified action handling errors, logging and debug history.</p>
|
1126
1129
|
|
1130
|
+
<p>If <code>log</code> is <code>true</code>, log the action execution (default
|
1131
|
+
behavior).</p>
|
1132
|
+
|
1127
1133
|
<p>This method if part of the action execution chain and is intended for
|
1128
1134
|
advanced use (e.g. in complex actions). To execute an <a
|
1129
1135
|
href="Action.html">Action</a> directly, the <a
|
1130
1136
|
href="Context.html#method-i-exec_action">exec_action</a> method is
|
1131
1137
|
preferred.</p>
|
1132
1138
|
|
1133
|
-
<p>If <code>log</code> is <code>true</code>, log the action execution (default
|
1134
|
-
behavior).</p>
|
1135
|
-
|
1136
1139
|
<p>For example:</p>
|
1137
1140
|
|
1138
1141
|
<pre class="ruby"><span class="ruby-identifier">ctx</span>.<span class="ruby-identifier">exec_action</span> <span class="ruby-string">'open "http://www.ruby-lang.org"'</span>
|
@@ -1143,24 +1146,20 @@ behavior).</p>
|
|
1143
1146
|
|
1144
1147
|
|
1145
1148
|
<div class="method-source-code" id="exec_parsed_action-source">
|
1146
|
-
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line
|
1149
|
+
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line 328</span>
|
1147
1150
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">exec_parsed_action</span>(<span class="ruby-identifier">action</span>, <span class="ruby-identifier">args</span>, <span class="ruby-identifier">log</span> = <span class="ruby-keyword">true</span>, <span class="ruby-identifier">text</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">file</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">line</span> = <span class="ruby-keyword">nil</span>)
|
1148
|
-
<span class="ruby-identifier">
|
1149
|
-
|
1150
|
-
|
1151
|
-
|
1152
|
-
|
1153
|
-
<span class="ruby-
|
1154
|
-
<span class="ruby-constant">Readline</span><span class="ruby-operator">::</span><span class="ruby-constant">HISTORY</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">action</span>.<span class="ruby-identifier">text</span>
|
1155
|
-
<span class="ruby-identifier">exec_action_object</span>(<span class="ruby-identifier">action</span>)
|
1156
|
-
<span class="ruby-keyword">end</span>
|
1157
|
-
<span class="ruby-keyword">else</span>
|
1158
|
-
<span class="ruby-identifier">exec_action_object</span>(<span class="ruby-identifier">action</span>)
|
1151
|
+
<span class="ruby-identifier">action</span> = <span class="ruby-identifier">get_action</span>(<span class="ruby-identifier">action</span>, <span class="ruby-identifier">args</span>, <span class="ruby-identifier">text</span>, <span class="ruby-identifier">file</span>, <span class="ruby-identifier">line</span>)
|
1152
|
+
<span class="ruby-identifier">ret</span> = <span class="ruby-keyword">nil</span>
|
1153
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">log</span>
|
1154
|
+
<span class="ruby-ivar">@logger</span>.<span class="ruby-identifier">log_cmd</span>(<span class="ruby-identifier">action</span>) <span class="ruby-keyword">do</span>
|
1155
|
+
<span class="ruby-constant">Readline</span><span class="ruby-operator">::</span><span class="ruby-constant">HISTORY</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">action</span>.<span class="ruby-identifier">text</span>
|
1156
|
+
<span class="ruby-identifier">ret</span> = <span class="ruby-identifier">exec_action_object</span>(<span class="ruby-identifier">action</span>)
|
1159
1157
|
<span class="ruby-keyword">end</span>
|
1158
|
+
<span class="ruby-keyword">else</span>
|
1159
|
+
<span class="ruby-identifier">ret</span> = <span class="ruby-identifier">exec_action_object</span>(<span class="ruby-identifier">action</span>)
|
1160
1160
|
<span class="ruby-keyword">end</span>
|
1161
|
-
|
1162
|
-
|
1163
|
-
<span class="ruby-keyword">end</span>
|
1161
|
+
|
1162
|
+
<span class="ruby-identifier">ret</span>.<span class="ruby-identifier">call</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">ret</span>.<span class="ruby-identifier">respond_to?</span> <span class="ruby-value">:call</span> <span class="ruby-comment"># delayed actions (after log_cmd)</span>
|
1164
1163
|
<span class="ruby-keyword">end</span></pre>
|
1165
1164
|
</div>
|
1166
1165
|
|
@@ -1198,7 +1197,7 @@ preferred.</p>
|
|
1198
1197
|
|
1199
1198
|
|
1200
1199
|
<div class="method-source-code" id="get_action-source">
|
1201
|
-
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line
|
1200
|
+
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line 466</span>
|
1202
1201
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_action</span>(<span class="ruby-identifier">action</span>, <span class="ruby-identifier">args</span>, <span class="ruby-identifier">text</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">file</span> = <span class="ruby-keyword">nil</span>, <span class="ruby-identifier">line</span> = <span class="ruby-keyword">nil</span>)
|
1203
1202
|
<span class="ruby-keyword">while</span> (<span class="ruby-identifier">alias_action</span> = <span class="ruby-ivar">@aliases</span>[<span class="ruby-identifier">action</span>])
|
1204
1203
|
<span class="ruby-identifier">action</span> = <span class="ruby-identifier">alias_action</span>[<span class="ruby-value">:action</span>]
|
@@ -1235,11 +1234,11 @@ preferred.</p>
|
|
1235
1234
|
</div>
|
1236
1235
|
|
1237
1236
|
|
1238
|
-
<div id="method-i-
|
1237
|
+
<div id="method-i-print_error" class="method-detail ">
|
1239
1238
|
|
1240
1239
|
<div class="method-heading">
|
1241
|
-
<span class="method-name">
|
1242
|
-
class="method-args">(
|
1240
|
+
<span class="method-name">print_error</span><span
|
1241
|
+
class="method-args">(e)</span>
|
1243
1242
|
|
1244
1243
|
<span class="method-click-advice">click to toggle source</span>
|
1245
1244
|
|
@@ -1248,36 +1247,25 @@ preferred.</p>
|
|
1248
1247
|
|
1249
1248
|
<div class="method-description">
|
1250
1249
|
|
1251
|
-
<p>
|
1252
|
-
|
1253
|
-
|
1254
|
-
<p>The default behavior is to print the exception message and exit.</p>
|
1255
|
-
|
1256
|
-
<p>If the <code>:verbose</code> option is set, the exception backtrace will
|
1257
|
-
also be printed.</p>
|
1258
|
-
|
1259
|
-
<p>If the <code>break_into_debug</code> argument is <code>true</code> and the
|
1260
|
-
<code>:debug</code> option is set, the handler will break into the debug
|
1261
|
-
console instead of exiting.</p>
|
1262
|
-
|
1263
|
-
<p>If the <code>exit_on_error</code> argument is <code>false</code> the
|
1264
|
-
handler will not exit after printing the error message.</p>
|
1250
|
+
<p>Prints the specified <code>error</code> using the Logger configured and
|
1251
|
+
handling the verbose option.</p>
|
1265
1252
|
|
1266
1253
|
<p>For example:</p>
|
1267
1254
|
|
1268
|
-
<pre class="ruby"><span class="ruby-
|
1269
|
-
<span class="ruby-
|
1270
|
-
<span class="ruby-
|
1255
|
+
<pre class="ruby"><span class="ruby-keyword">begin</span>
|
1256
|
+
<span class="ruby-comment"># => some code here</span>
|
1257
|
+
<span class="ruby-keyword">rescue</span> <span class="ruby-constant">StandardError</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">e</span>
|
1258
|
+
<span class="ruby-ivar">@ctx</span>.<span class="ruby-identifier">print_error</span> <span class="ruby-identifier">e</span>
|
1259
|
+
<span class="ruby-comment"># => additional error handling code here</span>
|
1260
|
+
<span class="ruby-keyword">end</span>
|
1271
1261
|
</pre>
|
1272
1262
|
|
1273
1263
|
|
1274
1264
|
|
1275
1265
|
|
1276
|
-
<div class="method-source-code" id="
|
1277
|
-
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line
|
1278
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">
|
1279
|
-
<span class="ruby-keyword">yield</span>
|
1280
|
-
<span class="ruby-keyword">rescue</span> <span class="ruby-constant">StandardError</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">e</span>
|
1266
|
+
<div class="method-source-code" id="print_error-source">
|
1267
|
+
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line 526</span>
|
1268
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">print_error</span>(<span class="ruby-identifier">e</span>)
|
1281
1269
|
<span class="ruby-keyword">if</span> <span class="ruby-ivar">@logger</span>
|
1282
1270
|
<span class="ruby-ivar">@logger</span>.<span class="ruby-identifier">log</span> <span class="ruby-node">"#{e.message}\n"</span>, <span class="ruby-value">:error</span>
|
1283
1271
|
<span class="ruby-keyword">else</span>
|
@@ -1287,75 +1275,6 @@ handler will not exit after printing the error message.</p>
|
|
1287
1275
|
<span class="ruby-identifier">p</span> <span class="ruby-identifier">e</span>
|
1288
1276
|
<span class="ruby-identifier">puts</span> <span class="ruby-identifier">e</span>.<span class="ruby-identifier">backtrace</span>
|
1289
1277
|
<span class="ruby-keyword">end</span>
|
1290
|
-
<span class="ruby-keyword">unless</span> <span class="ruby-ivar">@variables</span>[<span class="ruby-string">'__DEBUG__'</span>]
|
1291
|
-
<span class="ruby-keyword">if</span> <span class="ruby-identifier">break_into_debug</span> <span class="ruby-keyword">and</span> <span class="ruby-ivar">@options</span>[<span class="ruby-value">:debug</span>]
|
1292
|
-
<span class="ruby-identifier">debug</span>
|
1293
|
-
<span class="ruby-keyword">elsif</span> <span class="ruby-identifier">exit_on_error</span>
|
1294
|
-
<span class="ruby-keyword">if</span> <span class="ruby-ivar">@variables</span>[<span class="ruby-string">'__RAISE_ERROR__'</span>]
|
1295
|
-
<span class="ruby-identifier">raise</span>
|
1296
|
-
<span class="ruby-keyword">else</span>
|
1297
|
-
<span class="ruby-identifier">exit</span> <span class="ruby-keyword">false</span>
|
1298
|
-
<span class="ruby-keyword">end</span>
|
1299
|
-
<span class="ruby-keyword">end</span>
|
1300
|
-
<span class="ruby-keyword">end</span>
|
1301
|
-
<span class="ruby-keyword">end</span></pre>
|
1302
|
-
</div>
|
1303
|
-
|
1304
|
-
</div>
|
1305
|
-
|
1306
|
-
|
1307
|
-
|
1308
|
-
|
1309
|
-
</div>
|
1310
|
-
|
1311
|
-
|
1312
|
-
<div id="method-i-try_exec_action" class="method-detail ">
|
1313
|
-
|
1314
|
-
<div class="method-heading">
|
1315
|
-
<span class="method-name">try_exec_action</span><span
|
1316
|
-
class="method-args">(action, args)</span>
|
1317
|
-
|
1318
|
-
<span class="method-click-advice">click to toggle source</span>
|
1319
|
-
|
1320
|
-
</div>
|
1321
|
-
|
1322
|
-
|
1323
|
-
<div class="method-description">
|
1324
|
-
|
1325
|
-
<p>Executes the specified <code>action</code> and returns <code>true</code> if
|
1326
|
-
the action succeeds and <code>false</code> otherwise.</p>
|
1327
|
-
|
1328
|
-
<p>This method is intended to simplify conditional actions that execute
|
1329
|
-
different code depending on the outcome of an action execution.</p>
|
1330
|
-
|
1331
|
-
<p>For example:</p>
|
1332
|
-
|
1333
|
-
<pre class="ruby"><span class="ruby-keyword">if</span> <span class="ruby-identifier">ctx</span>.<span class="ruby-identifier">try_exec_action</span>(<span class="ruby-identifier">action</span>, <span class="ruby-identifier">args</span>)
|
1334
|
-
<span class="ruby-comment"># => when action succeeds...</span>
|
1335
|
-
<span class="ruby-keyword">else</span>
|
1336
|
-
<span class="ruby-comment"># => when action fails...</span>
|
1337
|
-
<span class="ruby-keyword">end</span>
|
1338
|
-
</pre>
|
1339
|
-
|
1340
|
-
|
1341
|
-
|
1342
|
-
|
1343
|
-
<div class="method-source-code" id="try_exec_action-source">
|
1344
|
-
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line 572</span>
|
1345
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">try_exec_action</span>(<span class="ruby-identifier">action</span>, <span class="ruby-identifier">args</span>)
|
1346
|
-
<span class="ruby-identifier">action</span> = <span class="ruby-identifier">get_action</span>(<span class="ruby-identifier">action</span>, <span class="ruby-identifier">args</span>)
|
1347
|
-
|
1348
|
-
<span class="ruby-identifier">with_timeout</span> <span class="ruby-constant">Bauxite</span><span class="ruby-operator">::</span><span class="ruby-constant">Errors</span><span class="ruby-operator">::</span><span class="ruby-constant">AssertionError</span> <span class="ruby-keyword">do</span>
|
1349
|
-
<span class="ruby-identifier">with_vars</span>({ <span class="ruby-string">'__TIMEOUT__'</span> =<span class="ruby-operator">></span> <span class="ruby-value">0</span>}) <span class="ruby-keyword">do</span>
|
1350
|
-
<span class="ruby-keyword">begin</span>
|
1351
|
-
<span class="ruby-identifier">ret</span> = <span class="ruby-identifier">exec_action_object</span>(<span class="ruby-identifier">action</span>)
|
1352
|
-
<span class="ruby-identifier">ret</span>.<span class="ruby-identifier">call</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">ret</span>.<span class="ruby-identifier">respond_to?</span> <span class="ruby-value">:call</span>
|
1353
|
-
<span class="ruby-keyword">true</span>
|
1354
|
-
<span class="ruby-keyword">rescue</span> <span class="ruby-constant">Bauxite</span><span class="ruby-operator">::</span><span class="ruby-constant">Errors</span><span class="ruby-operator">::</span><span class="ruby-constant">AssertionError</span>
|
1355
|
-
<span class="ruby-keyword">false</span>
|
1356
|
-
<span class="ruby-keyword">end</span>
|
1357
|
-
<span class="ruby-keyword">end</span>
|
1358
|
-
<span class="ruby-keyword">end</span>
|
1359
1278
|
<span class="ruby-keyword">end</span></pre>
|
1360
1279
|
</div>
|
1361
1280
|
|
@@ -1399,7 +1318,7 @@ available <a href="Selector.html">Selector</a> strategies).</p>
|
|
1399
1318
|
|
1400
1319
|
|
1401
1320
|
<div class="method-source-code" id="with_driver_timeout-source">
|
1402
|
-
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line
|
1321
|
+
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line 382</span>
|
1403
1322
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">with_driver_timeout</span>(<span class="ruby-identifier">timeout</span>)
|
1404
1323
|
<span class="ruby-identifier">current</span> = <span class="ruby-ivar">@driver_timeout</span>
|
1405
1324
|
<span class="ruby-ivar">@driver</span>.<span class="ruby-identifier">manage</span>.<span class="ruby-identifier">timeouts</span>.<span class="ruby-identifier">implicit_wait</span> = <span class="ruby-identifier">timeout</span>
|
@@ -1448,7 +1367,7 @@ to execute the block itself.</p>
|
|
1448
1367
|
|
1449
1368
|
|
1450
1369
|
<div class="method-source-code" id="with_timeout-source">
|
1451
|
-
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line
|
1370
|
+
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line 354</span>
|
1452
1371
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">with_timeout</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">error_types</span>)
|
1453
1372
|
<span class="ruby-identifier">stime</span> = <span class="ruby-constant">Time</span>.<span class="ruby-identifier">new</span>
|
1454
1373
|
<span class="ruby-identifier">timeout</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">stime</span> <span class="ruby-operator">+</span> <span class="ruby-ivar">@variables</span>[<span class="ruby-string">'__TIMEOUT__'</span>]
|
@@ -1529,7 +1448,7 @@ to execute the block itself.</p>
|
|
1529
1448
|
|
1530
1449
|
|
1531
1450
|
<div class="method-source-code" id="action_args-source">
|
1532
|
-
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line
|
1451
|
+
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line 558</span>
|
1533
1452
|
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">action_args</span>(<span class="ruby-identifier">action</span>)
|
1534
1453
|
<span class="ruby-identifier">action</span> <span class="ruby-operator">+=</span> <span class="ruby-string">'_action'</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">_action_methods</span>.<span class="ruby-identifier">include?</span> <span class="ruby-identifier">action</span>
|
1535
1454
|
<span class="ruby-constant">Action</span>.<span class="ruby-identifier">public_instance_method</span>(<span class="ruby-identifier">action</span>).<span class="ruby-identifier">parameters</span>.<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">att</span>, <span class="ruby-identifier">name</span><span class="ruby-operator">|</span> <span class="ruby-identifier">name</span>.<span class="ruby-identifier">to_s</span> }
|
@@ -1569,7 +1488,7 @@ to execute the block itself.</p>
|
|
1569
1488
|
|
1570
1489
|
|
1571
1490
|
<div class="method-source-code" id="actions-source">
|
1572
|
-
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line
|
1491
|
+
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line 548</span>
|
1573
1492
|
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">actions</span>
|
1574
1493
|
<span class="ruby-identifier">_action_methods</span>.<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">m</span><span class="ruby-operator">|</span> <span class="ruby-identifier">m</span>.<span class="ruby-identifier">sub</span>(<span class="ruby-regexp">/_action$/</span>, <span class="ruby-string">''</span>) }
|
1575
1494
|
<span class="ruby-keyword">end</span></pre>
|
@@ -1608,7 +1527,7 @@ to execute the block itself.</p>
|
|
1608
1527
|
|
1609
1528
|
|
1610
1529
|
<div class="method-source-code" id="loggers-source">
|
1611
|
-
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line
|
1530
|
+
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line 587</span>
|
1612
1531
|
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">loggers</span>
|
1613
1532
|
<span class="ruby-constant">Loggers</span>.<span class="ruby-identifier">constants</span>.<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">l</span><span class="ruby-operator">|</span> <span class="ruby-identifier">l</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">downcase</span>.<span class="ruby-identifier">sub</span>(<span class="ruby-regexp">/logger$/</span>, <span class="ruby-string">''</span>) }
|
1614
1533
|
<span class="ruby-keyword">end</span></pre>
|
@@ -1650,7 +1569,7 @@ to execute the block itself.</p>
|
|
1650
1569
|
|
1651
1570
|
|
1652
1571
|
<div class="method-source-code" id="max_action_name_size-source">
|
1653
|
-
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line
|
1572
|
+
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line 611</span>
|
1654
1573
|
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">max_action_name_size</span>
|
1655
1574
|
<span class="ruby-identifier">actions</span>.<span class="ruby-identifier">inject</span>(<span class="ruby-value">0</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">s</span>,<span class="ruby-identifier">a</span><span class="ruby-operator">|</span> <span class="ruby-identifier">a</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">></span> <span class="ruby-identifier">s</span> <span class="ruby-operator">?</span> <span class="ruby-identifier">a</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">s</span> }
|
1656
1575
|
<span class="ruby-keyword">end</span></pre>
|
@@ -1689,7 +1608,7 @@ to execute the block itself.</p>
|
|
1689
1608
|
|
1690
1609
|
|
1691
1610
|
<div class="method-source-code" id="parsers-source">
|
1692
|
-
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line
|
1611
|
+
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line 597</span>
|
1693
1612
|
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">parsers</span>
|
1694
1613
|
(<span class="ruby-constant">Parser</span>.<span class="ruby-identifier">public_instance_methods</span>(<span class="ruby-keyword">false</span>) <span class="ruby-operator">-</span> <span class="ruby-constant">ParserModule</span>.<span class="ruby-identifier">public_instance_methods</span>(<span class="ruby-keyword">false</span>))
|
1695
1614
|
.<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">p</span><span class="ruby-operator">|</span> <span class="ruby-identifier">p</span>.<span class="ruby-identifier">to_s</span> }
|
@@ -1733,7 +1652,7 @@ custom selectors are returned.</p>
|
|
1733
1652
|
|
1734
1653
|
|
1735
1654
|
<div class="method-source-code" id="selectors-source">
|
1736
|
-
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line
|
1655
|
+
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line 573</span>
|
1737
1656
|
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">selectors</span>(<span class="ruby-identifier">include_standard_selectors</span> = <span class="ruby-keyword">true</span>)
|
1738
1657
|
<span class="ruby-identifier">ret</span> = <span class="ruby-constant">Selector</span>.<span class="ruby-identifier">public_instance_methods</span>(<span class="ruby-keyword">false</span>).<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">a</span><span class="ruby-operator">|</span> <span class="ruby-identifier">a</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">sub</span>(<span class="ruby-regexp">/_selector$/</span>, <span class="ruby-string">''</span>) }
|
1739
1658
|
<span class="ruby-keyword">if</span> <span class="ruby-identifier">include_standard_selectors</span>
|
@@ -1815,7 +1734,7 @@ with the corresponding variable value.</p>
|
|
1815
1734
|
|
1816
1735
|
|
1817
1736
|
<div class="method-source-code" id="expand-source">
|
1818
|
-
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line
|
1737
|
+
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line 632</span>
|
1819
1738
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">expand</span>(<span class="ruby-identifier">s</span>)
|
1820
1739
|
<span class="ruby-identifier">result</span> = <span class="ruby-ivar">@variables</span>.<span class="ruby-identifier">inject</span>(<span class="ruby-identifier">s</span>) <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">s</span>,<span class="ruby-identifier">kv</span><span class="ruby-operator">|</span>
|
1821
1740
|
<span class="ruby-identifier">s</span> = <span class="ruby-identifier">s</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-node">/\$\{#{kv[0]}\}/</span>, <span class="ruby-identifier">kv</span>[<span class="ruby-value">1</span>].<span class="ruby-identifier">to_s</span>)
|
@@ -1868,7 +1787,7 @@ variables is restored.</p>
|
|
1868
1787
|
|
1869
1788
|
|
1870
1789
|
<div class="method-source-code" id="with_vars-source">
|
1871
|
-
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line
|
1790
|
+
<pre><span class="ruby-comment"># File lib/bauxite/core/context.rb, line 655</span>
|
1872
1791
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">with_vars</span>(<span class="ruby-identifier">vars</span>)
|
1873
1792
|
<span class="ruby-identifier">current</span> = <span class="ruby-ivar">@variables</span>
|
1874
1793
|
<span class="ruby-ivar">@variables</span> = <span class="ruby-ivar">@variables</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">vars</span>)
|
data/doc/created.rid
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
Tue, 04 Feb 2014 12:23:08 -0300
|
2
2
|
README.md Fri, 31 Jan 2014 09:09:21 -0300
|
3
3
|
lib/bauxite/actions/js.rb Mon, 27 Jan 2014 11:02:44 -0300
|
4
4
|
lib/bauxite/actions/exec.rb Mon, 27 Jan 2014 11:02:44 -0300
|
@@ -9,20 +9,21 @@ lib/bauxite/actions/store.rb Mon, 27 Jan 2014 11:02:44 -0300
|
|
9
9
|
lib/bauxite/actions/assertv.rb Mon, 27 Jan 2014 11:02:44 -0300
|
10
10
|
lib/bauxite/actions/alias.rb Mon, 27 Jan 2014 11:02:44 -0300
|
11
11
|
lib/bauxite/actions/tryload.rb Mon, 27 Jan 2014 11:02:44 -0300
|
12
|
-
lib/bauxite/actions/test.rb
|
12
|
+
lib/bauxite/actions/test.rb Tue, 04 Feb 2014 10:28:01 -0300
|
13
13
|
lib/bauxite/actions/load.rb Mon, 27 Jan 2014 11:02:44 -0300
|
14
14
|
lib/bauxite/actions/submit.rb Tue, 28 Jan 2014 16:05:51 -0300
|
15
15
|
lib/bauxite/actions/open.rb Wed, 29 Jan 2014 09:10:40 -0300
|
16
16
|
lib/bauxite/actions/reset.rb Mon, 27 Jan 2014 11:02:44 -0300
|
17
|
+
lib/bauxite/actions/capture.rb Tue, 04 Feb 2014 11:22:36 -0300
|
17
18
|
lib/bauxite/actions/write.rb Mon, 27 Jan 2014 11:02:44 -0300
|
18
|
-
lib/bauxite/actions/failif.rb
|
19
|
-
lib/bauxite/actions/setif.rb
|
19
|
+
lib/bauxite/actions/failif.rb Tue, 04 Feb 2014 11:03:59 -0300
|
20
|
+
lib/bauxite/actions/setif.rb Tue, 04 Feb 2014 11:05:42 -0300
|
20
21
|
lib/bauxite/actions/replace.rb Mon, 27 Jan 2014 11:02:44 -0300
|
21
22
|
lib/bauxite/actions/select.rb Tue, 28 Jan 2014 16:04:12 -0300
|
22
23
|
lib/bauxite/actions/echo.rb Mon, 27 Jan 2014 11:02:44 -0300
|
23
24
|
lib/bauxite/actions/set.rb Mon, 27 Jan 2014 11:02:44 -0300
|
24
25
|
lib/bauxite/actions/params.rb Mon, 27 Jan 2014 11:02:44 -0300
|
25
|
-
lib/bauxite/actions/debug.rb
|
26
|
+
lib/bauxite/actions/debug.rb Tue, 04 Feb 2014 10:23:57 -0300
|
26
27
|
lib/bauxite/actions/return.rb Mon, 27 Jan 2014 11:02:44 -0300
|
27
28
|
lib/bauxite/actions/click.rb Mon, 27 Jan 2014 11:02:44 -0300
|
28
29
|
lib/bauxite/actions/doif.rb Mon, 03 Feb 2014 11:48:07 -0300
|
@@ -30,14 +31,14 @@ lib/bauxite/actions/source.rb Mon, 27 Jan 2014 11:02:44 -0300
|
|
30
31
|
lib/bauxite/actions/break.rb Mon, 27 Jan 2014 11:02:44 -0300
|
31
32
|
lib/bauxite/core/selector.rb Wed, 29 Jan 2014 09:10:40 -0300
|
32
33
|
lib/bauxite/core/errors.rb Mon, 27 Jan 2014 11:02:44 -0300
|
33
|
-
lib/bauxite/core/context.rb
|
34
|
+
lib/bauxite/core/context.rb Tue, 04 Feb 2014 11:05:49 -0300
|
34
35
|
lib/bauxite/core/parser.rb Tue, 28 Jan 2014 16:48:43 -0300
|
35
36
|
lib/bauxite/core/action.rb Tue, 28 Jan 2014 16:48:43 -0300
|
36
37
|
lib/bauxite/core/logger.rb Wed, 29 Jan 2014 15:46:07 -0300
|
37
38
|
lib/bauxite/parsers/default.rb Mon, 27 Jan 2014 11:02:44 -0300
|
38
39
|
lib/bauxite/parsers/html.rb Mon, 27 Jan 2014 11:02:44 -0300
|
39
40
|
lib/bauxite/parsers/csv.rb Mon, 27 Jan 2014 11:02:44 -0300
|
40
|
-
lib/bauxite/application.rb
|
41
|
+
lib/bauxite/application.rb Tue, 04 Feb 2014 10:09:38 -0300
|
41
42
|
lib/bauxite/selectors/frame.rb Wed, 29 Jan 2014 09:10:40 -0300
|
42
43
|
lib/bauxite/selectors/attr.rb Mon, 27 Jan 2014 11:02:44 -0300
|
43
44
|
lib/bauxite/selectors/sid.rb Wed, 29 Jan 2014 09:10:40 -0300
|