Using Applescript to make selections from dropdown menu and Apply

You can use Automator instead of debugging javascript if you prefer that option.

In Automator.app you can set it up to open a new safari tab and then you can use the record feature (red button in the toolbar) to change the dropdown menu and press the button.