
Step 12: Where Is Chromedriver Installed On Mac?ĬhromeDriver is installed in the following location on Mac: /usr/local/bin/chromedriveĬhromeDriver expects Chrome to be installed in the default location on your device. tProperty(“”, “/path/to/chromedriver”) WebDriver driver = new ChromeDriver() Step 11: Now, you can use the driver to automate your web application. For that, you need to specify the path to the driver. WebDriver Step 10: In the next step, you need to instantiate the driver.

The first thing you need to do is to import the WebDriver class. Step 9: Now, you can start writing your code. Step 8: Once you have downloaded the driver, unzip it and place it in your project’s directory. For that, you need to go to Selenium’s website and download the driver for your browser.

Step 7: The first thing you need to do is to set up the driver. Step 6: Now that you have added the selenium-java dependency, you can start writing your code. For that, go to File -> Project Structure -> Libraries -> + -> From Maven… Step 5: In the search field, type selenium-java and select the latest version.

Step 4: In the next step, you need to add the selenium-java dependency to your project. Step 3: Once you have installed IntelliJ IDEA, launch it and create a new project. You can download it from the official website. Step 2: The next step is to install IntelliJ IDEA. You can either install it from Oracle’s website or using Homebrew. Step 1: The first step is to install Java on your Mac. Install Selenium WebDriver Now let us see how to install selenium webdriver on Mac OS step by step.It is used to install selenium webdriver on Mac OS. WebDriver is an interface that enables a programmer to interact with browsers.

Selenium is a free open source testing tool which is used for automating web-based applications.
