unknown error: org.chromium.chrome.testshell is not installed on device emulator-5554

242 views
Skip to first unread message

akansh tayal

unread,
Jul 9, 2014, 6:26:03 AM7/9/14
to appium-...@googlegroups.com
Hi,

I am trying to start chrome browser in android simulator using Appium. Starting a native app works fine but browser is not starting. Getting the below error -

debug: Successfully cleaned up old chromedrivers
debug: Spawning chromedriver with: /home/akansh/projects/appium/build/chromedriver/linux/chromedriver
debug: [CHROMEDRIVER] Starting ChromeDriver (v2.8.240825) on port 9515
debug: Making http request with opts: {"url":"http://127.0.0.1:9515/wd/hub/session","method":"POST","json":{"sessionId":null,"desiredCapabilities":{"chromeOptions":{"androidPackage":"org.chromium.chrome.testshell","androidDeviceSerial":"emulator-5554"}}}}
error: Chromedriver create session did not work. Status was 200 and body was {"sessionId":"84c0cc82ac7bc4315ae67934d26410ba","status":13,"value":{"message":"unknown error: org.chromium.chrome.testshell is not installed on device emulator-5554\n  (Driver info: chromedriver=2.8.240825,platform=Linux 3.13.0-30-generic x86_64)"}}
debug: Cleaning up appium session
error: Failed to start an Appium session, err was: Error: Did not get session redirect from Chromedriver
debug: Error: Did not get session redirect from Chromedriver
    at null.<anonymous> (/home/akansh/projects/appium/lib/devices/android/chromedriver.js:203:12)
    at Request._callback (/home/akansh/projects/appium/lib/devices/common.js:102:5)
    at Request.self.callback (/home/akansh/projects/appium/node_modules/request/request.js:121:22)
    at Request.EventEmitter.emit (events.js:98:17)
    at Request.<anonymous> (/home/akansh/projects/appium/node_modules/request/request.js:985:14)
    at Request.EventEmitter.emit (events.js:117:20)
    at IncomingMessage.<anonymous> (/home/akansh/projects/appium/node_modules/request/request.js:936:12)
    at IncomingMessage.EventEmitter.emit (events.js:117:20)
    at _stream_readable.js:920:16
    at process._tickDomainCallback (node.js:459:13)
debug: Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: Did not get session redirect from Chromedriver)","origValue":"Did not get session redirect from Chromedriver"},"sessionId":null}
info: <-- POST /wd/hub/session 500 4724.501 ms - 214 

Please help in this regard. How can I get org.chromium.chrome.testshell installed in my emulator.

Thanks,
Akansh

Isaac Murchie

unread,
Jul 9, 2014, 1:25:24 PM7/9/14
to akansh tayal, appium-...@googlegroups.com
The Chromium docs are here: http://www.chromium.org/

You could also install a Chrome apk on the device and use that.


--
http://appium.io
---
You received this message because you are subscribed to the Google Groups "Appium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to appium-discus...@googlegroups.com.
Visit this group at http://groups.google.com/group/appium-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages