Get a
webserver :-)
You cannot use the browser to run a cgi script without a server, this simply cannot be done.
The other option is to run your cgi script from the command line, on a properly configured system it should prompt you to input the key/value pairs that you would be passing via the form. If you run it like so and pipe the output to a file you can be able to load the file with the results into the webbrowser.