---execution:- executor: selenium iterations: 10 scenario: script: mocha_example.jsvar assert = require('assert'), webdriver = require('selenium-webdriver'), test = require('selenium-webdriver/testing');
var driver;
test.describe('Blazedemo verification', function() { this.timeout(30000);
test.before(function () { driver = new webdriver.Builder(). withCapabilities(webdriver.Capabilities.chrome()). build(); });
test.after(function () { driver.quit(); });
test.it('selenium-mocha', function () { driver.get('http://blazedemo.com/'); driver.getTitle().then(function (title) { assert.equal(title, 'BlazeDemo'); }); });
});Hi,
There is Logs tab, which might contain remote bzt artifacts, with possible pointers in the log.
| Andrey Pohilko Chief Scientist P: +7 (909) 631-21-69 |
--
You received this message because you are subscribed to the Google Groups "codename-taurus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codename-taur...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/codename-taurus/20d44673-ef8e-4b4a-b443-7010526700e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
/home/jmeter/.bzt/selenium-taurus/mocha/node_modules/selenium-webdriver/index.js:25const chrome = require('./chrome');^^^^^SyntaxError: Use of const in strict mode. at Module._compile (module.js:439:25) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17) at require (module.js:380:17) at Object.<anonymous> (/tmp/taurus/2017-04-28_09-00-59.tmpfo87Vi/mocha_example.js:2:17) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32)
No, the issue is version of NodeJS you have. Look here for example: http://stackoverflow.com/questions/22603078/syntaxerror-use-of-const-in-strict-mode
Try using latest version of NodeJS
| Andrey Pohilko Chief Scientist P: +7 (909) 631-21-69 |
To view this discussion on the web visit https://groups.google.com/d/msgid/codename-taurus/6f640cb0-787e-4125-8d46-c42811014d8a%40googlegroups.com.
You should address BlazeMeter's issue to their
sup...@blazemeter.com
| Andrey Pohilko Chief Scientist P: +7 (909) 631-21-69 |