Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am trying to run the selenium server and in the instructions it is said that the server assumes that Chrome is located at /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome.

  1. How do I check that it is actually located there? Because when I go to my application folder, I see that my Chrome is located at /Applications/Google Chrome.app

  2. How do I move it to that location (/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome)?

The problem is that when I am running the selenium test now, it opens Firefox instead of Chrome. So figure the problem is in the above path.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

So figure the problem is in the above path

No. Google Chrome.app is the application package for Google Chrome. It contains one executable file, which is under Google Chrome.app/Contents/MacOS/Google Chrome.

This file is really opened by OS X when you start Google Chrome.

enter image description here

If Firefox is opened automatically, I presume it's set as the system wide default browser. Just go to Google Chrome's preferences and set it as the default browser. Or, as this answer suggests, to specifiy googlechrome from Selenium.

You really seem to be having an XY problem.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.