Fix electron binary relative path
The relative path for Electron's binary is Contents/MacOS/Electron
This commit is contained in:
parent
9d6344704e
commit
3adcaa7681
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue