Delete Mobile Safari Browser Cookies using Appium for IPAD and IPHONE real devices.

1,551 views
Skip to first unread message

ramu boj

unread,
Jul 1, 2014, 4:43:02 AM7/1/14
to appium-...@googlegroups.com
Hi All,

I am facing issue while automation mobile safari through Appium.

"Here am unable to delete safari browser cookies ."

Please do the needful..!

Thanks,

Cheers,
-Ram

Isaac Murchie

unread,
Jul 1, 2014, 12:47:44 PM7/1/14
to ramu boj, appium-...@googlegroups.com
What are you doing when this happens? What is in the Appium server logs?


--
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.

ramu boj

unread,
Jul 1, 2014, 1:13:17 PM7/1/14
to appium-...@googlegroups.com, ram...@gmail.com
Thanks for quick reply,

While running the scripts on IOS real devices mobile safari,scripts demands to delete the cookies for each run.

Here am using Appium,I didn't get any solution how to delete the cookies before launch of mobile safari.

For other environment : 
WIN+Firefox,Chrome browser using -- driver.manager.deleteAllCookies();
MAC+Safari --- using shell script triggering.  
ANDROID+CHROME-- driver.manager.deleteAllCookies();

IPAD/IPHONE+ mobile safari---- ?

 

Regards,
-R

Isaac Murchie

unread,
Jul 1, 2014, 1:19:07 PM7/1/14
to ramu boj, appium-...@googlegroups.com
Does anything happen in the Appium server logs? 

ramu boj

unread,
Jul 1, 2014, 1:25:36 PM7/1/14
to appium-...@googlegroups.com, ram...@gmail.com
I tried to use -- driver.manager.deleteAllCookies();

at Appium server log ,I didn't seen any thing...!!

Regards,
-R

Isaac Murchie

unread,
Jul 1, 2014, 1:30:32 PM7/1/14
to ramu boj, appium-...@googlegroups.com
Can you still post it? 

Ram

unread,
Jul 2, 2014, 2:37:26 AM7/2/14
to appium-...@googlegroups.com, ram...@gmail.com
Hi  Isaac, here follows the appium server log....

===========================================================================================================================
Me-MacBook-Air:~ me$ info: Welcome to Appium v1.1.0 (REV e433bbc31511f199287db7724e1ce692bcb32117)
info: Appium REST http interface listener started on 0.0.0.0:4723
info: socket.io started
debug: Appium request initiated at /wd/hub/session
debug: Request received with params: {"desiredCapabilities":{"app":"safari","safariIgnoreFraudWarning":"false","autoAcceptAlerts":"false","deviceName":"iPad Simulator","browserName":"iOS"}}
info: Configuring Safari session
info: Trying to use mobile safari, version null
info: Looking for built in app MobileSafari
info: Got app, trying to move /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/Applications/MobileSafari.app to tmp dir
info: Copied MobileSafari to /tmp/Appium-MobileSafari.app
info: Temporarily deleted original app at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/Applications/MobileSafari.app
info: Using mobile safari app at /tmp/Appium-MobileSafari.app
info: Cleaning mobile safari data files
info: Determining current user
info: User is me
info: Deleting /Users/me/Library/Application\ Support/iPhone\ Simulator/7.1-64/Library/Caches/Snapshots/com.apple.mobilesafari
info: Deleting /Users/me/Library/Application\ Support/iPhone\ Simulator/7.1-64/Library/Caches/com.apple.mobilesafari/Cache.db*
info: Deleting /Users/me/Library/Application\ Support/iPhone\ Simulator/7.1-64/Library/Caches/com.apple.WebAppCache/*.db
info: Deleting /Users/me/Library/Application\ Support/iPhone\ Simulator/7.1-64/Library/Safari/*.plist
info: Deleting /Users/me/Library/Application\ Support/iPhone\ Simulator/7.1-64/Library/WebKit/LocalStorage/*.*
info: Deleting /Users/me/Library/Application\ Support/iPhone\ Simulator/7.1-64/Library/Library/WebKit/GeolocationSites.plist
info: Deleting /Users/me/Library/Application\ Support/iPhone\ Simulator/7.1-64/Library/Cookies/*.binarycookies
info: Deleting /Users/me/Library/Application\ Support/iPhone\ Simulator/7.1/Library/Caches/Snapshots/com.apple.mobilesafari
info: Deleting /Users/me/Library/Application\ Support/iPhone\ Simulator/7.1/Library/Caches/com.apple.mobilesafari/Cache.db*
info: Deleting /Users/me/Library/Application\ Support/iPhone\ Simulator/7.1/Library/Caches/com.apple.WebAppCache/*.db
info: Deleting /Users/me/Library/Application\ Support/iPhone\ Simulator/7.1/Library/Safari/*.plist
info: Deleting /Users/me/Library/Application\ Support/iPhone\ Simulator/7.1/Library/WebKit/LocalStorage/*.*
info: Deleting /Users/me/Library/Application\ Support/iPhone\ Simulator/7.1/Library/Library/WebKit/GeolocationSites.plist
info: Deleting /Users/me/Library/Application\ Support/iPhone\ Simulator/7.1/Library/Cookies/*.binarycookies
info: Creating new appium session 25c6104f-f29b-4db1-bcaf-d32e4290f1d7
info: Removing any remaining instruments sockets
info: Cleaned up instruments socket /tmp/instruments_sock
info: Cleaning up any tracedirs
info: Cleaned up /usr/local/lib/node_modules/appium/instrumentscli0.trace
info: Setting Xcode folder
info: Setting Xcode version
info: Setting iOS SDK Version
info: iOS SDK Version set to 7.1
info: Detecting automation tracetemplate
info: Not auto-detecting udid, running on sim
warn: Could not parse plist file at /tmp/Appium-MobileSafari.app/en.lproj/Localizable.strings
info: Not setting locale
debug: Creating instruments
info: Setting iOS and app preferences
warn: Could not find MobileSafari in sim applications at /Users/me/Library/Application Support/iPhone Simulator/7.1/Applications
info: Setting fraudulent website warning to false
info: Updating settings for mobileSafari
warn: Could not find MobileSafari in sim applications at /Users/me/Library/Application Support/iPhone Simulator/7.1/Applications
info: Getting current settings for mobileSafari from /Users/me/Library/Application Support/iPhone Simulator/7.1-64/Applications/F48D5BC8-A47A-4A42-836F-4C4C26CB3CC3/Library/Preferences/com.apple.mobilesafari.plist
info: Writing settings for mobileSafari to /Users/me/Library/Application Support/iPhone Simulator/7.1-64/Applications/F48D5BC8-A47A-4A42-836F-4C4C26CB3CC3/Library/Preferences/com.apple.mobilesafari.plist:
info: {"DidMigrateYouTubeBookmarks":true,"WebKitDiskImageCacheSavedCacheDirectory":"","WebDatabaseDirectory":"/Users/me/Library/Application Support/iPhone Simulator/7.1-64/Applications/F48D5BC8-A47A-4A42-836F-4C4C26CB3CC3/Library/WebKit/Databases","WebKitShrinksStandaloneImagesToFit":true,"DidImportBuiltinBookmarks":true,"SearchEngineConfigLastSpamDate":"2014-07-02T05:56:44.423Z","WebKitOfflineWebApplicationCacheEnabled":true,"WebKitTelephoneParsingEnabledPreferenceKey":true,"WebKitCacheModelPreferenceKey":2,"WebKitAllowCompositingLayerVisualDegradation":true,"WebKitLocalStorageDatabasePathPreferenceKey":"/Users/me/Library/Application Support/iPhone Simulator/7.1-64/Applications/F48D5BC8-A47A-4A42-836F-4C4C26CB3CC3/Library/WebKit/LocalStorage","WebKitLocalStorageEnabledPreferenceKey":true,"WebKitStorageTrackerEnabledPreferenceKey":true,"CaptiveLandingPageGeneration":0,"WarnAboutFraudulentWebsites":false}
info: Starting iOS 7.* simulator log capture
info: Killing the simulator process
info: Killing any other simulator daemons
debug: Checking whether instruments supports our device string
info: Getting list of devices instruments supports
info: Instruments is at: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments
info: Not deleting simulator apps since we need to update their plists before launch
info: Not installing to real device since we're on sim
debug: Starting instruments
info: Instruments is at: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments
info: [INSTSERVER] Instruments socket server started at /tmp/instruments_sock
info: Instruments device was changed from:" iPad - Simulator - iOS 7.1 " to:" iPad Retina (64-bit) - Simulator - iOS 7.1"
info: Attempting to run app on iPad Retina (64-bit) - Simulator - iOS 7.1
info: Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate -w iPad Retina (64-bit) - Simulator - iOS 7.1 /tmp/Appium-MobileSafari.app -e UIASCRIPT /usr/local/lib/node_modules/appium/node_modules/appium-uiauto/uiauto/bootstrap.js -e UIARESULTSPATH /tmp/appium-instruments
info: And extra without-delay env: {"DYLD_INSERT_LIBRARIES":"/usr/local/lib/node_modules/appium/node_modules/appium-instruments/thirdparty/iwd/InstrumentsShim.dylib","LIB_PATH":"/usr/local/lib/node_modules/appium/node_modules/appium-instruments/thirdparty/iwd"}
info: And launch timeouts (in ms): {"global":90000}
info: [INST STDERR] 2014-07-02 11:28:34.360 ScriptAgent[39928:2f07] CLTilesManagerClient: initialize, sSharedTilesManagerClient

info: [INST STDERR] 2014-07-02 11:28:34.361 ScriptAgent[39928:2f07] CLTilesManagerClient: init

info: [INST STDERR] 2014-07-02 11:28:34.361 ScriptAgent[39928:2f07] CLTilesManagerClient: reconnecting, 0x10b05e170

info: [INST] 2014-07-02 05:58:34 +0000 Start: Bootstrapping uiauto
       
info: [INST] 2014-07-02 05:58:34 +0000 Start: Got user: me
       
info: [INST] 2014-07-02 05:58:34 +0000 Start: Not using settings file.
       
info: [INST] 2014-07-02 05:58:34 +0000 Start: isVerbose:false
       
info: [INST] 2014-07-02 05:58:34 +0000 Start: Using node at: /usr/local/bin/node
       
info: [INSTSERVER] Instruments is ready to receive commands
info: Instruments launched. Starting poll loop for new commands.
info: Copying app back to its original place
info: [INSTSERVER] Socket data received (15 bytes)
info: [INSTSERVER] Socket data being routed for 'cmd' event
info: Setting bootstrap config keys/values
info: Pushing command to appium work queue: "setBootstrapConfig: autoAcceptAlerts=false"
debug: Sending command to instruments: setBootstrapConfig: autoAcceptAlerts=false
info: [INSTSERVER] Sending command to instruments: setBootstrapConfig: autoAcceptAlerts=false
info: [INSTSERVER] Socket data received (48 bytes)
info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":""}
info: Setting initial orientation to PORTRAIT
info: Pushing command to appium work queue: "au.setScreenOrientation('PORTRAIT')"
debug: Sending command to instruments: au.setScreenOrientation('PORTRAIT')
info: [INSTSERVER] Sending command to instruments: au.setScreenOrientation('PORTRAIT')
info: [INST] 2014-07-02 05:58:35 +0000 Debug: target.setDeviceOrientation("1")
       
info: [INSTSERVER] Socket data received (56 bytes)
info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":"PORTRAIT"}
info: We're on iOS7 simulator: clicking apple button to get into a webview
info: Pushing command to appium work queue: "au.mainApp().getTreeForXML()"
debug: Sending command to instruments: au.mainApp().getTreeForXML()
info: [INSTSERVER] Sending command to instruments: au.mainApp().getTreeForXML()
info: [INSTSERVER] Socket data received (7703 bytes)
info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":"{\"UIAApplication\":{\"@\":{\"name\":\"Safari\",\"label\":\"Safari\",\"value\":null,\"dom\":null,\"enabled\":true,\"valid\":true,\"visible\":true,\"hint\":null,\"path\":\"/0\",\"x\":0,\"y\":20,\"width\":768,\"height\":1004},\">\":[{\"UIAWindow\":{\"@\":{\"name\":null,\"label\":n
info: Pushing command to appium work queue: "au.mainApp().getTreeForXML()"
debug: Sending command to instruments: au.mainApp().getTreeForXML()
info: [INSTSERVER] Sending command to instruments: au.mainApp().getTreeForXML()
info: [INSTSERVER] Socket data received (8188 bytes)
info: [INSTSERVER] Socket data received (8168 bytes)
info: [INSTSERVER] Socket data received (8190 bytes)
info: [INSTSERVER] Socket data received (1014 bytes)
info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":"{\"UIAApplication\":{\"@\":{\"name\":\"Safari\",\"label\":\"Safari\",\"value\":null,\"dom\":null,\"enabled\":true,\"valid\":true,\"visible\":true,\"hint\":null,\"path\":\"/0\",\"x\":0,\"y\":20,\"width\":768,\"height\":1004},\">\":[{\"UIAWindow\":{\"@\":{\"name\":null,\"label\":n
info: Pushing command to appium work queue: "au.mainApp().getTreeForXML()"
debug: Sending command to instruments: au.mainApp().getTreeForXML()
info: [INSTSERVER] Sending command to instruments: au.mainApp().getTreeForXML()
info: [INSTSERVER] Socket data received (8188 bytes)
info: [INSTSERVER] Socket data received (8168 bytes)
info: [INSTSERVER] Socket data received (8190 bytes)
info: [INSTSERVER] Socket data received (1014 bytes)
info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":"{\"UIAApplication\":{\"@\":{\"name\":\"Safari\",\"label\":\"Safari\",\"value\":null,\"dom\":null,\"enabled\":true,\"valid\":true,\"visible\":true,\"hint\":null,\"path\":\"/0\",\"x\":0,\"y\":20,\"width\":768,\"height\":1004},\">\":[{\"UIAWindow\":{\"@\":{\"name\":null,\"label\":n
info: Pushing command to appium work queue: "au.mainApp().getTreeForXML()"
debug: Sending command to instruments: au.mainApp().getTreeForXML()
info: [INSTSERVER] Sending command to instruments: au.mainApp().getTreeForXML()
info: [INSTSERVER] Socket data received (8188 bytes)
info: [INSTSERVER] Socket data received (8168 bytes)
info: [INSTSERVER] Socket data received (8190 bytes)
info: [INSTSERVER] Socket data received (1014 bytes)
info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":"{\"UIAApplication\":{\"@\":{\"name\":\"Safari\",\"label\":\"Safari\",\"value\":null,\"dom\":null,\"enabled\":true,\"valid\":true,\"visible\":true,\"hint\":null,\"path\":\"/0\",\"x\":0,\"y\":20,\"width\":768,\"height\":1004},\">\":[{\"UIAWindow\":{\"@\":{\"name\":null,\"label\":n
info: Pushing command to appium work queue: "au.mainApp().getTreeForXML()"
debug: Sending command to instruments: au.mainApp().getTreeForXML()
info: [INSTSERVER] Sending command to instruments: au.mainApp().getTreeForXML()
info: [INSTSERVER] Socket data received (8188 bytes)
info: [INSTSERVER] Socket data received (8168 bytes)
info: [INSTSERVER] Socket data received (8190 bytes)
info: [INSTSERVER] Socket data received (1014 bytes)
info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":"{\"UIAApplication\":{\"@\":{\"name\":\"Safari\",\"label\":\"Safari\",\"value\":null,\"dom\":null,\"enabled\":true,\"valid\":true,\"visible\":true,\"hint\":null,\"path\":\"/0\",\"x\":0,\"y\":20,\"width\":768,\"height\":1004},\">\":[{\"UIAWindow\":{\"@\":{\"name\":null,\"label\":n
info: Pushing command to appium work queue: "au.mainApp().getTreeForXML()"
debug: Sending command to instruments: au.mainApp().getTreeForXML()
info: [INSTSERVER] Sending command to instruments: au.mainApp().getTreeForXML()
info: [INSTSERVER] Socket data received (8188 bytes)
info: [INSTSERVER] Socket data received (8168 bytes)
info: [INSTSERVER] Socket data received (8190 bytes)
info: [INSTSERVER] Socket data received (1014 bytes)
info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":"{\"UIAApplication\":{\"@\":{\"name\":\"Safari\",\"label\":\"Safari\",\"value\":null,\"dom\":null,\"enabled\":true,\"valid\":true,\"visible\":true,\"hint\":null,\"path\":\"/0\",\"x\":0,\"y\":20,\"width\":768,\"height\":1004},\">\":[{\"UIAWindow\":{\"@\":{\"name\":null,\"label\":n
info: Pushing command to appium work queue: "au.mainApp().getTreeForXML()"
debug: Sending command to instruments: au.mainApp().getTreeForXML()
info: [INSTSERVER] Sending command to instruments: au.mainApp().getTreeForXML()
info: [INSTSERVER] Socket data received (8188 bytes)
info: [INSTSERVER] Socket data received (8168 bytes)
info: [INSTSERVER] Socket data received (8190 bytes)
info: [INSTSERVER] Socket data received (1014 bytes)
info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":"{\"UIAApplication\":{\"@\":{\"name\":\"Safari\",\"label\":\"Safari\",\"value\":null,\"dom\":null,\"enabled\":true,\"valid\":true,\"visible\":true,\"hint\":null,\"path\":\"/0\",\"x\":0,\"y\":20,\"width\":768,\"height\":1004},\">\":[{\"UIAWindow\":{\"@\":{\"name\":null,\"label\":n
error: Could not find button to click to get into webview. Proceeding on the assumption we have a working one.
info: Navigating to most recently opened webview
info: [REMOTE] Debugger socket connected to ::1:27753
info: [REMOTE] Sending connection key
debug: [REMOTE] Sending _rpc_reportIdentifier: message to remote debugger
debug: [REMOTE] {"__argument":{"WIRConnectionIdentifierKey":"212c9b4b-4774-49cf-a947-8374a9b61b6a"},"__selector":"_rpc_reportIdentifier:"}
debug: [REMOTE] Receiving data from remote debugger
debug: [REMOTE] Receiving data from remote debugger
debug: [REMOTE] {"__argument":{"WIRSimulatorBuildKey":"11D167","WIRSimulatorProductVersionKey":"7.1","WIRSimulatorNameKey":"iPad Simulator"},"__selector":"_rpc_reportSetup:"}
debug: [REMOTE] Sim name: iPad Simulator
debug: [REMOTE] Sim build: 11D167
debug: [REMOTE] {"__argument":{"WIRApplicationDictionaryKey":{"com.apple.mobilesafari":{"WIRApplicationNameKey":"Safari","WIRIsApplicationProxyKey":false,"WIRApplicationIdentifierKey":"com.apple.mobilesafari"}}},"__selector":"_rpc_reportConnectedApplicationList:"}
info: [REMOTE] Selecting app
debug: [REMOTE] Sending _rpc_forwardGetListing: message to remote debugger
debug: [REMOTE] {"__argument":{"WIRConnectionIdentifierKey":"212c9b4b-4774-49cf-a947-8374a9b61b6a","WIRApplicationIdentifierKey":"com.apple.mobilesafari"},"__selector":"_rpc_forwardGetListing:"}
debug: [REMOTE] Receiving data from remote debugger
debug: [REMOTE] Receiving data from remote debugger
debug: [REMOTE] {"__argument":{"WIRApplicationIdentifierKey":"com.apple.mobilesafari","WIRListingKey":{"1":{"WIRPageIdentifierKey":1,"WIRTitleKey":"Apple","WIRURLKey":"http://www.apple.com/"}}},"__selector":"_rpc_applicationSentListing:"}
info: Picking webview WEBVIEW_1
info: [REMOTE] Selecting page 1 and forwarding socket setup
debug: [REMOTE] Sending _rpc_forwardSocketSetup: message to remote debugger
debug: [REMOTE] {"__argument":{"WIRApplicationIdentifierKey":"com.apple.mobilesafari","WIRConnectionIdentifierKey":"212c9b4b-4774-49cf-a947-8374a9b61b6a","WIRSenderKey":"118eef94-c2f4-406b-a6ff-91bd0331eff2","WIRPageIdentifierKey":1},"__selector":"_rpc_forwardSocketSetup:"}
info: [REMOTE] Set sender key
debug: [REMOTE] Sending _rpc_forwardSocketData: message to remote debugger
debug: [REMOTE] Receiving data from remote debugger
debug: [REMOTE] got applicationSentData response
info: [REMOTE] Enabled activity on page
info: Device launched! Ready for commands
info: Setting command timeout to the default of 60 secs
info: Appium session started with sessionId 25c6104f-f29b-4db1-bcaf-d32e4290f1d7
POST /wd/hub/session 303 19614ms - 9b
debug: Appium request initiated at /wd/hub/session/25c6104f-f29b-4db1-bcaf-d32e4290f1d7
debug: Request received with params: {}
info: Responding to client with success: {"status":0,"value":{"webStorageEnabled":false,"locationContextEnabled":false,"browserName":"iOS","platform":"MAC","javascriptEnabled":true,"databaseEnabled":false,"takesScreenshot":true,"warnings":{},"desired":{"app":"safari","safariIgnoreFraudWarning":"false","autoAcceptAlerts":"false","deviceName":"iPad Simulator","browserName":"iOS"},"app":"safari","safariIgnoreFraudWarning":"false","autoAcceptAlerts":"false","deviceName":"iPad Simulator","safari":true},"sessionId":"25c6104f-f29b-4db1-bcaf-d32e4290f1d7"}
GET /wd/hub/session/25c6104f-f29b-4db1-bcaf-d32e4290f1d7 200 5ms - 658b
debug: Appium request initiated at /wd/hub/session/25c6104f-f29b-4db1-bcaf-d32e4290f1d7/cookie
debug: Request received with params: {}
info: [REMOTE] Executing 'execute_script' atom in default context
info: [REMOTE] Sending javascript command
debug: [REMOTE] Sending _rpc_forwardSocketData: message to remote debugger
debug: [REMOTE] Receiving data from remote debugger
debug: [REMOTE] Receiving data from remote debugger
debug: [REMOTE] got applicationSentData response
info: [REMOTE] Executing 'execute_script' atom in default context
info: [REMOTE] Sending javascript command
debug: [REMOTE] Sending _rpc_forwardSocketData: message to remote debugger
debug: [REMOTE] Receiving data from remote debugger
debug: [REMOTE] Receiving data from remote debugger
debug: [REMOTE] got applicationSentData response
info: [REMOTE] Executing 'execute_script' atom in default context
info: [REMOTE] Sending javascript command
debug: [REMOTE] Sending _rpc_forwardSocketData: message to remote debugger
debug: [REMOTE] Receiving data from remote debugger
debug: [REMOTE] Receiving data from remote debugger
debug: [REMOTE] got applicationSentData response
info: [REMOTE] Executing 'execute_script' atom in default context
info: [REMOTE] Sending javascript command
debug: [REMOTE] Sending _rpc_forwardSocketData: message to remote debugger
debug: [REMOTE] Receiving data from remote debugger
debug: [REMOTE] Receiving data from remote debugger
debug: [REMOTE] got applicationSentData response
info: [REMOTE] Executing 'execute_script' atom in default context
info: [REMOTE] Sending javascript command
debug: [REMOTE] Sending _rpc_forwardSocketData: message to remote debugger
debug: [REMOTE] Receiving data from remote debugger
debug: [REMOTE] got applicationSentData response
info: [REMOTE] Executing 'execute_script' atom in default context
info: [REMOTE] Sending javascript command
debug: [REMOTE] Sending _rpc_forwardSocketData: message to remote debugger
debug: [REMOTE] Receiving data from remote debugger
debug: [REMOTE] Receiving data from remote debugger
debug: [REMOTE] got applicationSentData response
info: [REMOTE] Executing 'execute_script' atom in default context
info: [REMOTE] Sending javascript command
debug: [REMOTE] Sending _rpc_forwardSocketData: message to remote debugger
debug: [REMOTE] Receiving data from remote debugger
debug: [REMOTE] Receiving data from remote debugger
debug: [REMOTE] got applicationSentData response
info: [REMOTE] Executing 'execute_script' atom in default context
info: [REMOTE] Sending javascript command
debug: [REMOTE] Sending _rpc_forwardSocketData: message to remote debugger
debug: [REMOTE] Receiving data from remote debugger
debug: [REMOTE] Receiving data from remote debugger
debug: [REMOTE] got applicationSentData response
info: [REMOTE] Executing 'execute_script' atom in default context
info: [REMOTE] Sending javascript command
debug: [REMOTE] Sending _rpc_forwardSocketData: message to remote debugger
debug: [REMOTE] Receiving data from remote debugger
debug: [REMOTE] got applicationSentData response
info: [REMOTE] Executing 'execute_script' atom in default context
info: [REMOTE] Sending javascript command
debug: [REMOTE] Sending _rpc_forwardSocketData: message to remote debugger
debug: [REMOTE] Receiving data from remote debugger
debug: [REMOTE] got applicationSentData response
info: [REMOTE] Executing 'execute_script' atom in default context
info: [REMOTE] Sending javascript command
debug: [REMOTE] Sending _rpc_forwardSocketData: message to remote debugger
debug: [REMOTE] Receiving data from remote debugger
debug: [REMOTE] Receiving data from remote debugger
debug: [REMOTE] got applicationSentData response
info: [REMOTE] Executing 'execute_script' atom in default context
info: [REMOTE] Sending javascript command
debug: [REMOTE] Sending _rpc_forwardSocketData: message to remote debugger
debug: [REMOTE] Receiving data from remote debugger
debug: [REMOTE] Receiving data from remote debugger
debug: [REMOTE] got applicationSentData response
info: [REMOTE] Executing 'execute_script' atom in default context
info: [REMOTE] Sending javascript command
debug: [REMOTE] Sending _rpc_forwardSocketData: message to remote debugger
debug: [REMOTE] Receiving data from remote debugger
debug: [REMOTE] got applicationSentData response
info: Responding to client with success: {"status":0,"value":true,"sessionId":"25c6104f-f29b-4db1-bcaf-d32e4290f1d7"}
DELETE /wd/hub/session/25c6104f-f29b-4db1-bcaf-d32e4290f1d7/cookie 200 82ms - 89b
debug: [REMOTE] Receiving data from remote debugger
debug: [REMOTE] {"__argument":{"WIRApplicationIdentifierKey":"com.apple.mobilesafari","WIRListingKey":{"1":{"WIRTitleKey":"Apple","WIRURLKey":"http://www.apple.com/","WIRPageIdentifierKey":1,"WIRConnectionIdentifierKey":"212c9b4b-4774-49cf-a947-8374a9b61b6a"}}},"__selector":"_rpc_applicationSentListing:"}
info: Remote debugger notified us of a new page listing
info: New page listing is same as old, doing nothing
debug: Appium request initiated at /wd/hub/session/25c6104f-f29b-4db1-bcaf-d32e4290f1d7/cookie
debug: Request received with params: {}
info: [REMOTE] Executing 'execute_script' atom in default context
info: [REMOTE] Sending javascript command
debug: [REMOTE] Sending _rpc_forwardSocketData: message to remote debugger
debug: [REMOTE] Receiving data from remote debugger
debug: [REMOTE] Receiving data from remote debugger
debug: [REMOTE] got applicationSentData response
info: Responding to client with success: 

==========================================================================================================================

Isaac Murchie

unread,
Jul 2, 2014, 7:12:27 PM7/2/14
to Ram, appium-...@googlegroups.com
Hmm. The remote debugger seems to think it deleted the cookies. I'm not sure why it isn't.
Reply all
Reply to author
Forward
0 new messages