Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test error with selenium-webdriver 2.48.0 #45

Closed
marco-c opened this issue Oct 19, 2015 · 1 comment
Closed

Test error with selenium-webdriver 2.48.0 #45

marco-c opened this issue Oct 19, 2015 · 1 comment

Comments

@marco-c
Copy link
Member

marco-c commented Oct 19, 2015

undefined:1178

    vlog(2, () => this + ' scheduling notifications', this);

             ^

SyntaxError: Unexpected token )

    at goog.loadModuleFromSource_ (/home/travis/build/marco-c/web-push/node_modules/selenium-webdriver/lib/goog/base.js:1123:19)

    at Object.goog.loadModule (/home/travis/build/marco-c/web-push/node_modules/selenium-webdriver/lib/goog/base.js:1085:46)

    at /home/travis/build/marco-c/web-push/node_modules/selenium-webdriver/lib/webdriver/promise.js:1:6

    at Object.exports.runInContext (vm.js:64:17)

    at Object.Context.closure.goog.retrieveAndExecModule_ (/home/travis/build/marco-c/web-push/node_modules/selenium-webdriver/_base.js:135:8)

    at <anonymous>:1:6

    at Object.exports.runInContext (vm.js:64:17)

    at Context.closure.closure.vm.createContext.CLOSURE_IMPORT_SCRIPT (/home/travis/build/marco-c/web-push/node_modules/selenium-webdriver/_base.js:104:12)

    at Object.goog.importScript_ (/home/travis/build/marco-c/web-push/node_modules/selenium-webdriver/lib/goog/base.js:879:9)

    at Object.goog.importModule_ (/home/travis/build/marco-c/web-push/node_modules/selenium-webdriver/lib/goog/base.js:900:14)

npm ERR! Test failed.  See above for more details.
@marco-c
Copy link
Member Author

marco-c commented Oct 19, 2015

Looks like since 2.48.0, selenium-webdriver needs Node.js to run with the "harmony" option (SeleniumHQ/selenium@c42999e).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant