chimp: [chimp][helper] setupBrowserAndDDP had error
chimp --ddp=http://localhost:3000 --path=./app/tests/cucumber/features
[chimp] Running...
[chimp][helper] setupBrowserAndDDP had error
{ [Error: session not created exception
from unknown error: Runtime.executionContextCreated has invalid 'context': {"auxData":{"frameId":"3267.1","isDefault":true},"id":1,"name":"","origin":"://"}]
message: 'session not created exception\nfrom unknown error: Runtime.executionContextCreated has invalid \'context\': {"auxData":{"frameId":"3267.1","isDefault":true},"id":1,"name":"","origin":"://"}',
type: 'RuntimeError',
seleniumStack:
{ status: 33,
type: 'SessionNotCreatedException',
message: 'A new session could not be created.',
orgStatusMessage: 'session not created exception\nfrom unknown error: Runtime.executionContextCreated has invalid \'context\': {"auxData":{"frameId":"3267.1","isDefault":true},"id":1,"name":"","origin":"://"}\n (Session info: chrome=54.0.2840.59)\n (Driver info: chromedriver=2.20.353124 (035346203162d32c80f1dce587c8154a1efa0c3b),platform=Mac OS X 10.11.6 x86_64) (WARNING: The server did not provide any stacktrace information)\nCommand duration or timeout: 720 milliseconds\nBuild info: version: \'2.50.1\', revision: \'d7fc91b\', time: \'2016-01-29 19:08:26\'\nSystem info: host: \'theuys-macbook-pro-2.local\', ip: \'192.168.178.17\', os.name: \'Mac OS X\', os.arch: \'x86_64\', os.version: \'10.11.6\', java.version: \'1.8.0_101\'\nDriver info: org.openqa.selenium.chrome.ChromeDriver' } }
Error: session not created exception
at Object.Future.wait (/Users/theuylimpanont/Development/part-up/node_modules/fibers/future.js:449:15)
at Object.<anonymous> (/Users/theuylimpanont/Development/part-up/node_modules/wdio-sync/build/index.js:345:27)
at initBrowser (/Users/theuylimpanont/Development/part-up/node_modules/chimp/dist/lib/chimp-helper.js:168:17)
at Object.setupBrowserAndDDP (/Users/theuylimpanont/Development/part-up/node_modules/chimp/dist/lib/chimp-helper.js:226:7)
at /Users/theuylimpanont/Development/part-up/node_modules/chimp/dist/lib/cucumberjs/hooks.js:21:24
at /Users/theuylimpanont/Development/part-up/node_modules/meteor-promise/fiber_pool.js:33:40
- - - - -
from unknown error: Runtime.executionContextCreated has invalid 'context': {"auxData":{"frameId":"3267.1","isDefault":true},"id":1,"name":"","origin":"://"}
at new RuntimeError (/Users/theuylimpanont/Development/part-up/node_modules/webdriverio/build/lib/utils/ErrorHandler.js:115:12)
at Request._callback (/Users/theuylimpanont/Development/part-up/node_modules/webdriverio/build/lib/utils/RequestHandler.js:257:39)
at Request.self.callback (/Users/theuylimpanont/Development/part-up/node_modules/webdriverio/node_modules/request/request.js:373:22)
at emitTwo (events.js:100:13)
at Request.emit (events.js:185:7)
at Request.<anonymous> (/Users/theuylimpanont/Development/part-up/node_modules/webdriverio/node_modules/request/request.js:1318:14)
at emitOne (events.js:95:20)
at Request.emit (events.js:182:7)
at IncomingMessage.<anonymous> (/Users/theuylimpanont/Development/part-up/node_modules/webdriverio/node_modules/request/request.js:1266:12)
at emitNone (events.js:85:20)
at IncomingMessage.emit (events.js:179:7)
at endReadableNT (_stream_readable.js:913:12)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 30 (12 by maintainers)
I’m running node v6.6.0, chimp v0.41.2 (w/ cucumber v1.3.0) and still getting a
pending is not defined.I followed this thread, which got rid of most of my problems, namely by bumping up the version and delivering the LC_NUMERIC env var before running. Hoping I’m missing something obvious.
I’ll add the verbatim error as well:
Had the same problem and the update to 0.41.1 helped 😃 Thanks a lot!
Sure.
Excerpt of package.json
And I am running it with
npm test@samhatoum Please reopen this issue. I am having the same problem. But in my case I am trying to run
npm testfrom the qualityfaster repository. Chimp is working fine in other project.This is the error: