I'm not sure it is possible unfortunately, though I'd love to be proven wrong!
I've had problems in the past doing the opposite - switching from a panel to the main document.
I've looked and the API only allows getting a
View object for an "output" panel, so it's not possible to write a plugin to switch focus to a non-output panel like the "Find Results" AFAICT (unless the panel takes the focus when it is shown, but the Find Results panel doesn't seem to do so).
my attempt at writing a plugin was:
def run(self, edit):
panel_name = self.view.window().active_panel()
if panel_name is not None:
panel = self.view.window().find_output_panel(panel_name)
if panel is not None: