Selenium Webdriver Download Mac

Posted on

Start Firefox browser on MAC using Selenium webdriver September 3, 2016 by Mukesh Otwani 6 Comments To start Firefox browser on MAC using Selenium webdriver we have to use gecko driver which will interact with Firefox browser.In the previous post, we have already discussed how to work with Chrome on MAC using Selenium. Resolved issue 3462: For sendKeys, CMD key don't work for MAC Resolved issue 3541: Improve log between Client and ChromeDriver Resolved issue 3559: Output Chrome version when ChromeDriver reports incompatible.

  • Resolved issue 3214: ChromeDriver78: Sendkeys resets text selection with contenteditable
  • Resolved issue 3376: Remove LaunchApp command from ChromeDriver
  • Resolved issue 3432: Sometimes NavigationTracker fails to detect when the page has finished loading
  • Resolved issue 3481: New Print endpoint according to w3c spec
  • Resolved issue 3488: driver.get doesn't throw error when proxy is wrong configured
  • Resolved issue 3502: Use document.hasFocus() to check if element is focused
  • Resolved issue 3515: selenium.common.exceptions.WebDriverException: Message: unknown error: bad inspector message

To start Firefox browser on MAC using Selenium webdriver we have to use gecko driver which will interact with Firefox browser.In the previous post, we have already discussed how to work with Chrome on MAC using Selenium.

Selenium Webdriver Download

In Selenium 2 we have not used any driver for Firefox but in Selenium 3 for every browser, we have to use third party driver which will perform our task.

Webdriver

Firefox with windows is quite easy where you have to download and mention the path but here we have small change so let’s get started with firefox on MAC.

Selenium

Firefox browser on mac using Selenium webdriver

Selenium

Step 1- Download gecko driver and unzip

Download link https://github.com/mozilla/geckodriver/releases

Step 2- Keep the drivers in /usr/local/bin directory.

Selenium webdriver download

Step 3- Write your test

Program for Firefox browser on mac using Selenium webdriver