macOS 10.15 (Catalina): Due to the requirement from Apple that all programs must be
notarized, geckodriver will not work on Catalina if you manually
download it through another notarized program, such as Firefox.Whilst we are working on a repackaging fix for this problem, you can
find more details on how to work around this issue in the macOS
notarization section of the documentation.
You could maybe follow the workaround? I’m sorry if I misunderstood your question.
To bypass the notarization requirement on macOS if you have downloaded the geckodriver .tar.gz via a web browser, you can run the following command in a terminal:
> % xattr -r -d com.apple.quarantine geckodriver
A problem with notarization will manifest itself through a security dialogue appearing, explaining that the source of the program is not trusted.
@kristof : I tried the command and executed but it is giving me DriverConfigurationError : Could not instantiate class org.openqa.selenium.firefox.FirefoxDriver.
So I would like to check if the gecko driver works in Mac OS with the workaround?
““Could not instantiate class” is pretty much always a driver compatibility issue or a driver bug. Looks like you have an old version of geckodriver, and several incompatible versions of selenium Firefox driver.”