Skip to content

Instantly share code, notes, and snippets.

@jmccrary1
Created July 15, 2018 00:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmccrary1/2012e1aa8f4d5d3dbae73c42aecba252 to your computer and use it in GitHub Desktop.
Save jmccrary1/2012e1aa8f4d5d3dbae73c42aecba252 to your computer and use it in GitHub Desktop.
Appium - SalesForce - Appium Logs
[info] [Appium] Welcome to Appium v1.8.1
[info] [Appium] Appium REST http interface listener started on 0.0.0.0:4723[info] [HTTP] --> POST /wd/hub/session
[info] [HTTP] {"desiredCapabilities":{"networkConnectionEnabled":true,"acceptSslCerts":true,"platformVersion":"11.4","autoWebView":true,"bundleId":"com.salesforce.chatter","app-activity":"com.salesforce.chatter","platformName":"iOS","startIWDP":true,"udid":"46f1cebeacb4712698c2897ee2160a5fafca80ee","deviceName":"Justin's iPhone"},"capabilities":{"desiredCapabilities":{"networkConnectionEnabled":true,"acceptSslCerts":true,"platformVersion":"11.4","autoWebView":true,"bundleId":"com.salesforce.chatter","app-activity":"com.salesforce.chatter","platformName":"iOS","startIWDP":true,"udid":"46f1cebeacb4712698c2897ee2160a5fafca80ee","deviceName":"Justin's iPhone"},"firstMatch":[{"acceptSslCerts":true,"app-activity":"com.salesforce.chatter","autoWebView":true,"appium:bundleId":"com.salesforce.chatter","appium:deviceName":"Justin's iPhone","networkConnectionEnabled":true,"platformName":"ios","appium:platformVersion":"11.4","appium:startIWDP":true,"appium:udid":"46f1cebeacb4712698c2897ee2160a5fafca80ee"}]}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"networkConnectionEnabled":true,"acceptSslCerts":true,"platformVersion":"11.4","autoWebView":true,"bundleId":"com.salesforce.chatter","app-activity":"com.salesforce.chatter","platformName":"iOS","startIWDP":true,"udid":"46f1cebeacb4712698c2897ee2160a5fafca80ee","deviceName":"Justin's iPhone"},null,{"desiredCapabilities":{"networkConnectionEnabled":true,"acceptSslCerts":true,"platformVersion":"11.4","autoWebView":true,"bundleId":"com.salesforce.chatter","app-activity":"com.salesforce.chatter","platformName":"iOS","startIWDP":true,"udid":"46f1cebeacb4712698c2897ee2160a5fafca80ee","deviceName":"Justin's iPhone"},"firstMatch":[{"acceptSslCerts":true,"app-activity":"com.salesforce.chatter","autoWebView":true,"appium:bundleId":"com.salesforce.chatter","appium:deviceName":"Justin's iPhone","networkConnectionEnabled":true,"platformName":"ios","appium:platformVersion":"11.4","appium:startIWDP":true,"appium:udid":"46f1cebeacb4712698c2897ee2160a5fafca80ee"}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1531612735616 (19:58:55 GMT-0400 (EDT))
[warn] [BaseDriver] The capabilities ["acceptSslCerts","app-activity","autoWebView","networkConnectionEnabled"] are not standard capabilities and should have an extension prefix
[info] [Appium] Requested iOS support with version >= 10, using 'xcuitest' driver instead of UIAutomation-based driver, since the latter is unsupported on iOS 10 and up.
[info] [Appium] Creating new XCUITestDriver (v2.84.0) session
[info] [Appium] Capabilities:
[info] [Appium] acceptSslCerts: true
[info] [Appium] app-activity: com.salesforce.chatter
[info] [Appium] autoWebView: true
[info] [Appium] networkConnectionEnabled: true
[info] [Appium] platformName: ios
[info] [Appium] bundleId: com.salesforce.chatter
[info] [Appium] deviceName: Justin's iPhone
[info] [Appium] platformVersion: 11.4
[info] [Appium] startIWDP: true
[info] [Appium] udid: 46f1cebeacb4712698c2897ee2160a5fafca80ee
[debug] [BaseDriver] W3C capabilities {"alwaysMatch":{"appium:acc... and MJSONWP desired capabilities [object Object] were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"appium:acc...
[warn] [BaseDriver] The following capabilities were provided, but are not recognized by appium: acceptSslCerts, app-activity, autoWebView, networkConnectionEnabled.
[info] [BaseDriver] Session created with session id: 1aa7b6a8-7dd9-4693-993d-1f74c344d2a5
[debug] [XCUITest] Current user: 'justin'[debug] [XCUITest] Xcode version set to '9.4.1' (tools v9.4.1.0.1.1528165917)
[debug] [XCUITest] iOS SDK Version set to '11.4'
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1531612735828 (19:58:55 GMT-0400 (EDT))[debug] [XCUITest] Available devices: 46f1cebeacb4712698c2897ee2160a5fafca80ee
[debug] [XCUITest] Creating iDevice object with udid '46f1cebeacb4712698c2897ee2160a5fafca80ee'
[info] [XCUITest] Determining device to run tests on: udid: '46f1cebeacb4712698c2897ee2160a5fafca80ee', real device: true
[debug] [BaseDriver] Event 'appConfigured' logged at 1531612736023 (19:58:56 GMT-0400 (EDT))
[debug] [BaseDriver] Event 'resetStarted' logged at 1531612736023 (19:58:56 GMT-0400 (EDT))
[debug] [XCUITest] Reset: running ios real device reset flow
[debug] [BaseDriver] Event 'resetComplete' logged at 1531612736024 (19:58:56 GMT-0400 (EDT))
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Starting iOS device log capture with: 'idevicesyslog'
[debug] [XCUITest] Crash reports root '/Users/justin/Library/Logs/CrashReporter/MobileDevice/Justin’s iPhone' does not exist. Got nothing to gather.
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1531612736166 (19:58:56 GMT-0400 (EDT))
[info] [XCUITest] Setting up real device[info] [XCUITest] Using WDA path: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[info] [XCUITest] Using WDA agent: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj'
[debug] [XCUITest] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"state\" : \"success\",\n \"os\" : {\n \"name\" : \"iOS\",\n \"version\" : \"11.4.1\"\n },\n \"ios\" : {\n \"simulatorVersion\" : \"11.4.1\",\n \"ip\" : \"192.168.2.161\"\n },\n \"build\" : {\n \"time\" : \"Jul 13 2018 13:27:26\"\n }\n },\n \"sessionId\" : \"9717F051-599D-4B76-92DB-58AF3DDF0266\",\n \"status\" : 0\n}"
[info] [XCUITest] Will reuse previously cached WDA instance at 'http://localhost:8100/'. Set the wdaLocalPort capability to a value different from 8100 if this is an undesired behavior.
[debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1531612736432 (19:58:56 GMT-0400 (EDT))
[info] [XCUITest] Using provided WebdriverAgent at 'http://localhost:8100/'
[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1531612736434 (19:58:56 GMT-0400 (EDT))
[debug] [XCUITest] Sending createSession command to WDA
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"state\" : \"success\",\n \"os\" : {\n \"name\" : \"iOS\",\n \"version\" : \"11.4.1\"\n },\n \"ios\" : {\n \"simulatorVersion\" : \"11.4.1\",\n \"ip\" : \"192.168.2.161\"\n },\n \"build\" : {\n \"time\" : \"Jul 13 2018 13:27:26\"\n }\n },\n \"sessionId\" : \"9717F051-599D-4B76-92DB-58AF3DDF0266\",\n \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"desiredCapabilities":{"bundleId":"com.salesforce.chatter","arguments":[],"environment":{},"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}}[debug] [JSONWP Proxy] Got response with status 200: {"value":{"sessionId":"299B79F8-D564-4894-B64C-B6F96E61DEC6","capabilities":{"device":"iphone","browserName":"Salesforce","sdkVersion":"11.4.1","CFBundleIdentifier":"com.salesforce.chatter"}},"sessionId":"299B79F8-D564-4894-B64C-B6F96E61DEC6","status":0}
[debug] [BaseDriver] Event 'wdaSessionStarted' logged at 1531612738460 (19:58:58 GMT-0400 (EDT))
[debug] [BaseDriver] Event 'wdaStarted' logged at 1531612738460 (19:58:58 GMT-0400 (EDT))
[info] [XCUITest] Skipping setting of the initial display orientation. Set the "orientation" capability to either "LANDSCAPE" or "PORTRAIT", if this is an undesired behavior.
[debug] [BaseDriver] Event 'orientationSet' logged at 1531612738461 (19:58:58 GMT-0400 (EDT))
[debug] [BaseDriver] Event 'iwdpStarting' logged at 1531612738462 (19:58:58 GMT-0400 (EDT))
[debug] [iOS] Starting ios_webkit_debug_proxy at port 27753 on device 46f1cebeacb4712698c2897ee2160a5fafca80ee[debug] [BaseDriver] Event 'iwdpStarted' logged at 1531612738982 (19:58:58 GMT-0400 (EDT))
[debug] [XCUITest] Started ios_webkit_debug proxy server at: http://localhost:27753
[info] [Appium] New XCUITestDriver session created successfully, session 1aa7b6a8-7dd9-4693-993d-1f74c344d2a5 added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1531612738984 (19:58:58 GMT-0400 (EDT))
[debug] [W3C] Responding to client with driver.createSession() result: {"capabilities":{"webStorageEnabled":false,"locationContextEnabled":false,"browserName":"","platform":"MAC","javascriptEnabled":true,"databaseEnabled":false,"takesScreenshot":true,"networkConnectionEnabled":true,"platformName":"ios","acceptSslCerts":true,"app-activity":"com.salesforce.chatter","autoWebView":true,"bundleId":"com.salesforce.chatter","deviceName":"Justin's iPhone","platformVersion":"11.4","startIWDP":true,"udid":"46f1cebeacb4712698c2897ee2160a5fafca80ee"}}
[info] [HTTP] <-- POST /wd/hub/session 200 3373 ms - 535
[info] [HTTP] [info] [HTTP] --> GET /wd/hub/session/1aa7b6a8-7dd9-4693-993d-1f74c344d2a5
[info] [HTTP] {}
[debug] [W3C] Calling AppiumDriver.getSession() with args: ["1aa7b6a8-7dd9-4693-993d-1f74c344d2a5"]
[debug] [XCUITest] Executing command 'getSession'
[debug] [JSONWP Proxy] Proxying [GET /] to [GET http://localhost:8100/session/299B79F8-D564-4894-B64C-B6F96E61DEC6] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"sessionId\" : \"299B79F8-D564-4894-B64C-B6F96E61DEC6\",\n \"capabilities\" : {\n \"device\" : \"iphone\",\n \"browserName\" : \"Salesforce\",\n \"sdkVersion\" : \"11.4.1\",\n \"CFBundleIdentifier\" : \"com.salesforce.chatter\"\n }\n },\n \"sessionId\" : \"299B79F8-D564-4894-B64C-B6F96E61DEC6\",\n \"status\" : 0\n}"
[info] [XCUITest] Merging WDA caps over Appium caps for session detail response
[debug] [JSONWP Proxy] Proxying [GET /wda/screen] to [GET http://localhost:8100/session/299B79F8-D564-4894-B64C-B6F96E61DEC6/wda/screen] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : \"Unhandled endpoint: \\/session\\/299B79F8-D564-4894-B64C-B6F96E61DEC6\\/wda\\/screen -- http:\\/\\/localhost:8100\\/ with parameters {\\n wildcards = (\\n \\\"session\\/299B79F8-D564-4894-B64C-B6F96E61DEC6\\/wda\\/screen\\\"\\n );\\n}\",\n \"sessionId\" : \"299B79F8-D564-4894-B64C-B6F96E61DEC6\",\n \"status\" : 1\n}"
[debug] [MJSONWP] Matched JSONWP error code 1 to UnknownError
[info] [HTTP] <-- GET /wd/hub/session/1aa7b6a8-7dd9-4693-993d-1f74c344d2a5 500 107 ms - 1895
[info] [HTTP]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment