If you want to check if a browser process is running, you can use the "{PROCESSEXISTS:}" token.
E.G.
Set Text [~browserProcess] to 'firefox'
Begin Text Compare : [{PROCESSEXISTS:~browserProcess}] Does Not Equal '1'
Run application 'firefox'
End Condition