How to install Selenium WebDriver on Mac OS

How to install Selenium WebDriver on Mac OS X 10.7.5, supporting Chrome, Firefox and Safari? What I need to install, where to install.

+51
selenium macos
Sep 18 '13 at 9:36 on
source share
5 answers

Install

If you are using homebrew (which I recommend), you can install selenium using:

brew install selenium-server-standalone 

Launch

updated -port port_number

To start selenium, run: selenium-server -port 4444

Additional options: selenium-server -help

+109
Feb 21 '15 at 0:40
source share

Mac already has Python and a package manager named easy_install , so open Terminal and type

 sudo easy_install selenium 
+22
May 31 '14 at 14:36
source share

To use the java -jar selenium-server-standalone-2.45.0.jar command-line java -jar selenium-server-standalone-2.45.0.jar , you need to install the JDK. You need to download and install the JDK and standalone selenium server.

+2
Apr 6 '15 at 20:48
source share

First you need to download the Selenium jar files from http://www.seleniumhq.org/download/ . Then you need an IDE, something like IntelliJ or Eclipse. Then you will need to map your jar files to these IDEs. Then, depending on which language / framework you choose, you will need to download the appropriate library files, for example, if you use JUnit, you will have to download the Junit 4.11 jar file. Finally, be sure to download drivers for Chrome and Safari (the firefox driver comes with selenium). After that, you can start coding and testing your code using the browser of your choice.

+1
Nov 07 '13 at 16:04
source share

Not sure which language you are using. But it will help you get started with Python and Firefox.

http://damien.co/resources/how-to-install-selenium-2-mac-os-x-python-7391

0
Sep 18 '13 at 11:31 on
source share