vendredi 20 février 2015

Protractor elementExplorer not working, repl not appearing on windows


Vote count:

0




I'm trying to get elementExplorer working.


I'm trying the following:



node node_modules\protractor\bin\protractor .\protractor.dev.conf.js --baseUrl http://angularjs.org --elementExplorer


with the following config



/// protractor.dev.conf.js

exports.config = {
// The address of a running selenium server.
seleniumAddress: 'http://localhost:4444/wd/hub',
baseUrl: 'http://localhost:54054/',

// Capabilities to be passed to the webdriver instance.
capabilities: {
'browserName': 'chrome',
'chromeOptions': {
'args': ['show-fps-counter=true'],
'binary' : 'C:\\Users\\me\\AppData\\Local\\Chromium\\Application\\chrome.exe'
}
},

specs: ['specs/acceptance/**/*.js'],
framework: 'mocha',
onPrepare: 'specs/bootstrap-specs.js',
mochaOpts: {
reporter: "spec",
debug : true,
timeout : 4000
}
};


It loads chromium as expected but it doesnt redirect to http://angular.org and the repl never appears.


Any ideas of what could be wrong?


Note: I can execute normal tests fine


Thanks



asked 1 min ago

Mantisimo

1,115






Protractor elementExplorer not working, repl not appearing on windows

1 commentaire:

  1. What is the url that you test opens in Chrome when you executed your test ?
    I think you need to change your baseUrl from baseUrl: 'http://localhost:54054/ to baseUrl: 'http://localhost:54054/'

    RépondreSupprimer