--
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/groups/opt_out.
error: Chromedriver create session did not work. Status was 200 and body was {"s
evice HT35WW900130\n (Driver info: chromedriver=2.8,platform=Windows NT 6.1 SP1
info: Welcome to Appium v0.14.2
info: Appium REST http interface listener started on 127.0.0.1:4723info - socket.io starteddebug: Appium request initiated at /wd/hub/sessiondebug: Request received with params: {"desiredCapabilities":{"app":"chrome","device":"Android"}}info: Looks like we want chrome on android
info: Creating new appium session f6c89a7c-3f4d-40d4-86ce-b82cdfacff17info: Ensuring Chromedriver existsdebug: Pushing unlock helper app to device...debug: executing: adb install C:\Users\khushboo.kaur\Documents\AppiumForWindows-0.14.2\Appium\node_modules\appium\build\unlock_apk\unlock_apk-debug.apkdebug: executing: adb shell "dumpsys window"info: Writing dumpsys output to C:\Users\khushboo.kaur\Documents\AppiumForWindows-0.14.2\Appium\node_modules\appium\.dumpsys.logdebug: Screen already unlocked, continuing.info: Killing any old chromedriversinfo: No old chromedrivers seemed to existinfo: Spawning chromedriver with: C:\Program Files (x86)\nodejs\chromedriver.exeinfo: [CHROMEDRIVER] Starting ChromeDriver (v2.8.241075) on port 9515
info: Creating Chrome sessioninfo: Making http request with opts: {"url":"http://127.0.0.1:9515/wd/hub/session","method":"POST","json":{"sessionId":null,"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.android.chrome"}}}}
error: Chromedriver create session did not work. Status was 200 and body was {"sessionId":"730794bde3468bedc058dce9972ed044","status":100,"value":{"message":"chrome not reachable\n (Driver info: chromedriver=2.8.241075,platform=Windows NT
6.1 SP1 x86_64)"}}info: Cleaning up appium sessionerror: Failed to start an Appium session, err was: Error: Did not get session redirect from Chromedriverinfo: 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}
POST /wd/hub/session 500 52440ms - 242b
--
http://appium.io
---
You received this message because you are subscribed to a topic in the Google Groups "Appium-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/appium-discuss/XwpRvTigm00/unsubscribe.
To unsubscribe from this group and all its topics, send an email to appium-discus...@googlegroups.com.
Yes thats the AVD issue. In the edit section of the ARM emulator, you need to select 'Use Host GPU'. By this, the UI of the chrome will be shown.
Hi,
I am using the following configuration:
Appium version: 1.1.0
Chrome apk
Android Emulator:API 18
Setting the DesiredCapabilities object as follows:
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability("device","Android");
capabilities.setCapability(CapabilityType.VERSION, "4.3");
capabilities.setCapability(CapabilityType.PLATFORM, "Android");
capabilities.setCapability(CapabilityType.BROWSER_NAME, "Chrome");
driver = new AppiumDriver(new URL("http://127.0.0.1:4723/wd/hub"), capabilities);
driver.get("http://test.tibbr.com/m");
driver.manage().timeouts().implicitlyWait(90, TimeUnit.SECONDS);
When I try to run my tests..following is the server log:
nfo: Creating Chrome session
info: Ensuring Chromedriver exists
info: Killing any old chromedrivers, running: ps -e | grep /usr/local/lib/node_modules/appium/build/chromedriver/mac/chromedriver | grep -v grep |grep -e '--port=9515$' | awk '{ print $1 }' | xargs kill -15
info: Successfully cleaned up old chromedrivers
info: Spawning chromedriver with: /usr/local/lib/node_modules/appium/build/chromedriver/mac/chromedriver
info: [CHROMEDRIVER] Starting ChromeDriver (v2.9.248307) on port 9515
info: Making http request with opts: {"url":"http://127.0.0.1:9515/wd/hub/session","method":"POST","json":{"sessionId":null,"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.android.chrome","androidDeviceSerial":"emulator-5554"}}}}
info: Could not connect yet; retrying
info: Making http request with opts: {"url":"http://127.0.0.1:9515/wd/hub/session","method":"POST","json":{"sessionId":null,"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.android.chrome","androidDeviceSerial":"emulator-5554"}}}}
error: Chromedriver create session did not work. Status was 200 and body was {"sessionId":"3525c680584061f42990ab6681df2716","status":100,"value":{"message":"chrome not reachable\n (Driver info: chromedriver=2.9.248307,platform=Mac OS X 10.8.3 x86_64)"}}
info: Cleaning up appium session
error: Failed to start an Appium session, err was: Error: Did not get session redirect from Chromedriver
info: Error: Did not get session redirect from Chromedriver
at null. (/usr/local/lib/node_modules/appium/lib/devices/android/chromedriver.js:195:12)
at Request._callback (/usr/local/lib/node_modules/appium/lib/devices/common.js:104:5)
at Request.self.callback (/usr/local/lib/node_modules/appium/node_modules/request/request.js:121:22)
at Request.EventEmitter.emit (events.js:98:17)
at Request. (/usr/local/lib/node_modules/appium/node_modules/request/request.js:985:14)
at Request.EventEmitter.emit (events.js:117:20)
at IncomingMessage. (/usr/local/lib/node_modules/appium/node_modules/request/request.js:936:12)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:919:16
at process._tickCallback (node.js:419:13)
info: 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}
POST /wd/hub/session 500 75814ms - 242b
It launches the Chrome browser but is enable to fetch the URL.I have my environment system path set to chromedriver
What can be the issue here.?