I'm trying to open Safari (on OS X 10.8) from the terminal by executing the following:
open -a /Applications/Safari --args "http://www.example.com"
Safari opens and tries to navigate to the url:
Is there a way to get Safari to open up the browser at the specified url?
Note: I can't do
open http://www.example.com because I can't be guaranteed that the Safari is the default browser. (And before I'm asked why I'm not using the default browser - I'm doing browser specific test automation.)