File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
addOns/automation/src/main/java/org/zaproxy/addon/automation/gui Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 5656import org .zaproxy .addon .automation .AutomationProgress ;
5757import org .zaproxy .addon .automation .ExtensionAutomation ;
5858import org .zaproxy .addon .automation .tests .AbstractAutomationTest ;
59+ import org .zaproxy .addon .commonlib .ui .TabbedOutputPanel ;
5960import org .zaproxy .zap .ZAP ;
6061import org .zaproxy .zap .eventBus .Event ;
6162import org .zaproxy .zap .eventBus .EventConsumer ;
@@ -207,6 +208,11 @@ private JButton getRunPlanButton() {
207208 runPlanButton .setEnabled (false );
208209 getStopPlanButton ().setEnabled (true );
209210 ext .runPlanAsync (currentPlan );
211+ if (View .getSingleton ().getOutputPanel ()
212+ instanceof TabbedOutputPanel tabbedPanel ) {
213+ tabbedPanel .setSelectedOutputTab (ext .getOutputSource ().getName ());
214+ tabbedPanel .setTabFocus ();
215+ }
210216 });
211217 }
212218 return runPlanButton ;
You can’t perform that action at this time.
0 commit comments