ios-webkit-debug-proxy gets disconnected from ipad while running tests -


i trying run test on physical ipad. using appium , webkit-ios-debug-proxy. ios-webkit-debug-proxy gets disconnected when try run tests. gives error -

invalid message _rpc_applicationupdated: <dict> <key>wirapplicationidentifierkey</key> <string>pid...</string> <key>wirisapplicationproxykey</key> <false/> <key>wirapplicationnamekey</key> ... </dict> disconnected  

i found forums, mentioned run command -

.bin/ios-webkit-debug-proxy-launcher.js -c udid -d  

from appium folder, when run command, error -

"module.js: ..throw err error: cannot find module  'underscore' @ function.module_resolvefulename (module.js:336:15) ....  

so solution not work me either.

the command above in question [.bin/ios-webkit-debug-proxy-launcher.js -c udid -d ], worked me eventually.

it wasn't working downloading ios-webkit-debug-proxy-launcher.js again github instead of looking .js file in current installation, , also, guess ports not freed previous ios_webkit_debug_proxy run. hence throwing error. in cases installation on mac, should on /use/local/lib/..

also, find , kill existing instances, worked me -

ps aux | grep portnumber 

or

ps -efl | grep ios_webkit_debug_proxy 

and

kill -9 pid 

Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -