Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chrome: chromeDir path under MacOS #363

Closed
milkeg opened this issue Apr 12, 2017 · 2 comments
Closed

Chrome: chromeDir path under MacOS #363

milkeg opened this issue Apr 12, 2017 · 2 comments

Comments

@milkeg
Copy link
Contributor

milkeg commented Apr 12, 2017

Hello,

For Chrome, chromeDir is pointing to /usr/bin/ but since Mac OS 10.11 El Capitan, binaries installed by user are now located in /usr/local/bin/ (this is a part of Apple System Integrity Protection feature).

We applied the following workaround: chromeDir <- "/usr/local/bin/"

Error:

Unhandled Exception:
OpenQA.Selenium.DriverServiceNotFoundException: The file /usr/bin/chromedriver does not exist. The driver can be downloaded at http://chromedriver.storage.googleapis.com/index.html
  at OpenQA.Selenium.DriverService..ctor (System.String servicePath, System.Int32 port, System.String driverServiceExecutableName, System.Uri driverServiceDownloadUrl) [0x00059] in <2096f357ed27440a8e98c8a8dd645cdd>:0 
  at OpenQA.Selenium.Chrome.ChromeDriverService..ctor (System.String executablePath, System.String executableFileName, System.Int32 port) [0x00033] in <2096f357ed27440a8e98c8a8dd645cdd>:0 
  at OpenQA.Selenium.Chrome.ChromeDriverService.CreateDefaultService (System.String driverPath, System.String driverExecutableFileName) [0x00007] in <2096f357ed27440a8e98c8a8dd645cdd>:0 
  at OpenQA.Selenium.Chrome.ChromeDriverService.CreateDefaultService (System.String driverPath) [0x00006] in <2096f357ed27440a8e98c8a8dd645cdd>:0 
  at canopy.core.start (canopy.types+BrowserStartMode b) [0x00190] in <58ed6ba8d8107025a7450383a86bed58>:0 
  at <StartupCode$UITest>.$Program.main@ () [0x00132] in /Users/iMavis/Documents/Site/web-ui-tests/UITest/Program.fs:57 
[ERROR] FATAL UNHANDLED EXCEPTION: OpenQA.Selenium.DriverServiceNotFoundException: The file /usr/bin/chromedriver does not exist. The driver can be downloaded at http://chromedriver.storage.googleapis.com/index.html
  at OpenQA.Selenium.DriverService..ctor (System.String servicePath, System.Int32 port, System.String driverServiceExecutableName, System.Uri driverServiceDownloadUrl) [0x00059] in <2096f357ed27440a8e98c8a8dd645cdd>:0 
  at OpenQA.Selenium.Chrome.ChromeDriverService..ctor (System.String executablePath, System.String executableFileName, System.Int32 port) [0x00033] in <2096f357ed27440a8e98c8a8dd645cdd>:0 
  at OpenQA.Selenium.Chrome.ChromeDriverService.CreateDefaultService (System.String driverPath, System.String driverExecutableFileName) [0x00007] in <2096f357ed27440a8e98c8a8dd645cdd>:0 
  at OpenQA.Selenium.Chrome.ChromeDriverService.CreateDefaultService (System.String driverPath) [0x00006] in <2096f357ed27440a8e98c8a8dd645cdd>:0 
  at canopy.core.start (canopy.types+BrowserStartMode b) [0x00190] in <58ed6ba8d8107025a7450383a86bed58>:0 
  at <StartupCode$UITest>.$Program.main@ () [0x00132] in /Users/iMavis/Documents/Site/web-ui-tests/UITest/Program.fs:57

Thank you,
Michael

@milkeg milkeg changed the title Chromium: chromeDir under MacOS Chromium: chromeDir path under MacOS Apr 12, 2017
@milkeg milkeg changed the title Chromium: chromeDir path under MacOS Chrome: chromeDir path under MacOS Apr 12, 2017
@lefthandedgoat
Copy link
Owner

lefthandedgoat commented Apr 12, 2017

Good info. I will fix this soon.

@lefthandedgoat
Copy link
Owner

You can download these fixes in the latest nuget package. Sorry about that! https://www.nuget.org/packages/canopy/1.2.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants