appium / appium

Cross-platform automation framework for all kinds of apps, built on top of the W3C WebDriver protocol
http://appium.io/
Apache License 2.0
18.97k stars 6.08k forks source link

Unable to get the elements from Appium inspector #2272

Closed manikandangm closed 10 years ago

manikandangm commented 10 years ago

Hi,

Whenever I click the refresh button , simulator get terminated. Here is the screenshot for your reference :: http://screencast.com/t/vtGN2fCre

Appium logs:

debug: Request received with params: {} debug: Sending command to instruments: target.frontMostApp().getPageSource()

info: [INSTSERVER] Sending command to instruments: target.frontMostApp().getPageSource()

debug: [REMOTE] Receiving data from remote debugger

debug: [REMOTE] {"selector":"_rpc_applicationDisconnected:","argument":{"WIRApplicationIdentifierKey":"com.flipkart.Flipkart-eBooks","WIRApplicationNameKey":"Flipkart eBooks","WIRIsApplicationProxyKey":false}}

info: [INST] 2014-04-07 10:48:33 +0000 Debug: target.setDeviceOrientation("1") 2014-04-07 10:48:52 +0000 Debug: target.captureRectWithName("{origin:{x:0.00,y:0.00}, size:{height:568.00,width:320.00}}", "screenshotf4b2364e-ddc3-4233-9c05-45609bf8dae5") 2014-04-07 10:48:52 +0000 Screenshot captured. 2014-04-07 10:49:25 +0000 Error: Script threw an uncaught JavaScript error: Error getting next command, shutting down :-( on line 71 of bootstrap.js 2014-04-07 10:49:25 +0000 Stopped: Script was stopped by the user Instruments Trace Complete (Duration : 92.582947s; Output : /Applications/Appium.app/Contents/Resources/node_modules/appium/instrumentscli4.trace)

Thanks in advance.

jlipps commented 10 years ago

This should be fixed in the next release with better screenshot handling.

lock[bot] commented 5 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.