ho già iniziato un server con webdriver-manager start
, ma ottengo questo errore quando provo a fare funzionare goniometro:goniometro dà "Impossibile avviare una sessione WebDriver" errore
Using the selenium server at http://127.0.0.1:4444/wd/hub
[launcher] Running 1 instances of WebDriver
ERROR - Unable to start a WebDriver session.
C:\...\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\atoms\error.js:113
var template = new Error(this.message);
^
UnknownError: unknown error: cannot find Chrome binary
mio file di configurazione si presenta così:
exports.config = {
specs: [
'test/*.js'
],
capabilities: {
'browserName': 'chrome'
},
seleniumAddress: 'http://127.0.0.1:4444/wd/hub'
};
Ho anche provato a puntare al binario nell'oggetto delle funzionalità e ad aggiungere chiavi chromeDriver e seleniumServerJar senza alcun risultato. Qualche idea?
Grazie! Stavo cercando di mettere "binario" un livello al di sotto delle "capacità" ... non sapevo che avrebbe dovuto essere in "chromeOptions" – cgsd