iamblackheat
iamblackheat
the content of conf.js // conf.js exports.config = { seleniumAddress: 'http://127.0.0.1:4444/wd/hub', specs: ['spec.js'], capabilities: { browserName: 'chrome', chromeOptions: { binary: 'C:/Program Files (x86)/Google/Chrome/Application/chrome.exe', args: [], extensions: [], } } };
I just use this tutorial to pratice http://angular.github.io/protractor/#/tutorial and the content of spec.js // spec.js describe('angularjs homepage', function() { it('should have a title', function() { browser.get('http://juliemr.github.io/protractor-demo/'); ``` expect(browser.getTitle()).toEqual('Super Calculator'); ```...
I guess the problem lies in chromedriver or chrome.exe. But it should be no wrong in chromedriver as it is downloaded by webdriver-manager.
where is the chrome.exe in your machine? and what OS do you have?
I try to use --troubleshoot but it is not accepted. C:\Users\doncui\protractor_test>protractor --troubleshoot conf.js **you must either specify a configuration file or at least 3 options. See below for the options:...
C:\Users\doncui\protractor_test>protractor --troubleshoot true conf.js DEBUG - Running with --troubleshoot DEBUG - Protractor version: 1.8.0 DEBUG - Your base url for tests is undefined Using the selenium server at http://127.0.0.1:4444/wd/hub [launcher]...
The path is correct. I can run firefox and IE successfully. Br/Dongbo 2015-03-17 0:18 GMT+01:00 Julie Ralph [email protected]: > I'm guessing this is an issue with where your Chrome binary...