Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install Selenium WebDriver on Mac OS

Tags:

macos

selenium

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

like image 233
user2790794 Avatar asked Sep 18 '13 09:09

user2790794


People also ask

How do I run Chromedriver on Mac?

Unable to launch the chrome browser“, you need to go to usr/local/bin folder and right-click chromeDriver file and open it. After this step, re-run your tests, chrome driver will work. Also, you can use Bonigarcia Webdriver Manager library in your project, for this you need to add its dependency in your project.


1 Answers

Install

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

brew install selenium-server 

Running

updated -port port_number

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

For more options: selenium-server -help

like image 115
Will Avatar answered Sep 21 '22 12:09

Will