Created
May 10, 2017 06:57
-
-
Save TzipporahWitty/28e651c661fd71ff75c4342ea72385ff to your computer and use it in GitHub Desktop.
appium - no browsername error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Appium] Welcome to Appium v1.6.4 | |
[Appium] Appium REST http interface listener started on 0.0.0.0:4723 | |
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"browserName":"","platformName":"android","platformVersion":"6.0.1","deviceName":"Nexus 5"}} | |
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"browserName":"","platformName":"android","platformVersion":"6.0.1","deviceName":"Nexus 5"},null,null,null,null] | |
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1494399375416 (09:56:15 GMT+0300 (Jerusalem Daylight Time)) | |
[Appium] Creating new AndroidDriver (v1.17.1) session | |
[Appium] Capabilities: | |
[Appium] browserName: '' | |
[Appium] platformName: 'android' | |
[Appium] platformVersion: '6.0.1' | |
[Appium] deviceName: 'Nexus 5' | |
[debug] [AndroidDriver] AndroidDriver version: 1.17.1 | |
[AndroidDriver] Error: The desired capabilities must include either an app, appPackage or browserName | |
at Object.wrappedLogger.errorAndThrow (../../lib/logging.js:63:13) | |
at AndroidDriver.validateDesiredCaps (../../lib/driver.js:446:11) | |
at AndroidDriver.callee$0$0$ (../../../../lib/basedriver/commands/session.js:14:8) | |
at tryCatch (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21) | |
at invoke (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37) | |
at enqueueResult (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:185:17) | |
at new Promise (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\core-js\library\modules\es6.promise.js:201:7) | |
at AsyncIterator.enqueue (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:184:12) | |
at AsyncIterator.prototype.(anonymous function) [as next] (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21) | |
at Object.runtime.async (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:209:12) | |
at AndroidDriver.callee$0$0 [as createSession] (../../../../lib/basedriver/commands/session.js:8:46) | |
at AndroidDriver.createSession$ (../../lib/driver.js:32:20) | |
at tryCatch (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21) | |
at invoke (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37) | |
at enqueueResult (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:185:17) | |
at new Promise (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\core-js\library\modules\es6.promise.js:201:7) | |
at AsyncIterator.enqueue (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:184:12) | |
at AsyncIterator.prototype.(anonymous function) [as next] (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21) | |
at Object.runtime.async (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:209:12) | |
at AndroidDriver.createSession (../../lib/driver.js:125:24) | |
at AppiumDriver.createSession$ (../../lib/appium.js:183:43) | |
at tryCatch (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21) | |
at invoke (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37) | |
at enqueueResult (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:185:17) | |
at new Promise (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\core-js\library\modules\es6.promise.js:201:7) | |
at AsyncIterator.enqueue (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:184:12) | |
at AsyncIterator.prototype.(anonymous function) [as next] (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21) | |
at Object.runtime.async (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:209:12) | |
at AppiumDriver.createSession (../../lib/appium.js:183:31) | |
at ../../../lib/basedriver/driver.js:218:24 | |
at tryCatcher (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\bluebird\js\main\util.js:26:23) | |
at Promise._settlePromiseFromHandler (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\bluebird\js\main\promise.js:510:31) | |
at Promise._settlePromiseAt (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\bluebird\js\main\promise.js:584:18) | |
at Promise._settlePromiseAtPostResolution (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\bluebird\js\main\promise.js:248:10) | |
at Async._drainQueue (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\bluebird\js\main\async.js:128:12) | |
at Async._drainQueues (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\bluebird\js\main\async.js:133:10) | |
at Immediate.Async.drainQueues [as _onImmediate] (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\bluebird\js\main\async.js:15:14) | |
at processImmediate [as _immediateCallback] (timers.js:396:17) | |
[Error: The desired capabilities must include either an app, appPackage or browserName] | |
[debug] [AndroidDriver] Shutting down Android driver | |
[debug] [AndroidDriver] Called deleteSession but bootstrap wasn't active | |
[MJSONWP] Encountered internal error running command: Error: The desired capabilities must include either an app, appPackage or browserName | |
at Object.wrappedLogger.errorAndThrow (../../lib/logging.js:63:13) | |
at AndroidDriver.validateDesiredCaps (../../lib/driver.js:446:11) | |
at AndroidDriver.callee$0$0$ (../../../../lib/basedriver/commands/session.js:14:8) | |
at tryCatch (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21) | |
at invoke (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37) | |
at enqueueResult (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:185:17) | |
at new Promise (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\core-js\library\modules\es6.promise.js:201:7) | |
at AsyncIterator.enqueue (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:184:12) | |
at AsyncIterator.prototype.(anonymous function) [as next] (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21) | |
at Object.runtime.async (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:209:12) | |
at AndroidDriver.callee$0$0 [as createSession] (../../../../lib/basedriver/commands/session.js:8:46) | |
at AndroidDriver.createSession$ (../../lib/driver.js:32:20) | |
at tryCatch (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21) | |
at invoke (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37) | |
at enqueueResult (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:185:17) | |
at new Promise (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\core-js\library\modules\es6.promise.js:201:7) | |
at AsyncIterator.enqueue (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:184:12) | |
at AsyncIterator.prototype.(anonymous function) [as next] (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21) | |
at Object.runtime.async (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:209:12) | |
at AndroidDriver.createSession (../../lib/driver.js:125:24) | |
at AppiumDriver.createSession$ (../../lib/appium.js:183:43) | |
at tryCatch (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21) | |
at invoke (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37) | |
at enqueueResult (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:185:17) | |
at new Promise (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\core-js\library\modules\es6.promise.js:201:7) | |
at AsyncIterator.enqueue (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:184:12) | |
at AsyncIterator.prototype.(anonymous function) [as next] (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21) | |
at Object.runtime.async (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:209:12) | |
at AppiumDriver.createSession (../../lib/appium.js:183:31) | |
at ../../../lib/basedriver/driver.js:218:24 | |
at tryCatcher (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\bluebird\js\main\util.js:26:23) | |
at Promise._settlePromiseFromHandler (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\bluebird\js\main\promise.js:510:31) | |
at Promise._settlePromiseAt (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\bluebird\js\main\promise.js:584:18) | |
at Promise._settlePromiseAtPostResolution (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\bluebird\js\main\promise.js:248:10) | |
at Async._drainQueue (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\bluebird\js\main\async.js:128:12) | |
at Async._drainQueues (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\bluebird\js\main\async.js:133:10) | |
at Immediate.Async.drainQueues [as _onImmediate] (C:\Users\Witty\AppData\Roaming\npm\node_modules\appium\node_modules\bluebird\js\main\async.js:15:14) | |
at processImmediate [as _immediateCallback] (timers.js:396:17) | |
[HTTP] <-- POST /wd/hub/session 500 58 ms - 215 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment