Merge pull request #4450 from HR/patch-1

Fix electron binary relative path
This commit is contained in:
Kevin Sawicki 2016-02-11 17:00:05 -08:00
commit 03dd94d2b2

View file

@ -49,7 +49,7 @@ var driver = new webdriver.Builder()
.withCapabilities({ .withCapabilities({
chromeOptions: { chromeOptions: {
// Here is the path to your Electron binary. // Here is the path to your Electron binary.
binary: '/Path-to-Your-App.app/Contents/MacOS/Atom', binary: '/Path-to-Your-App.app/Contents/MacOS/Electron',
} }
}) })
.forBrowser('electron') .forBrowser('electron')