Thursday, 15 January 2015

javascript - Testacular error: Cannot start chrome -



javascript - Testacular error: Cannot start chrome -

i going through angularjs tutorials, , stuck on tutorial running testacular tests. next error:

starting testacular server (http://vojtajina.github.com/testacular) ------------------------------------------------------------------- info: testacular server started @ http://localhost:9876/ info (launcher): starting browser chrome error (launcher): cannot start chrome execvp(): no such file or directory info (launcher): trying start chrome again. error (launcher): cannot start chrome execvp(): no such file or directory info (launcher): trying start chrome again. error (launcher): cannot start chrome execvp(): no such file or directory

when search problem, there similar users have problem using windows. using linux mint.

it little problem in config files' list of browsers. should alter name of browser in configuration files under config/ directory: config/testacular.conf.js , testacular-e2e.conf.js. if using chromium browser set list of browsers 'chromium-browse', instead of 'chrome' this.:

browsers = ['chromium-browser'];

here ss of testacular.conf.js file: .

if include more 1 browser tests can add together name of other browsers installed in system:

browsers = ['chromium-browser', 'firefox'];

if not sure name of chrome browser should help in terminal:

ls /usr/bin/ | grep -i chrom

javascript jasmine karma-runner

No comments:

Post a Comment